git: 384cd105eb90 - main - devel/kio-extras: Add option to hande AFC (Apple File Conduit) KIO worker (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Jun 2023 16:05:49 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=384cd105eb90ef655bd1361f7f3d2b0daa20fd4a
commit 384cd105eb90ef655bd1361f7f3d2b0daa20fd4a
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-06-07 15:57:22 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-06-07 16:05:41 +0000
devel/kio-extras: Add option to hande AFC (Apple File Conduit) KIO worker (+)
Currently AFC dependencies hiddenly comes from devel/kf5-solid if it built with
libimobiledevice support but no libraries comes to package due to be missed in plist.
Declare a new options knob to handle AFC support direcly in kio port.
Reported by: poudriere failure
Sponsored by: Serenity Cybersecurity, LLC
---
devel/kio-extras/Makefile | 12 +++++++++---
devel/kio-extras/pkg-plist | 3 +++
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/devel/kio-extras/Makefile b/devel/kio-extras/Makefile
index 97038c9034c7..c22964ed9cb3 100644
--- a/devel/kio-extras/Makefile
+++ b/devel/kio-extras/Makefile
@@ -1,6 +1,6 @@
PORTNAME= kio-extras
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel kde kde-applications
MAINTAINER= kde@FreeBSD.org
@@ -29,14 +29,20 @@ SHEBANG_FILES= info/kde-info2html
# CVE-2018-19120
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidget
-OPTIONS_DEFINE= SAMBA MTP EXR EXIV SLP SSH TAGLIB DOCS
-OPTIONS_DEFAULT=SAMBA MTP EXR EXIV SLP SSH TAGLIB
+OPTIONS_DEFINE= SAMBA AFC MTP EXR EXIV SLP SSH TAGLIB DOCS
+OPTIONS_DEFAULT= SAMBA AFC MTP EXR EXIV SLP SSH TAGLIB
OPTIONS_SUB= yes
SAMBA_DESC= Needed to build the SMB kioslave
SAMBA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Samba
SAMBA_USES= samba:lib
+AFC_DESC= Needed to build AFC (Apple File Conduit) kioslave
+AFC_LIB_DEPENDS= libimobiledevice-1.0.so:comms/libimobiledevice \
+ libplist-2.0.so:devel/libplist
+AFC_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_IMobileDevice \
+ CMAKE_DISABLE_FIND_PACKAGE_PList
+
MTP_DESC= Needed to build the MTP kioslave
MTP_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Mtp
MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp
diff --git a/devel/kio-extras/pkg-plist b/devel/kio-extras/pkg-plist
index 0c8bd3bb8d9a..35c8e46d9701 100644
--- a/devel/kio-extras/pkg-plist
+++ b/devel/kio-extras/pkg-plist
@@ -13,6 +13,7 @@ lib/libkioarchive.so.5.97.0
%%QT_PLUGINDIR%%/kf5/kfileitemaction/kactivitymanagerd_fileitem_linking_plugin.so
%%QT_PLUGINDIR%%/kf5/kio/about.so
%%QT_PLUGINDIR%%/kf5/kio/activities.so
+%%AFC%%%%QT_PLUGINDIR%%/kf5/kio/afc.so
%%QT_PLUGINDIR%%/kf5/kio/archive.so
%%QT_PLUGINDIR%%/kf5/kio/bookmarks.so
%%QT_PLUGINDIR%%/kf5/kio/filter.so
@@ -1113,6 +1114,8 @@ share/locale/zh_TW/LC_MESSAGES/kio5_thumbnail.mo
%%SAMBA%%share/mime/packages/org.kde.kio.smb.xml
share/qlogging-categories5/kio-extras.categories
share/qlogging-categories5/kio-extras.renamecategories
+%%AFC%%share/remoteview/afc-network.desktop
%%MTP%%share/remoteview/mtp-network.desktop
%%SAMBA%%share/remoteview/smb-network.desktop
+%%AFC%%share/solid/actions/solid_afc.desktop
%%MTP%%share/solid/actions/solid_mtp.desktop