git: 687ac26b32a7 - main - graphics/kphotoalbum: make Marble integration optional

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 14 Nov 2024 20:38:04 UTC
The branch main has been updated by fluffy:

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

commit 687ac26b32a7dfbd607f5fd125550277ff6c35aa
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-11-14 20:35:56 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-11-14 20:37:49 +0000

    graphics/kphotoalbum: make Marble integration optional
    
    Sponsored by:   Future Crew, LLC
---
 graphics/kphotoalbum/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/graphics/kphotoalbum/Makefile b/graphics/kphotoalbum/Makefile
index 06693bbfd644..485029ebbe6c 100644
--- a/graphics/kphotoalbum/Makefile
+++ b/graphics/kphotoalbum/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libexiv2.so:graphics/exiv2 \
 USES=		cmake compiler:c++11-lang desktop-file-utils jpeg kde:5 \
 		pkgconfig qt:5 shebangfix tar:xz xorg
 USE_KDE=	archive auth codecs completion config configwidgets coreaddons \
-		i18n iconthemes jobwidgets kio libkdcraw marble phonon purpose service solid \
+		i18n iconthemes jobwidgets kio libkdcraw phonon purpose service solid \
 		sonnet textwidgets widgetsaddons windowsystem xmlgui \
 		ecm:build
 USE_QT=		concurrent core dbus declarative gui location network \
@@ -26,10 +26,15 @@ USE_QT=		concurrent core dbus declarative gui location network \
 USE_XORG=	x11
 SHEBANG_FILES=	scripts/open-raw.pl scripts/kpa-backup.sh
 
-OPTIONS_DEFINE=	WEBENGINE
+OPTIONS_DEFINE=	MARBLE WEBENGINE
+OPTIONS_DEFAULT=MARBLE
 OPTIONS_DEFAULT_amd64=	WEBENGINE
 OPTIONS_DEFAULT_i386=	WEBENGINE
 
+MARBLE_DESC=	Virtual globe and world atlas
+MARBLE_USE=	kde=marble
+MARBLE_CMAKE_OFF=	-DMarble_FOUND:BOOL=OFF
+
 WEBENGINE_DESC=	Add dependency on qt5-webengine
 WEBENGINE_USE=	QT=webengine