summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-09-03 18:56:08 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-09-03 20:03:31 +0200
commit3fddbf9c3596381be6d1e7b55d8e31c68c04b55b (patch)
tree21bc3145cfa81ed2bf3c160717a8a3da024d08f8 /sci-visualization
parentsci-visualization/labplot: Drop unused DEPENDs (diff)
downloadgentoo-3fddbf9c3596381be6d1e7b55d8e31c68c04b55b.tar.gz
gentoo-3fddbf9c3596381be6d1e7b55d8e31c68c04b55b.tar.bz2
gentoo-3fddbf9c3596381be6d1e7b55d8e31c68c04b55b.zip
sci-visualization/labplot: Add USE root
Upstream commit 62e9b7c253d1d4927ce210609236741f4ea1aa47 Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/labplot/labplot-9999.ebuild7
-rw-r--r--sci-visualization/labplot/metadata.xml1
2 files changed, 7 insertions, 1 deletions
diff --git a/sci-visualization/labplot/labplot-9999.ebuild b/sci-visualization/labplot/labplot-9999.ebuild
index 29a2451cf3f5..0adc14acbe2d 100644
--- a/sci-visualization/labplot/labplot-9999.ebuild
+++ b/sci-visualization/labplot/labplot-9999.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.kde.org/applications/education/labplot/"
LICENSE="GPL-2"
KEYWORDS=""
-IUSE="cantor fftw fits hdf5 netcdf"
+IUSE="cantor fftw fits hdf5 netcdf root"
[[ ${KDE_BUILD_TYPE} != live ]] && S="${WORKDIR}/${P}-kf5"
@@ -44,6 +44,10 @@ COMMON_DEPEND="
fits? ( sci-libs/cfitsio:= )
hdf5? ( sci-libs/hdf5:= )
netcdf? ( sci-libs/netcdf:= )
+ root? (
+ app-arch/lz4
+ sys-libs/zlib
+ )
"
DEPEND="${COMMON_DEPEND}
sys-devel/gettext
@@ -68,6 +72,7 @@ src_configure() {
-DENABLE_FITS=$(usex fits)
-DENABLE_HDF5=$(usex hdf5)
-DENABLE_NETCDF=$(usex netcdf)
+ -DENABLE_ROOT=$(usex root)
)
kde5_src_configure
diff --git a/sci-visualization/labplot/metadata.xml b/sci-visualization/labplot/metadata.xml
index 9e450bf9332f..e2c5300fb861 100644
--- a/sci-visualization/labplot/metadata.xml
+++ b/sci-visualization/labplot/metadata.xml
@@ -16,5 +16,6 @@
<use>
<flag name="cantor">Enable support for different open-source computer algebra systems via <pkg>kde-apps/cantor</pkg></flag>
<flag name="fits">Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library</flag>
+ <flag name="root">Enable support for CERN's ROOT file type</flag>
</use>
</pkgmetadata>