summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-30 16:52:29 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-31 10:20:30 +0100
commit99ff45c7f04abfce13ac35a131d5f8fbc16d518e (patch)
tree99f87f84542973babf64d2be4686d7d4ec8632d9 /sci-visualization
parentmedia-gfx/krita: 4.4.1 version bump (diff)
downloadgentoo-99ff45c7f04abfce13ac35a131d5f8fbc16d518e.tar.gz
gentoo-99ff45c7f04abfce13ac35a131d5f8fbc16d518e.tar.bz2
gentoo-99ff45c7f04abfce13ac35a131d5f8fbc16d518e.zip
sci-visualization/labplot: 2.8.0 version bump, IUSE="serial,telemetry"
See also: https://labplot.kde.org/2020/09/16/labplot-2-8-released/ Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/labplot/Manifest1
-rw-r--r--sci-visualization/labplot/labplot-2.8.0.ebuild86
-rw-r--r--sci-visualization/labplot/labplot-9999.ebuild15
-rw-r--r--sci-visualization/labplot/metadata.xml1
4 files changed, 97 insertions, 6 deletions
diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest
index 256637890742..cf534d939273 100644
--- a/sci-visualization/labplot/Manifest
+++ b/sci-visualization/labplot/Manifest
@@ -1 +1,2 @@
DIST labplot-2.7.0.tar.xz 13306532 BLAKE2B 044f6f1e552b6ccbd56791e39af240c97f0c572fae66ede0bbc13e172a88b652b0c42182fa4f6742b386dfd9c17f3041180841fe531387a9f44bd9b00adb8c09 SHA512 73e10ed98694b7633e80ffa7745733392cf9ce36f45e4ef6432d661b015dd3e821ddc791223a32fa55115c68f0d82b90464080915f8bb55cd1907610151a2d0a
+DIST labplot-2.8.0.tar.xz 13117804 BLAKE2B 14836a2b34e095f997d42b907717e34198ec3ec9ed3477cdcdac4dcef03c999e401d0ff87160f46bf218730f180f5bf966fce3cefa27c89aba7732e7122f8e99 SHA512 b96a758813a411801ca65082aab54857b2da77a705ea939f2ae49d6d75a3c472b666e61c501283482c7736975b1f589bf0710028a36b237ae2df9e56ac04f0e5
diff --git a/sci-visualization/labplot/labplot-2.8.0.ebuild b/sci-visualization/labplot/labplot-2.8.0.ebuild
new file mode 100644
index 000000000000..4378d86effff
--- /dev/null
+++ b/sci-visualization/labplot/labplot-2.8.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.74.0
+QTMIN=5.15.1
+inherit ecm kde.org
+
+DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
+HOMEPAGE="https://labplot.kde.org/ https://apps.kde.org/en/labplot2"
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="cantor fftw fits hdf5 libcerf netcdf root serial telemetry"
+
+# not packaged: dev-qt/qtmqtt, bug 683994
+BDEPEND="
+ sys-devel/bison
+ sys-devel/gettext
+"
+DEPEND="
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:5
+ >=sci-libs/gsl-1.15:=
+ cantor? (
+ >=kde-apps/cantor-19.12.0:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ )
+ 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
+ sys-libs/zlib
+ )
+ serial? ( >=dev-qt/qtserialport-${QTMIN}:5 )
+ telemetry? ( dev-libs/kuserfeedback:5 )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_CANTOR=$(usex cantor)
+ -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_QTSERIALPORT=$(usex serial)
+ $(cmake_use_find_package telemetry KUserFeedback)
+ -DENABLE_TESTS=$(usex test)
+ -DENABLE_MQTT=OFF
+ )
+
+ ecm_src_configure
+}
diff --git a/sci-visualization/labplot/labplot-9999.ebuild b/sci-visualization/labplot/labplot-9999.ebuild
index d876c81c2fcd..4378d86effff 100644
--- a/sci-visualization/labplot/labplot-9999.ebuild
+++ b/sci-visualization/labplot/labplot-9999.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
ECM_HANDBOOK="forceoptional"
ECM_TEST="forceoptional"
-KFMIN=5.60.0
-QTMIN=5.12.3
+KFMIN=5.74.0
+QTMIN=5.15.1
inherit ecm kde.org
DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
@@ -18,7 +18,7 @@ fi
LICENSE="GPL-2"
SLOT="5"
-IUSE="cantor fftw fits hdf5 libcerf netcdf root"
+IUSE="cantor fftw fits hdf5 libcerf netcdf root serial telemetry"
# not packaged: dev-qt/qtmqtt, bug 683994
BDEPEND="
@@ -30,7 +30,6 @@ DEPEND="
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtnetwork-${QTMIN}:5
>=dev-qt/qtprintsupport-${QTMIN}:5
- >=dev-qt/qtserialport-${QTMIN}:5
>=dev-qt/qtsql-${QTMIN}:5
>=dev-qt/qtsvg-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
@@ -50,7 +49,7 @@ DEPEND="
>=kde-frameworks/syntax-highlighting-${KFMIN}:5
>=sci-libs/gsl-1.15:=
cantor? (
- >=kde-apps/cantor-19.08.0:5
+ >=kde-apps/cantor-19.12.0:5
>=kde-frameworks/kparts-${KFMIN}:5
>=kde-frameworks/kservice-${KFMIN}:5
)
@@ -63,6 +62,8 @@ DEPEND="
app-arch/lz4
sys-libs/zlib
)
+ serial? ( >=dev-qt/qtserialport-${QTMIN}:5 )
+ telemetry? ( dev-libs/kuserfeedback:5 )
"
RDEPEND="${DEPEND}"
@@ -75,6 +76,8 @@ src_configure() {
-DENABLE_LIBCERF=$(usex libcerf)
-DENABLE_NETCDF=$(usex netcdf)
-DENABLE_ROOT=$(usex root)
+ -DENABLE_QTSERIALPORT=$(usex serial)
+ $(cmake_use_find_package telemetry KUserFeedback)
-DENABLE_TESTS=$(usex test)
-DENABLE_MQTT=OFF
)
diff --git a/sci-visualization/labplot/metadata.xml b/sci-visualization/labplot/metadata.xml
index 150390b19845..5b1410adb0ef 100644
--- a/sci-visualization/labplot/metadata.xml
+++ b/sci-visualization/labplot/metadata.xml
@@ -18,5 +18,6 @@
<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>
+ <flag name="serial">Enable support for RS232 serial ports using <pkg>dev-qt/qtserialport</pkg></flag>
</use>
</pkgmetadata>