summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-04-28 12:55:34 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-28 17:26:45 +0200
commit5906613bbbf6fe18757fdd1045aef9e3774a628a (patch)
treed64a93b24efaece3a034f28d79b4b90f5a697f25 /sci-geosciences/qgis/files
parentsci-geosciences/qgis: Set WITH_INTERNAL_MDAL=ON, add USE hdf5, netcdf (diff)
downloadgentoo-5906613bbbf6fe18757fdd1045aef9e3774a628a.tar.gz
gentoo-5906613bbbf6fe18757fdd1045aef9e3774a628a.tar.bz2
gentoo-5906613bbbf6fe18757fdd1045aef9e3774a628a.zip
sci-geosciences/qgis: Fix QML plugins install path
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-geosciences/qgis/files')
-rw-r--r--sci-geosciences/qgis/files/qgis-3.4.7-default-qmldir.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sci-geosciences/qgis/files/qgis-3.4.7-default-qmldir.patch b/sci-geosciences/qgis/files/qgis-3.4.7-default-qmldir.patch
new file mode 100644
index 000000000000..97f8ac12858c
--- /dev/null
+++ b/sci-geosciences/qgis/files/qgis-3.4.7-default-qmldir.patch
@@ -0,0 +1,25 @@
+From 9d095f7d502cbcea8c70c127be322568b71f6663 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun, 28 Apr 2019 12:41:51 +0200
+Subject: [PATCH] cmake: Fix DEFAULT_QML_DIR path to comply with LFS layout
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4626042ca4..fe93ff3c4f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -660,7 +660,7 @@ IF (WITH_CORE)
+ SET (DEFAULT_LIBEXEC_SUBDIR lib${LIB_SUFFIX}/qgis)
+ SET (DEFAULT_PLUGIN_SUBDIR lib${LIB_SUFFIX}/qgis/plugins)
+ SET (DEFAULT_INCLUDE_SUBDIR include/qgis)
+- SET (DEFAULT_QML_SUBDIR qml)
++ SET (DEFAULT_QML_SUBDIR ${DEFAULT_DATA_SUBDIR}/qml)
+
+ SET (DEFAULT_SERVER_MODULE_SUBDIR ${DEFAULT_LIBEXEC_SUBDIR}/server)
+ ENDIF (APPLE)
+--
+2.21.0
+