git: 534baafe6bce - main - archivers/ark-devel: new port -- Ark 24.02-beta1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Dec 2023 20:12:50 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=534baafe6bce81562f135baad045fb739db53864 commit 534baafe6bce81562f135baad045fb739db53864 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2023-12-03 20:04:54 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-12-03 20:04:54 +0000 archivers/ark-devel: new port -- Ark 24.02-beta1 --- archivers/Makefile | 1 + archivers/ark-devel/Makefile | 49 +++++++++++++++++++ archivers/ark-devel/distinfo | 3 ++ archivers/ark-devel/pkg-descr | 8 +++ archivers/ark-devel/pkg-message | 10 ++++ archivers/ark-devel/pkg-plist | 106 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 177 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index e21e98936db2..929c9368949c 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -10,6 +10,7 @@ SUBDIR += arc SUBDIR += arj SUBDIR += ark + SUBDIR += ark-devel SUBDIR += atool SUBDIR += bicom SUBDIR += brotli diff --git a/archivers/ark-devel/Makefile b/archivers/ark-devel/Makefile new file mode 100644 index 000000000000..32c67cb13169 --- /dev/null +++ b/archivers/ark-devel/Makefile @@ -0,0 +1,49 @@ +PORTNAME= ark +DISTVERSION= ${KDE_APPLICATIONS_VERSION} +CATEGORIES= archivers kde kde-applications + +MAINTAINER= kde@FreeBSD.org +COMMENT= Archiving tool for KDE +WWW= https://utils.kde.org/projects/ark/ + +LICENSE= GPLv2+ + +USES= cmake compiler:c++11-lang cpe desktop-file-utils gettext gl \ + kde:6 libarchive qt:6 tar:xz xorg +USE_KDE= archive auth bookmarks codecs completion config configwidgets \ + coreaddons crash dbusaddons doctools i18n iconthemes \ + itemmodels itemviews jobwidgets kio parts pty service solid \ + sonnet textwidgets widgetsaddons windowsystem xmlgui \ + ecm:build +USE_GL= gl opengl +USE_QT= base +USE_XORG= x11 +USE_LDCONFIG= yes + +CMAKE_ARGS= -DQT_MAJOR_VERSION=6 + +PATCH_STRIP= -p1 + +OPTIONS_DEFINE= 7ZIP DOCS RAR ZIP +OPTIONS_DEFAULT= 7ZIP DOCS ZIP +OPTIONS_DEFAULT_i386= RAR +OPTIONS_DEFAULT_amd64= RAR +OPTIONS_SUB= YES + +# The 7ZIP and RAR options only need runtime dependencies; +# the port builds identically with or without them. +7ZIP_DESC= Support for 7-Zip archives (runtime) +7ZIP_RUN_DEPENDS= 7zz:archivers/7-zip + +RAR_DESC= Support for RAR archives (runtime) +RAR_RUN_DEPENDS= rar:archivers/rar \ + unrar:archivers/unrar + +ZIP_DESC= Support for ZIP archives +ZIP_LIB_DEPENDS= libzip.so:archivers/libzip +ZIP_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_LibZip + +# Override shared library version +KDE_APPLICATIONS_SHLIB_VER= ${KDE_APPLICATIONS_VERSION} + +.include <bsd.port.mk> diff --git a/archivers/ark-devel/distinfo b/archivers/ark-devel/distinfo new file mode 100644 index 000000000000..15e53d0f9052 --- /dev/null +++ b/archivers/ark-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1701633299 +SHA256 (KDE/release-service/24.01.80/ark-24.01.80.tar.xz) = 0d7481b15c79268a4e5eb61b7ef44f0ba7932bbdfa0a4b6bf664ee4b0e852370 +SIZE (KDE/release-service/24.01.80/ark-24.01.80.tar.xz) = 3020880 diff --git a/archivers/ark-devel/pkg-descr b/archivers/ark-devel/pkg-descr new file mode 100644 index 000000000000..28f80c3285ae --- /dev/null +++ b/archivers/ark-devel/pkg-descr @@ -0,0 +1,8 @@ +Ark is a program for managing various archive formats within the KDE +environment. + +Archives can be viewed, extracted, created and modified from within +Ark. The program can handle various formats such as tar, gzip, bzip2, +zip, rar and lha (if appropriate command-line programs are +installed). Ark can work closely with Konqueror and Dolphin in +a KDE Plasma environment to handle archives. diff --git a/archivers/ark-devel/pkg-message b/archivers/ark-devel/pkg-message new file mode 100644 index 000000000000..1a56cbe9881f --- /dev/null +++ b/archivers/ark-devel/pkg-message @@ -0,0 +1,10 @@ +[ +{ type: install + message: <<EOM +Support for 7zip and rar archives requires the appropriate executables. +If ark has been packaged without options 7ZIP or RAR, you can install +archivers/7-zip (for 7ZIP) or archivers/unrar and archivers/rar (for RAR) +to allow ark to handle those archives. +EOM +} +] diff --git a/archivers/ark-devel/pkg-plist b/archivers/ark-devel/pkg-plist new file mode 100644 index 000000000000..cb9af0058d06 --- /dev/null +++ b/archivers/ark-devel/pkg-plist @@ -0,0 +1,106 @@ +bin/ark +etc/xdg/arkrc +lib/libkerfuffle.so.%%KDE_APPLICATIONS_VERSION_SHORT%% +lib/libkerfuffle.so.%%KDE_APPLICATIONS_SHLIB_VER%% +%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_cli7z.so +%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_cliarj.so +%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_clirar.so +%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_cliunarchiver.so +%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_clizip.so +%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_libarchive.so +%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_libarchive_readonly.so +%%ZIP%%%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_libzip.so +%%QT_PLUGINDIR%%/kf6/kfileitemaction/compressfileitemaction.so +%%QT_PLUGINDIR%%/kf6/kfileitemaction/extractfileitemaction.so +%%QT_PLUGINDIR%%/kf6/kio_dnd/extracthere.so +%%QT_PLUGINDIR%%/kf6/parts/arkpart.so +man/man1/ark.1.gz +share/applications/org.kde.ark.desktop +share/config.kcfg/ark.kcfg +share/icons/hicolor/128x128/apps/ark.png +share/icons/hicolor/48x48/apps/ark.png +share/icons/hicolor/64x64/apps/ark.png +share/icons/hicolor/scalable/apps/ark.svgz +share/kconf_update/ark.upd +share/kconf_update/ark_add_hamburgermenu_to_toolbar.sh +share/locale/af/LC_MESSAGES/ark.mo +share/locale/ar/LC_MESSAGES/ark.mo +share/locale/ast/LC_MESSAGES/ark.mo +share/locale/az/LC_MESSAGES/ark.mo +share/locale/be/LC_MESSAGES/ark.mo +share/locale/bg/LC_MESSAGES/ark.mo +share/locale/br/LC_MESSAGES/ark.mo +share/locale/bs/LC_MESSAGES/ark.mo +share/locale/ca/LC_MESSAGES/ark.mo +share/locale/ca@valencia/LC_MESSAGES/ark.mo +share/locale/cs/LC_MESSAGES/ark.mo +share/locale/cy/LC_MESSAGES/ark.mo +share/locale/da/LC_MESSAGES/ark.mo +share/locale/de/LC_MESSAGES/ark.mo +share/locale/el/LC_MESSAGES/ark.mo +share/locale/en_GB/LC_MESSAGES/ark.mo +share/locale/eo/LC_MESSAGES/ark.mo +share/locale/es/LC_MESSAGES/ark.mo +share/locale/et/LC_MESSAGES/ark.mo +share/locale/eu/LC_MESSAGES/ark.mo +share/locale/fa/LC_MESSAGES/ark.mo +share/locale/fi/LC_MESSAGES/ark.mo +share/locale/fr/LC_MESSAGES/ark.mo +share/locale/ga/LC_MESSAGES/ark.mo +share/locale/gl/LC_MESSAGES/ark.mo +share/locale/he/LC_MESSAGES/ark.mo +share/locale/hi/LC_MESSAGES/ark.mo +share/locale/hne/LC_MESSAGES/ark.mo +share/locale/hr/LC_MESSAGES/ark.mo +share/locale/hu/LC_MESSAGES/ark.mo +share/locale/ia/LC_MESSAGES/ark.mo +share/locale/id/LC_MESSAGES/ark.mo +share/locale/ie/LC_MESSAGES/ark.mo +share/locale/is/LC_MESSAGES/ark.mo +share/locale/it/LC_MESSAGES/ark.mo +share/locale/ja/LC_MESSAGES/ark.mo +share/locale/ka/LC_MESSAGES/ark.mo +share/locale/kk/LC_MESSAGES/ark.mo +share/locale/km/LC_MESSAGES/ark.mo +share/locale/ko/LC_MESSAGES/ark.mo +share/locale/ku/LC_MESSAGES/ark.mo +share/locale/lt/LC_MESSAGES/ark.mo +share/locale/lv/LC_MESSAGES/ark.mo +share/locale/mk/LC_MESSAGES/ark.mo +share/locale/mr/LC_MESSAGES/ark.mo +share/locale/ms/LC_MESSAGES/ark.mo +share/locale/nb/LC_MESSAGES/ark.mo +share/locale/nds/LC_MESSAGES/ark.mo +share/locale/ne/LC_MESSAGES/ark.mo +share/locale/nl/LC_MESSAGES/ark.mo +share/locale/nn/LC_MESSAGES/ark.mo +share/locale/oc/LC_MESSAGES/ark.mo +share/locale/pa/LC_MESSAGES/ark.mo +share/locale/pl/LC_MESSAGES/ark.mo +share/locale/pt/LC_MESSAGES/ark.mo +share/locale/pt_BR/LC_MESSAGES/ark.mo +share/locale/ro/LC_MESSAGES/ark.mo +share/locale/ru/LC_MESSAGES/ark.mo +share/locale/se/LC_MESSAGES/ark.mo +share/locale/sk/LC_MESSAGES/ark.mo +share/locale/sl/LC_MESSAGES/ark.mo +share/locale/sq/LC_MESSAGES/ark.mo +share/locale/sr/LC_MESSAGES/ark.mo +share/locale/sr@ijekavian/LC_MESSAGES/ark.mo +share/locale/sr@ijekavianlatin/LC_MESSAGES/ark.mo +share/locale/sr@latin/LC_MESSAGES/ark.mo +share/locale/sv/LC_MESSAGES/ark.mo +share/locale/ta/LC_MESSAGES/ark.mo +share/locale/tg/LC_MESSAGES/ark.mo +share/locale/th/LC_MESSAGES/ark.mo +share/locale/tr/LC_MESSAGES/ark.mo +share/locale/ug/LC_MESSAGES/ark.mo +share/locale/uk/LC_MESSAGES/ark.mo +share/locale/uz/LC_MESSAGES/ark.mo +share/locale/uz@cyrillic/LC_MESSAGES/ark.mo +share/locale/xh/LC_MESSAGES/ark.mo +share/locale/zh_CN/LC_MESSAGES/ark.mo +share/locale/zh_HK/LC_MESSAGES/ark.mo +share/locale/zh_TW/LC_MESSAGES/ark.mo +share/metainfo/org.kde.ark.appdata.xml +share/qlogging-categories6/ark.categories