From: Andreas Sturmlechner Date: Sat, 27 Apr 2019 22:22:29 +0000 (+0200) Subject: sci-geosciences/qgis: Set WITH_INTERNAL_MDAL=ON, add USE hdf5, netcdf X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=09b59bc06697355114cfd40a521e379a1cbdcec6;p=gentoo.git sci-geosciences/qgis: Set WITH_INTERNAL_MDAL=ON, add USE hdf5, netcdf As long as sci-libs/mdal is not packaged. Upstream commits: 50422a116516cfb7e05f2e60062eb9d7555592ae 14fa499ed3ce0358dd4835cd1f43b4b93df8f473 97c95803c623f234b13a921325b050f235170d00 Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- diff --git a/sci-geosciences/qgis/metadata.xml b/sci-geosciences/qgis/metadata.xml index 868a026b6c1e..56b0fd7a351e 100644 --- a/sci-geosciences/qgis/metadata.xml +++ b/sci-geosciences/qgis/metadata.xml @@ -17,7 +17,9 @@ Build QGIS 3D library using dev-qt/qt3d Determines whether georeferencer plugin should be built Add support for sci-geosciences/grass + Enable MDAL support for sci-libs/hdf5 Determines whether mapserver should be built + Enable MDAL support for GRIB and XMDF formats Enable OpenCL support Enable support for the polar coordinate system via x11-libs/qwtpolar Enable support Qml-based plugins using dev-qt/qtdeclarative diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild index ab077fc720a4..6aa2463ff1cd 100644 --- a/sci-geosciences/qgis/qgis-9999.ebuild +++ b/sci-geosciences/qgis/qgis-9999.ebuild @@ -22,7 +22,7 @@ HOMEPAGE="https://www.qgis.org/" LICENSE="GPL-2+ GPL-3+" SLOT="0" -IUSE="3d examples georeferencer grass mapserver opencl oracle polar postgres python qml webkit" +IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle polar postgres python qml webkit" REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )" @@ -59,7 +59,9 @@ COMMON_DEPEND=" 3d? ( >=dev-qt/qt3d-${QT_MIN_VER}:5 ) georeferencer? ( sci-libs/gsl:= ) grass? ( =sci-geosciences/grass-7*:= ) + hdf5? ( sci-libs/hdf5:= ) mapserver? ( dev-libs/fcgi ) + netcdf? ( sci-libs/netcdf:= ) opencl? ( virtual/opencl ) oracle? ( dev-db/oracle-instantclient:= @@ -126,12 +128,15 @@ src_configure() { -DPEDANTIC=OFF -DUSE_CCACHE=OFF -DWITH_APIDOC=OFF + -DWITH_INTERNAL_MDAL=ON # not packaged, bug 684538 -DWITH_QSPATIALITE=ON -DENABLE_TESTS=OFF -DWITH_3D=$(usex 3d) -DWITH_GEOREFERENCER=$(usex georeferencer) -DWITH_GRASS7=$(usex grass) + $(cmake-utils_use_find_package hdf5 HDF5) -DWITH_SERVER=$(usex mapserver) + $(cmake-utils_use_find_package netcdf NetCDF) -DUSE_OPENCL=$(usex opencl) -DWITH_ORACLE=$(usex oracle) -DWITH_QWTPOLAR=$(usex polar)