commit:     3fddbf9c3596381be6d1e7b55d8e31c68c04b55b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  3 16:56:08 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Sep  3 18:03:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fddbf9c

sci-visualization/labplot: Add USE root

Upstream commit 62e9b7c253d1d4927ce210609236741f4ea1aa47

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 sci-visualization/labplot/labplot-9999.ebuild | 7 ++++++-
 sci-visualization/labplot/metadata.xml        | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/labplot/labplot-9999.ebuild 
b/sci-visualization/labplot/labplot-9999.ebuild
index 29a2451cf3f..0adc14acbe2 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 9e450bf9332..e2c5300fb86 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>

Reply via email to