sci-geosciences/qgis: Add new DEPEND on virtual/opencl
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 27 Apr 2019 22:32:50 +0000 (00:32 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 28 Apr 2019 15:26:44 +0000 (17:26 +0200)
Upstream commit 05be622c3043f45892e3901218fae711753117bd

Package-Manager: Portage-2.3.65, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sci-geosciences/qgis/metadata.xml
sci-geosciences/qgis/qgis-9999.ebuild

index 162cbbaa3dec2dd66ace4801542effc3d2e1d1b9..868a026b6c1ecf495e5c75c4a508662b3183d9ef 100644 (file)
@@ -18,6 +18,7 @@
                <flag name="georeferencer">Determines whether georeferencer plugin should be built</flag>
                <flag name="grass">Add support for <pkg>sci-geosciences/grass</pkg></flag>
                <flag name="mapserver">Determines whether mapserver should be built</flag>
+               <flag name="opencl">Enable OpenCL support</flag>
                <flag name="polar">Enable support for the polar coordinate system via <pkg>x11-libs/qwtpolar</pkg></flag>
                <flag name="qml">Enable support Qml-based plugins using <pkg>dev-qt/qtdeclarative</pkg></flag>
        </use>
index e8cba614b61db9810482832033cbdef960e5b14b..ab077fc720a4e1f042aa57ac561cc2933ef2a74a 100644 (file)
@@ -22,7 +22,7 @@ HOMEPAGE="https://www.qgis.org/"
 
 LICENSE="GPL-2+ GPL-3+"
 SLOT="0"
-IUSE="3d examples georeferencer grass mapserver oracle polar postgres python qml webkit"
+IUSE="3d examples georeferencer grass mapserver opencl oracle polar postgres python qml webkit"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )"
 
@@ -60,6 +60,7 @@ COMMON_DEPEND="
        georeferencer? ( sci-libs/gsl:= )
        grass? ( =sci-geosciences/grass-7*:= )
        mapserver? ( dev-libs/fcgi )
+       opencl? ( virtual/opencl )
        oracle? (
                dev-db/oracle-instantclient:=
                sci-libs/gdal:=[oracle]
@@ -131,6 +132,7 @@ src_configure() {
                -DWITH_GEOREFERENCER=$(usex georeferencer)
                -DWITH_GRASS7=$(usex grass)
                -DWITH_SERVER=$(usex mapserver)
+               -DUSE_OPENCL=$(usex opencl)
                -DWITH_ORACLE=$(usex oracle)
                -DWITH_QWTPOLAR=$(usex polar)
                -DWITH_POSTGRESQL=$(usex postgres)