Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2018 17:57:00 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488727 - head/math/kalgebra
Message-ID:  <201812301757.wBUHv0pC018668@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Dec 30 17:56:59 2018
New Revision: 488727
URL: https://svnweb.freebsd.org/changeset/ports/488727

Log:
  math/kalgebra: make webengine optional (used for non i386/amd64 architectures)
  
  PR:		234461
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Modified:
  head/math/kalgebra/Makefile
  head/math/kalgebra/pkg-plist

Modified: head/math/kalgebra/Makefile
==============================================================================
--- head/math/kalgebra/Makefile	Sun Dec 30 17:46:22 2018	(r488726)
+++ head/math/kalgebra/Makefile	Sun Dec 30 17:56:59 2018	(r488727)
@@ -17,9 +17,16 @@ USE_GL=		glu
 USE_KDE=	auth codecs config configwidgets coreaddons doctools ecm i18n \
 		kio service widgetsaddons xmlgui
 USE_QT=		core dbus declarative gui location network opengl printsupport \
-		svg testlib webchannel webengine widgets xml \
+		svg testlib webchannel widgets xml \
 		buildtools_build qmake_build
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS WEBENGINE
+OPTIONS_DEFAULT_amd64=	WEBENGINE
+OPTIONS_DEFAULT_i386=	WEBENGINE
+OPTIONS_SUB=	yes
+
+WEBENGINE_DESC=	Add dependency on qt5-webengine
+WEBENGINE_USE=	QT=webengine
+WEBENGINE_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets
 
 .include <bsd.port.mk>

Modified: head/math/kalgebra/pkg-plist
==============================================================================
--- head/math/kalgebra/pkg-plist	Sun Dec 30 17:46:22 2018	(r488726)
+++ head/math/kalgebra/pkg-plist	Sun Dec 30 17:56:59 2018	(r488727)
@@ -1,7 +1,7 @@
 bin/calgebra
-bin/kalgebra
+%%WEBENGINE%%bin/kalgebra
 bin/kalgebramobile
-share/applications/org.kde.kalgebra.desktop
+%%WEBENGINE%%hare/applications/org.kde.kalgebra.desktop
 share/applications/org.kde.kalgebramobile.desktop
 share/icons/hicolor/64x64/apps/kalgebra.png
 share/icons/hicolor/scalable/apps/kalgebra.svgz
@@ -32,8 +32,8 @@ share/kalgebramobile/plugins/widgets/Label.qml
 share/kalgebramobile/plugins/widgets/RealInput.qml
 share/kalgebramobile/plugins/widgets/SimpleListView.qml
 share/kalgebramobile/plugins/widgets/qmldir
-share/katepart5/syntax/kalgebra.xml
-share/kservices5/graphsplasmoid.desktop
+%%WEBENGINE%%share/katepart5/syntax/kalgebra.xml
+%%WEBENGINE%%share/kservices5/graphsplasmoid.desktop
 share/locale/ar/LC_MESSAGES/kalgebra.mo
 share/locale/bg/LC_MESSAGES/kalgebra.mo
 share/locale/bg/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
@@ -141,8 +141,8 @@ share/locale/zh_CN/LC_MESSAGES/kalgebramobile.mo
 share/locale/zh_CN/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
 share/locale/zh_TW/LC_MESSAGES/kalgebra.mo
 share/locale/zh_TW/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
-share/metainfo/org.kde.kalgebra.appdata.xml
+%%WEBENGINE%%share/metainfo/org.kde.kalgebra.appdata.xml
 share/metainfo/org.kde.kalgebramobile.appdata.xml
-share/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/config.ui
-share/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/main.qml
-share/plasma/plasmoids/org.kde.graphsplasmoid/metadata.desktop
+%%WEBENGINE%%share/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/config.ui
+%%WEBENGINE%%share/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/main.qml
+%%WEBENGINE%%share/plasma/plasmoids/org.kde.graphsplasmoid/metadata.desktop



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