pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gambas3-runtime: Add qt5 option



Module Name:	pkgsrc-wip
Committed By:	bgermann <bastiangermann%fishpost.de@localhost>
Pushed By:	bgermann
Date:		Sat Sep 15 00:39:09 2018 +0200
Changeset:	6be71393a094f6306d2eb92e795db27dda11c332

Modified Files:
	gambas3-runtime/PLIST
	gambas3-runtime/options.mk

Log Message:
gambas3-runtime: Add qt5 option

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6be71393a094f6306d2eb92e795db27dda11c332

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gambas3-runtime/PLIST      | 40 ++++++++++++++++++++--------------------
 gambas3-runtime/options.mk |  7 ++++++-
 2 files changed, 26 insertions(+), 21 deletions(-)

diffs:
diff --git a/gambas3-runtime/PLIST b/gambas3-runtime/PLIST
index bffd25c4c1..2c2f1986b6 100644
--- a/gambas3-runtime/PLIST
+++ b/gambas3-runtime/PLIST
@@ -12,16 +12,16 @@ lib/gambas3/gb.eval.la
 lib/gambas3/gb.geom.la
 ${PLIST.gui}lib/gambas3/gb.gui.base.component
 ${PLIST.gui}lib/gambas3/gb.gui.base.gambas
-lib/gambas3/gb.gui.component
-lib/gambas3/gb.gui.la
-lib/gambas3/gb.gui.opengl.component
-lib/gambas3/gb.gui.opengl.la
-lib/gambas3/gb.gui.qt.component
-lib/gambas3/gb.gui.qt.la
-lib/gambas3/gb.gui.qt.opengl.component
-lib/gambas3/gb.gui.qt.opengl.la
-lib/gambas3/gb.gui.qt.webkit.component
-lib/gambas3/gb.gui.qt.webkit.la
+${PLIST.gui}lib/gambas3/gb.gui.component
+${PLIST.gui}lib/gambas3/gb.gui.la
+${PLIST.gui}lib/gambas3/gb.gui.opengl.component
+${PLIST.gui}lib/gambas3/gb.gui.opengl.la
+${PLIST.gui}lib/gambas3/gb.gui.qt.component
+${PLIST.gui}lib/gambas3/gb.gui.qt.la
+${PLIST.gui}lib/gambas3/gb.gui.qt.opengl.component
+${PLIST.gui}lib/gambas3/gb.gui.qt.opengl.la
+${PLIST.gui}lib/gambas3/gb.gui.qt.webkit.component
+${PLIST.gui}lib/gambas3/gb.gui.qt.webkit.la
 lib/gambas3/gb.gui.trayicon.component
 lib/gambas3/gb.gui.trayicon.la
 share/gambas3/icons/application-x-gambas3.png
@@ -31,16 +31,16 @@ share/gambas3/info/gb.eval.info
 share/gambas3/info/gb.eval.list
 ${PLIST.gui}share/gambas3/info/gb.gui.base.info
 ${PLIST.gui}share/gambas3/info/gb.gui.base.list
-share/gambas3/info/gb.gui.info
-share/gambas3/info/gb.gui.list
-share/gambas3/info/gb.gui.opengl.info
-share/gambas3/info/gb.gui.opengl.list
-share/gambas3/info/gb.gui.qt.info
-share/gambas3/info/gb.gui.qt.list
-share/gambas3/info/gb.gui.qt.opengl.info
-share/gambas3/info/gb.gui.qt.opengl.list
-share/gambas3/info/gb.gui.qt.webkit.info
-share/gambas3/info/gb.gui.qt.webkit.list
+${PLIST.gui}share/gambas3/info/gb.gui.info
+${PLIST.gui}share/gambas3/info/gb.gui.list
+${PLIST.gui}share/gambas3/info/gb.gui.opengl.info
+${PLIST.gui}share/gambas3/info/gb.gui.opengl.list
+${PLIST.gui}share/gambas3/info/gb.gui.qt.info
+${PLIST.gui}share/gambas3/info/gb.gui.qt.list
+${PLIST.gui}share/gambas3/info/gb.gui.qt.opengl.info
+${PLIST.gui}share/gambas3/info/gb.gui.qt.opengl.list
+${PLIST.gui}share/gambas3/info/gb.gui.qt.webkit.info
+${PLIST.gui}share/gambas3/info/gb.gui.qt.webkit.list
 share/gambas3/info/gb.gui.trayicon.info
 share/gambas3/info/gb.gui.trayicon.list
 share/gambas3/info/gb.info
diff --git a/gambas3-runtime/options.mk b/gambas3-runtime/options.mk
index 67e6a69fbd..207f98c469 100644
--- a/gambas3-runtime/options.mk
+++ b/gambas3-runtime/options.mk
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.gambas3-runtime
-PKG_SUPPORTED_OPTIONS=	qt4 gtk2 gtk3
+PKG_SUPPORTED_OPTIONS=	qt4 qt5 gtk2 gtk3
 PKG_SUGGESTED_OPTIONS=	qt4
 PLIST_VARS+=		gui
 
@@ -22,3 +22,8 @@ BUILD_DEPENDS+=	gambas3-gb-qt4-opengl-${GB_VERSION}:../../wip/gambas3-gb-qt4-ope
 BUILD_DEPENDS+=	gambas3-gb-qt4-webkit-${GB_VERSION}:../../wip/gambas3-gb-qt4-webkit
 PLIST.gui=	yes
 .endif
+
+.if !empty(PKG_OPTIONS:Mqt5)
+BUILD_DEPENDS+=	gambas3-gb-qt5-${GB_VERSION}:../../wip/gambas3-gb-qt5
+PLIST.gui=	yes
+.endif


Home | Main Index | Thread Index | Old Index