pkgsrc-WIP-changes archive

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

Make switch visible to build lumina without xlib-xinput.



Module Name:	pkgsrc-wip
Committed By:	Daniel Oelschlegel <amoibos%gmail.com@localhost>
Pushed By:	amoibos
Date:		Fri Apr 28 00:03:58 2017 +0000
Changeset:	9bdc095744419922687dcf14b4316004f927fc5f

Modified Files:
	lumina/Makefile
	lumina/distinfo
Added Files:
	lumina/options.mk

Log Message:
Make switch visible to build lumina without xlib-xinput.

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

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

diffstat:
 lumina/Makefile   | 14 ++++++++++----
 lumina/distinfo   |  8 ++++----
 lumina/options.mk | 11 +++++++++++
 3 files changed, 25 insertions(+), 8 deletions(-)

diffs:
diff --git a/lumina/Makefile b/lumina/Makefile
index 1b093643b0..51159fb883 100644
--- a/lumina/Makefile
+++ b/lumina/Makefile
@@ -1,9 +1,12 @@
 # $NetBSD$
-PKGNAME=	lumina-1.2.0
-DISTNAME=	lumina-qt5-1.2.0
+VERSION=	1.2.0-p1
+PKGNAME=	lumina-${VERSION}
+DISTNAME=	${PKGNAME}
+DIST_SUBDIR=	lumina
 CATEGORIES=	x11
+GITHUB_PROJECT=	lumina
 MASTER_SITES=	${MASTER_SITE_GITHUB:=trueos/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
+GITHUB_TAG=	v${VERSION}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://lumina-desktop.org/
@@ -26,8 +29,11 @@ DEPENDS+=	libXdamage-[0-9]*:../../x11/libXdamage
 
 INSTALL_MAKE_FLAGS=		INSTALL_ROOT=${DESTDIR}
 
+.include "options.mk"
+
+
 pre-build:
-	${RUN} cd ${WRKSRC} && ${QTDIR}/bin/qmake PREFIX=${PREFIX} CONFIG+="configure WITH_I18N"
+	${RUN} cd ${WRKSRC} && ${QTDIR}/bin/qmake PREFIX=${PREFIX} CONFIG+="configure WITH_I18N" ${EXTRA}
 
 pre-install:
 	${RUN} ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
diff --git a/lumina/distinfo b/lumina/distinfo
index 1989e891ce..ea0e00f79a 100644
--- a/lumina/distinfo
+++ b/lumina/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-SHA1 (lumina-qt5-1.2.0.tar.gz) = 830b1ba4573ab3ee780dd14cbe22f7be597f5df9
-RMD160 (lumina-qt5-1.2.0.tar.gz) = b904191f7bd68c2ed7e7dbb15311cda03318c397
-SHA512 (lumina-qt5-1.2.0.tar.gz) = c0843b638999efeebca3b7bc8bdf3187b1606909554fdca1e9158e49ff93cc13a2061bd2697add589d33eefe2bb3a662c5938161622d7fc796f693a61ec9bd40
-Size (lumina-qt5-1.2.0.tar.gz) = 56031811 bytes
+SHA1 (lumina/lumina-1.2.0-p1.tar.gz) = b6a8b38271ca3967f1c8982ba86adf513786bc17
+RMD160 (lumina/lumina-1.2.0-p1.tar.gz) = 3f19624efd833a428f3a236bb3c04d2afe94e4a2
+SHA512 (lumina/lumina-1.2.0-p1.tar.gz) = 8490e2b0f2fa08b2d63ec688f9993771ea935129a2947ef7bfa1874424cbede6d8877083ce90658c283858e67397383b5bab536388e9222b440015ebdf8b2919
+Size (lumina/lumina-1.2.0-p1.tar.gz) = 56032695 bytes
 SHA1 (patch-OS-detect.pri) = d92d95bc56083d131c1029038a7c5d59433cfb3e
diff --git a/lumina/options.mk b/lumina/options.mk
new file mode 100644
index 0000000000..4c55d96156
--- /dev/null
+++ b/lumina/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD$
+PKG_OPTIONS_VAR=	PKG_OPTIONS_VAR.lumina
+PKG_SUPPORTED_OPTIONS=	noxinput
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKG_OPTIONS:Mnoxinput)
+EXTRA= CONFIG+=NO_XINPUT
+.else
+EXTRA=
+.endif


Home | Main Index | Thread Index | Old Index