summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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>