Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/labplot/
Date: Mon, 03 Sep 2018 18:03:49
Message-Id: 1535997811.3fddbf9c3596381be6d1e7b55d8e31c68c04b55b.asturm@gentoo
1 commit: 3fddbf9c3596381be6d1e7b55d8e31c68c04b55b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 3 16:56:08 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 3 18:03:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fddbf9c
7
8 sci-visualization/labplot: Add USE root
9
10 Upstream commit 62e9b7c253d1d4927ce210609236741f4ea1aa47
11
12 Package-Manager: Portage-2.3.48, Repoman-2.3.10
13
14 sci-visualization/labplot/labplot-9999.ebuild | 7 ++++++-
15 sci-visualization/labplot/metadata.xml | 1 +
16 2 files changed, 7 insertions(+), 1 deletion(-)
17
18 diff --git a/sci-visualization/labplot/labplot-9999.ebuild b/sci-visualization/labplot/labplot-9999.ebuild
19 index 29a2451cf3f..0adc14acbe2 100644
20 --- a/sci-visualization/labplot/labplot-9999.ebuild
21 +++ b/sci-visualization/labplot/labplot-9999.ebuild
22 @@ -12,7 +12,7 @@ HOMEPAGE="https://www.kde.org/applications/education/labplot/"
23
24 LICENSE="GPL-2"
25 KEYWORDS=""
26 -IUSE="cantor fftw fits hdf5 netcdf"
27 +IUSE="cantor fftw fits hdf5 netcdf root"
28
29 [[ ${KDE_BUILD_TYPE} != live ]] && S="${WORKDIR}/${P}-kf5"
30
31 @@ -44,6 +44,10 @@ COMMON_DEPEND="
32 fits? ( sci-libs/cfitsio:= )
33 hdf5? ( sci-libs/hdf5:= )
34 netcdf? ( sci-libs/netcdf:= )
35 + root? (
36 + app-arch/lz4
37 + sys-libs/zlib
38 + )
39 "
40 DEPEND="${COMMON_DEPEND}
41 sys-devel/gettext
42 @@ -68,6 +72,7 @@ src_configure() {
43 -DENABLE_FITS=$(usex fits)
44 -DENABLE_HDF5=$(usex hdf5)
45 -DENABLE_NETCDF=$(usex netcdf)
46 + -DENABLE_ROOT=$(usex root)
47 )
48
49 kde5_src_configure
50
51 diff --git a/sci-visualization/labplot/metadata.xml b/sci-visualization/labplot/metadata.xml
52 index 9e450bf9332..e2c5300fb86 100644
53 --- a/sci-visualization/labplot/metadata.xml
54 +++ b/sci-visualization/labplot/metadata.xml
55 @@ -16,5 +16,6 @@
56 <use>
57 <flag name="cantor">Enable support for different open-source computer algebra systems via <pkg>kde-apps/cantor</pkg></flag>
58 <flag name="fits">Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library</flag>
59 + <flag name="root">Enable support for CERN's ROOT file type</flag>
60 </use>
61 </pkgmetadata>