sci-geosciences/qgis: Add USE=qml
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 24 Jun 2018 11:07:20 +0000 (13:07 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 24 Jun 2018 13:18:03 +0000 (15:18 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sci-geosciences/qgis/metadata.xml
sci-geosciences/qgis/qgis-9999.ebuild

index f25562d2fc93c5f16f977cdd594de87c8496cc7c..162cbbaa3dec2dd66ace4801542effc3d2e1d1b9 100644 (file)
@@ -19,5 +19,6 @@
                <flag name="grass">Add support for <pkg>sci-geosciences/grass</pkg></flag>
                <flag name="mapserver">Determines whether mapserver should be built</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>
 </pkgmetadata>
index efdffd875188aa879171537c51a162446b46c49c..7ea4905841a831889f9f42f6321223cb91ed1f57 100644 (file)
@@ -23,7 +23,7 @@ HOMEPAGE="https://www.qgis.org/"
 
 LICENSE="GPL-2+ GPL-3+"
 SLOT="0"
-IUSE="3d examples georeferencer grass mapserver oracle polar postgres python webkit"
+IUSE="3d examples georeferencer grass mapserver oracle polar postgres python qml webkit"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )"
 
@@ -80,6 +80,7 @@ COMMON_DEPEND="
                >=sci-libs/gdal-2.2.3[python,${PYTHON_USEDEP}]
                postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
        )
+       qml? ( >=dev-qt/qtdeclarative-${QT_MIN_VER}:5 )
        webkit? ( >=dev-qt/qtwebkit-5.9.1:5 )
 "
 DEPEND="${COMMON_DEPEND}
@@ -144,6 +145,7 @@ src_configure() {
                -DWITH_POSTGRESQL=$(usex postgres)
                -DWITH_BINDINGS=$(usex python)
                -DWITH_CUSTOM_WIDGETS=$(usex python)
+               -DWITH_QUICK=$(usex qml)
                -DWITH_QTWEBKIT=$(usex webkit)
        )