commit:     abc0c361bcbb5fda7f5d620a6fac8a1bc2b52c59
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 19 21:01:20 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 17:29:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc0c361

sci-visualization/labplot: Re-enable IUSE cantor

Upstream commit b7ffb099d15001757b98f7028b78df4763fe623f

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

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

diff --git a/sci-visualization/labplot/labplot-9999.ebuild 
b/sci-visualization/labplot/labplot-9999.ebuild
index abbcecc0ec3b..b73963a92781 100644
--- a/sci-visualization/labplot/labplot-9999.ebuild
+++ b/sci-visualization/labplot/labplot-9999.ebuild
@@ -18,14 +18,8 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="eigen fftw fits hdf5 libcerf markdown matio netcdf ods origin root 
serial share telemetry xlsx"
+IUSE="eigen cantor fftw fits hdf5 libcerf markdown matio netcdf ods origin 
root serial share telemetry xlsx"
 
-# IUSE="cantor"
-#      cantor? (
-#              >=kde-apps/cantor-19.12.0:6
-#              >=kde-frameworks/kparts-${KFMIN}:6
-#              >=kde-frameworks/kservice-${KFMIN}:6
-#      )
 DEPEND="
        app-text/poppler[qt6(-)]
        >=dev-qt/qtbase-${QTMIN}:6=[concurrent,gui,network,sql,widgets]
@@ -45,6 +39,11 @@ DEPEND="
        >=kde-frameworks/kxmlgui-${KFMIN}:6
        >=kde-frameworks/syntax-highlighting-${KFMIN}:6
        >=sci-libs/gsl-1.15:=
+       cantor? (
+               >=kde-apps/cantor-24.12.0:6
+               >=kde-frameworks/kparts-${KFMIN}:6
+               >=kde-frameworks/kservice-${KFMIN}:6
+       )
        eigen? ( dev-cpp/eigen:3= )
        xlsx? ( dev-libs/qxlsx:= )
        fftw? ( sci-libs/fftw:3.0= )
@@ -88,7 +87,7 @@ src_configure() {
                -DENABLE_MQTT=OFF # not packaged
                -DENABLE_READSTAT=OFF # not packaged
                -DENABLE_VECTOR_BLF=OFF # not packaged
-               -DENABLE_CANTOR=OFF # $(usex cantor)
+               -DENABLE_CANTOR=$(usex cantor)
                -DENABLE_EIGEN3=$(usex eigen)
                -DENABLE_XLSX=$(usex xlsx)
                -DENABLE_FFTW=$(usex fftw)

diff --git a/sci-visualization/labplot/metadata.xml 
b/sci-visualization/labplot/metadata.xml
index cd20ab7b75cd..a732a5fd8ea0 100644
--- a/sci-visualization/labplot/metadata.xml
+++ b/sci-visualization/labplot/metadata.xml
@@ -18,6 +18,7 @@
                <remote-id type="kde-invent">education/labplot</remote-id>
        </upstream>
        <use>
+               <flag name="cantor">Enable support for different open-source 
computer algebra systems via <pkg>kde-apps/cantor</pkg></flag>
                <flag name="eigen">Enable support for fast baseline removal via 
<pkg>dev-cpp/eigen</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>

Reply via email to