Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2021 00:44:32 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567284 - head/www/falkon
Message-ID:  <202103040044.1240iWxN095813@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Thu Mar  4 00:44:32 2021
New Revision: 567284
URL: https://svnweb.freebsd.org/changeset/ports/567284

Log:
  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

Modified:
  head/www/falkon/Makefile   (contents, props changed)

Modified: head/www/falkon/Makefile
==============================================================================
--- head/www/falkon/Makefile	Thu Mar  4 00:25:28 2021	(r567283)
+++ head/www/falkon/Makefile	Thu Mar  4 00:44:32 2021	(r567284)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103040044.1240iWxN095813>