Skip to content

Commit

Permalink
archivers/ark-devel: new port -- Ark 24.02-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
tcberner committed Dec 3, 2023
1 parent ed96749 commit 534baaf
Show file tree
Hide file tree
Showing 6 changed files with 177 additions and 0 deletions.
1 change: 1 addition & 0 deletions archivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
SUBDIR += arc
SUBDIR += arj
SUBDIR += ark
SUBDIR += ark-devel
SUBDIR += atool
SUBDIR += bicom
SUBDIR += brotli
Expand Down
49 changes: 49 additions & 0 deletions archivers/ark-devel/Makefile
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions archivers/ark-devel/distinfo
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions archivers/ark-devel/pkg-descr
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 10 additions & 0 deletions archivers/ark-devel/pkg-message
Original file line number Diff line number Diff line change
@@ -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
}
]
106 changes: 106 additions & 0 deletions archivers/ark-devel/pkg-plist
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 534baaf

Please sign in to comment.