forked from Lainports/freebsd-ports
graphics/kphotoalbum: Remove WEBENGINE option
With the addition of the MARBLE option in 687ac26b32, we can be a bit
more clever. Various Qt components are only linked to if the MARBLE
option is enabled and the WEBENGINE option in astro/marble is enabled.
This avoids potentially conflicting settings of the WEBENGINE option in
astro/marble and the former WEBENGINE option in this port.
Disable Marble detection the cannonical way to avoid CMake warnings.
This commit is contained in:
parent
f551531a57
commit
2f80f3ff04
1 changed files with 17 additions and 13 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= kphotoalbum
|
PORTNAME= kphotoalbum
|
||||||
DISTVERSION= 5.12.0
|
DISTVERSION= 5.12.0
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= graphics kde
|
CATEGORIES= graphics kde
|
||||||
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/
|
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/
|
||||||
DIST_SUBDIR= KDE
|
DIST_SUBDIR= KDE
|
||||||
|
|
@ -20,22 +20,26 @@ USE_KDE= archive auth codecs completion config configwidgets coreaddons \
|
||||||
i18n iconthemes jobwidgets kio libkdcraw phonon purpose service solid \
|
i18n iconthemes jobwidgets kio libkdcraw phonon purpose service solid \
|
||||||
sonnet textwidgets widgetsaddons windowsystem xmlgui \
|
sonnet textwidgets widgetsaddons windowsystem xmlgui \
|
||||||
ecm:build
|
ecm:build
|
||||||
USE_QT= concurrent core dbus declarative gui location network \
|
USE_QT= concurrent core dbus gui network sql widgets xml \
|
||||||
printsupport sql webchannel widgets xml \
|
|
||||||
buildtools:build qmake:build
|
buildtools:build qmake:build
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
SHEBANG_FILES= scripts/open-raw.pl scripts/kpa-backup.sh
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= MARBLE WEBENGINE
|
SHEBANG_FILES= scripts/kpa-backup.sh \
|
||||||
OPTIONS_DEFAULT=MARBLE
|
scripts/open-raw.pl
|
||||||
OPTIONS_DEFAULT_amd64= WEBENGINE
|
|
||||||
OPTIONS_DEFAULT_i386= WEBENGINE
|
OPTIONS_DEFINE= MARBLE
|
||||||
|
OPTIONS_DEFAULT= MARBLE
|
||||||
|
|
||||||
MARBLE_DESC= Virtual globe and world atlas
|
MARBLE_DESC= Virtual globe and world atlas
|
||||||
MARBLE_USE= kde=marble
|
MARBLE_USE= KDE=marble
|
||||||
MARBLE_CMAKE_OFF= -DMarble_FOUND:BOOL=OFF
|
MARBLE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Marble
|
||||||
|
|
||||||
WEBENGINE_DESC= Add dependency on qt5-webengine
|
.include <bsd.port.options.mk>
|
||||||
WEBENGINE_USE= QT=webengine
|
|
||||||
|
# These dependencies are only needed if the WEBENGINE option is enabled
|
||||||
|
# in astro/marble.
|
||||||
|
.if ${PORT_OPTIONS:MMARBLE} && exists(${LOCALBASE}/lib/marble/plugins/Photo.so)
|
||||||
|
USE_QT+= declarative location printsupport webchannel webengine
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue