pkgsrc-WIP-changes archive

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

qt5-qtlocation: Only try building mapboxgl plugin on linux



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Sat Dec 30 13:03:59 2017 +1300
Changeset:	cb258ecb3720c78efe2a835ed38ec4240b14ad0b

Modified Files:
	qt5-qtlocation/distinfo
Added Files:
	qt5-qtlocation/PLIST.Linux
	qt5-qtlocation/patches/patch-src_location_configure.json

Log Message:
qt5-qtlocation: Only try building mapboxgl plugin on linux

On NetBSD-7 desn't try anyway as compiler is too old
On NetBSD-8 tries and fails
Don't know about other platforms

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

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

diffstat:
 qt5-qtlocation/PLIST.Linux                               |  3 +++
 qt5-qtlocation/distinfo                                  |  1 +
 qt5-qtlocation/patches/patch-src_location_configure.json | 15 +++++++++++++++
 3 files changed, 19 insertions(+)

diffs:
diff --git a/qt5-qtlocation/PLIST.Linux b/qt5-qtlocation/PLIST.Linux
new file mode 100644
index 0000000000..80f33e2289
--- /dev/null
+++ b/qt5-qtlocation/PLIST.Linux
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+qt5/lib/cmake/Qt5Location/Qt5Location_QGeoServiceProviderFactoryMapboxGL.cmake
+qt5/plugins/geoservices/libqtgeoservices_mapboxgl.so
diff --git a/qt5-qtlocation/distinfo b/qt5-qtlocation/distinfo
index 534af93e54..cbb7fca1b3 100644
--- a/qt5-qtlocation/distinfo
+++ b/qt5-qtlocation/distinfo
@@ -4,3 +4,4 @@ SHA1 (qtlocation-everywhere-src-5.10.0.tar.xz) = 69c86cd5c1fdcf039e5a65b12f969c1
 RMD160 (qtlocation-everywhere-src-5.10.0.tar.xz) = 0a76830417abf3fd8022f2bdd4c7df6ba5e5481b
 SHA512 (qtlocation-everywhere-src-5.10.0.tar.xz) = 0a5eb72b8d60962a76b2c0cc699308586f3d0febce956e3a6edbcf808a3d752f66c05ee84a4b3a6547415ddc4e49b712fc375e57cf4aa5bd260b7f4955ee9791
 Size (qtlocation-everywhere-src-5.10.0.tar.xz) = 5435368 bytes
+SHA1 (patch-src_location_configure.json) = aed5de18b11da011c024c5bb14d317a35f22cd7b
diff --git a/qt5-qtlocation/patches/patch-src_location_configure.json b/qt5-qtlocation/patches/patch-src_location_configure.json
new file mode 100644
index 0000000000..10817b8e5e
--- /dev/null
+++ b/qt5-qtlocation/patches/patch-src_location_configure.json
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Only try building mapboxgl on linux
+
+--- src/location/configure.json.orig	2017-12-27 21:34:22.148504065 +0000
++++ src/location/configure.json
+@@ -37,7 +37,7 @@
+             "condition": [
+                 "features.opengl",
+                 "features.c++14",
+-                "!config.qnx && (!config.win32 || config.mingw)"
++                "config.linux && !config.qnx && (!config.win32 || config.mingw)"
+             ],
+             "output": [ "privateFeature" ]
+         },


Home | Main Index | Thread Index | Old Index