MFH: r567284

www/falkon: add flavor without KDE integration

This results in a package that doesn't drag in huge numbers of
KDE dependencies if you aren't on KDE.

This replaces the OPTION KDEINTEGRATION.

Approved by:		kde (adridg)
Differential Revision:	https://reviews.freebsd.org/D29010
This commit is contained in:
Chris Rees 2021-03-04 00:51:25 +00:00
parent e803ee984c
commit 0981f5668c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=567285

View File

@ -22,12 +22,20 @@ USE_LDCONFIG= yes
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_PySide2
OPTIONS_DEFINE= GNOMEKEYRING KDEINTEGRATION
OPTIONS_DEFAULT= KDEINTEGRATION
OPTIONS_SUB= YES
FLAVORS= default qtonly
FLAVOR?= default
qtonly_PKGNAMESUFFIX= -qtonly
KDEINTEGRATION_CMAKE_BOOL= ENABLE_KDE_FRAMEWORKS_INTEGRATION_PLUGIN
KDEINTEGRATION_USE= KDE=completion,config,coreaddons,crash,jobwidgets,kio,purpose,service,wallet,widgetsaddons
.if ${FLAVOR} != qtonly
CMAKE_ON+= ENABLE_KDE_FRAMEWORKS_INTEGRATION_PLUGIN
USE_KDE+= completion config coreaddons crash jobwidgets kio purpose service wallet widgetsaddons
PLIST_SUB= KDEINTEGRATION=""
.else
PLIST_SUB= KDEINTEGRATION="@comment "
.endif
OPTIONS_DEFINE= GNOMEKEYRING
OPTIONS_SUB= YES
GNOMEKEYRING_CMAKE_BOOL= BUILD_KEYRING
GNOMEKEYRING_USE= GNOME=glib20