sci-visualization/labplot: Add USE root
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 3 Sep 2018 16:56:08 +0000 (18:56 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 3 Sep 2018 18:03:31 +0000 (20:03 +0200)
Upstream commit 62e9b7c253d1d4927ce210609236741f4ea1aa47

Package-Manager: Portage-2.3.48, Repoman-2.3.10

sci-visualization/labplot/labplot-9999.ebuild
sci-visualization/labplot/metadata.xml

index 29a2451cf3f5027391ff2e92a31148e9a149338d..0adc14acbe2de92b9eb56176be9f1ec3298031f1 100644 (file)
@@ -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
index 9e450bf9332fd688cbdcc07ad352bcb854457c47..e2c5300fb86161a08633963998fc284f5d1660f2 100644 (file)
@@ -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>