commit:     3a5ba26d8e28ce85546da944690675dab45d8b43
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  3 17:11:38 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=3a5ba26d

sci-visualization/labplot: Add USE libcerf

Upstream commit 03f2cec7c69a2ad35ebbf405d1e3cc3ec86479d3

Package-Manager: Portage-2.3.48, Repoman-2.3.10

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

diff --git a/sci-visualization/labplot/labplot-9999.ebuild 
b/sci-visualization/labplot/labplot-9999.ebuild
index 5073f218bae..30110089d94 100644
--- a/sci-visualization/labplot/labplot-9999.ebuild
+++ b/sci-visualization/labplot/labplot-9999.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.kde.org/applications/education/labplot/";
 
 LICENSE="GPL-2"
 KEYWORDS=""
-IUSE="cantor fftw fits hdf5 netcdf root"
+IUSE="cantor fftw fits hdf5 libcerf netcdf root"
 
 [[ ${KDE_BUILD_TYPE} != live ]] && S="${WORKDIR}/${P}-kf5"
 
@@ -44,6 +44,7 @@ COMMON_DEPEND="
        fftw? ( sci-libs/fftw:3.0= )
        fits? ( sci-libs/cfitsio:= )
        hdf5? ( sci-libs/hdf5:= )
+       libcerf? ( sci-libs/libcerf )
        netcdf? ( sci-libs/netcdf:= )
        root? (
                app-arch/lz4
@@ -72,6 +73,7 @@ src_configure() {
                -DENABLE_FFTW=$(usex fftw)
                -DENABLE_FITS=$(usex fits)
                -DENABLE_HDF5=$(usex hdf5)
+               -DENABLE_LIBCERF=$(usex libcerf)
                -DENABLE_NETCDF=$(usex netcdf)
                -DENABLE_ROOT=$(usex root)
                -DENABLE_TEST=$(usex test)

diff --git a/sci-visualization/labplot/metadata.xml 
b/sci-visualization/labplot/metadata.xml
index e2c5300fb86..150390b1984 100644
--- a/sci-visualization/labplot/metadata.xml
+++ b/sci-visualization/labplot/metadata.xml
@@ -16,6 +16,7 @@
        <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="libcerf">Enable special functions from 
<pkg>sci-libs/libcerf</pkg></flag>
                <flag name="root">Enable support for CERN's ROOT file 
type</flag>
        </use>
 </pkgmetadata>

Reply via email to