git: aafdc3b53dcb - main - graphics/kf5-prison: explicitely add optional dependencies

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sat, 21 May 2022 17:11:25 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aafdc3b53dcbb4228ccdc39d1d7d6220b143ed39

commit aafdc3b53dcbb4228ccdc39d1d7d6220b143ed39
Author:     Martin Birgmeier <d8zNeCFG@aon.at>
AuthorDate: 2022-05-21 17:03:53 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-05-21 17:11:07 +0000

    graphics/kf5-prison: explicitely add optional dependencies
    
    - enable dependency on zxing (video barcode scanning)
    - enable dependency on qt5-multimedia
    
    PR:     264119
---
 graphics/kf5-prison/Makefile  |  6 ++++--
 graphics/kf5-prison/pkg-plist | 12 ++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/graphics/kf5-prison/Makefile b/graphics/kf5-prison/Makefile
index 8afd3f384778..c6250ae0a758 100644
--- a/graphics/kf5-prison/Makefile
+++ b/graphics/kf5-prison/Makefile
@@ -1,16 +1,18 @@
 PORTNAME=	prison
 DISTVERSION=	${KDE_FRAMEWORKS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	graphics kde kde-frameworks
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	API to produce barcodes
 
 LIB_DEPENDS=	libdmtx.so:graphics/libdmtx \
-		libqrencode.so:graphics/libqrencode
+		libqrencode.so:graphics/libqrencode \
+		libZXing.so:textproc/zxing-cpp
 
 USES=		cmake compiler:c++11-lang kde:5 qt:5 tar:xz
 USE_KDE=	ecm_build
-USE_QT=		core declarative gui network widgets \
+USE_QT=		core declarative gui multimedia network widgets \
 		buildtools_build qmake_build testlib_build
 
 .include <bsd.port.mk>
diff --git a/graphics/kf5-prison/pkg-plist b/graphics/kf5-prison/pkg-plist
index 650954fe9d8c..e37ab47d8da0 100644
--- a/graphics/kf5-prison/pkg-plist
+++ b/graphics/kf5-prison/pkg-plist
@@ -5,6 +5,13 @@ include/KF5/Prison/prison/prison.h
 include/KF5/Prison/prison/prison_export.h
 include/KF5/Prison/prison/prison_version.h
 include/KF5/Prison/prison_version.h
+include/KF5/PrisonScanner/Prison/Format
+include/KF5/PrisonScanner/prison/format.h
+include/KF5/PrisonScanner/prison/prisonscanner_export.h
+include/KF5/PrisonScanner/Prison/ScanResult
+include/KF5/PrisonScanner/prison/scanresult.h
+include/KF5/PrisonScanner/Prison/VideoScanner
+include/KF5/PrisonScanner/prison/videoscanner.h
 lib/cmake/KF5Prison/KF5PrisonConfig.cmake
 lib/cmake/KF5Prison/KF5PrisonConfigVersion.cmake
 lib/cmake/KF5Prison/KF5PrisonTargets-%%CMAKE_BUILD_TYPE%%.cmake
@@ -12,8 +19,13 @@ lib/cmake/KF5Prison/KF5PrisonTargets.cmake
 lib/libKF5Prison.so
 lib/libKF5Prison.so.5
 lib/libKF5Prison.so.%%KDE_FRAMEWORKS_VERSION%%
+lib/libKF5PrisonScanner.so
+lib/libKF5PrisonScanner.so.5
+lib/libKF5PrisonScanner.so.%%KDE_FRAMEWORKS_VERSION%%
 %%QT_MKSPECDIR%%/modules/qt_Prison.pri
 %%QT_QMLDIR%%/org/kde/prison/libprisonquickplugin.so
 %%QT_QMLDIR%%/org/kde/prison/qmldir
+%%QT_QMLDIR%%/org/kde/prison/scanner/libprisonscannerquickplugin.so
+%%QT_QMLDIR%%/org/kde/prison/scanner/qmldir
 share/qlogging-categories5/prison.categories
 share/qlogging-categories5/prison.renamecategories