1 |
commit: 90966d7cab1db324be04710b330d68d10e808a05 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 27 22:32:50 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 28 15:26:44 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90966d7c |
7 |
|
8 |
sci-geosciences/qgis: Add new DEPEND on virtual/opencl |
9 |
|
10 |
Upstream commit 05be622c3043f45892e3901218fae711753117bd |
11 |
|
12 |
Package-Manager: Portage-2.3.65, Repoman-2.3.12 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
sci-geosciences/qgis/metadata.xml | 1 + |
16 |
sci-geosciences/qgis/qgis-9999.ebuild | 4 +++- |
17 |
2 files changed, 4 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/sci-geosciences/qgis/metadata.xml b/sci-geosciences/qgis/metadata.xml |
20 |
index 162cbbaa3de..868a026b6c1 100644 |
21 |
--- a/sci-geosciences/qgis/metadata.xml |
22 |
+++ b/sci-geosciences/qgis/metadata.xml |
23 |
@@ -18,6 +18,7 @@ |
24 |
<flag name="georeferencer">Determines whether georeferencer plugin should be built</flag> |
25 |
<flag name="grass">Add support for <pkg>sci-geosciences/grass</pkg></flag> |
26 |
<flag name="mapserver">Determines whether mapserver should be built</flag> |
27 |
+ <flag name="opencl">Enable OpenCL support</flag> |
28 |
<flag name="polar">Enable support for the polar coordinate system via <pkg>x11-libs/qwtpolar</pkg></flag> |
29 |
<flag name="qml">Enable support Qml-based plugins using <pkg>dev-qt/qtdeclarative</pkg></flag> |
30 |
</use> |
31 |
|
32 |
diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild |
33 |
index e8cba614b61..ab077fc720a 100644 |
34 |
--- a/sci-geosciences/qgis/qgis-9999.ebuild |
35 |
+++ b/sci-geosciences/qgis/qgis-9999.ebuild |
36 |
@@ -22,7 +22,7 @@ HOMEPAGE="https://www.qgis.org/" |
37 |
|
38 |
LICENSE="GPL-2+ GPL-3+" |
39 |
SLOT="0" |
40 |
-IUSE="3d examples georeferencer grass mapserver oracle polar postgres python qml webkit" |
41 |
+IUSE="3d examples georeferencer grass mapserver opencl oracle polar postgres python qml webkit" |
42 |
|
43 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )" |
44 |
|
45 |
@@ -60,6 +60,7 @@ COMMON_DEPEND=" |
46 |
georeferencer? ( sci-libs/gsl:= ) |
47 |
grass? ( =sci-geosciences/grass-7*:= ) |
48 |
mapserver? ( dev-libs/fcgi ) |
49 |
+ opencl? ( virtual/opencl ) |
50 |
oracle? ( |
51 |
dev-db/oracle-instantclient:= |
52 |
sci-libs/gdal:=[oracle] |
53 |
@@ -131,6 +132,7 @@ src_configure() { |
54 |
-DWITH_GEOREFERENCER=$(usex georeferencer) |
55 |
-DWITH_GRASS7=$(usex grass) |
56 |
-DWITH_SERVER=$(usex mapserver) |
57 |
+ -DUSE_OPENCL=$(usex opencl) |
58 |
-DWITH_ORACLE=$(usex oracle) |
59 |
-DWITH_QWTPOLAR=$(usex polar) |
60 |
-DWITH_POSTGRESQL=$(usex postgres) |