sci-visualization/labplot: Re-enable IUSE cantor

Upstream commit b7ffb099d15001757b98f7028b78df4763fe623f

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2024-12-19 22:01:20 +01:00
parent 939addd2f4
commit abc0c361bc
2 changed files with 8 additions and 8 deletions

View File

@@ -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)

View File

@@ -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>