mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-visualization/labplot: add 2.11.1
Closes: https://bugs.gentoo.org/936006 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST labplot-2.10.1.tar.xz 23193988 BLAKE2B dbea843dcf0761eb40d9a386f8df13b45a889bf41ff1a40434b521f591fb2c776de4c474f553776f43ad3ee85224e919521efdabd853f8d0cc1c0c9ad32a4df8 SHA512 12c8b62519861255dd8cb4ecc3ad4ff34f1862b8e386a9aa97e4f3a2dd0b8989cf14b9dafcea41da2575bd57c0ef9803a15ac9347365cdeea6309dcfda4cd7da
|
||||
DIST labplot-2.11.1.tar.xz 24180904 BLAKE2B c2b94db140ca47f648f2b7e82956a88fa36819aa666430d69b0c328d46a254e0fe9991d4ea61581c4c8da0f44694b2016471090a166e8beeb378f1e02eb6b2c7 SHA512 51a039c7eec5a2e104079b1dc7bfe1ecdc2c4e3327bcfbdc99e1b2fbae2b2be5db3a1a2c319e30d41a7cfcf177be756e8e3bb05d9a58c8418e43900dfad6b3b1
|
||||
|
||||
111
sci-visualization/labplot/labplot-2.11.1.ebuild
Normal file
111
sci-visualization/labplot/labplot-2.11.1.ebuild
Normal file
@@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_HANDBOOK="forceoptional"
|
||||
ECM_TEST="forceoptional"
|
||||
KFMIN=6.3.0
|
||||
QTMIN=6.6.2
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
|
||||
HOMEPAGE="https://labplot.kde.org/ https://apps.kde.org/labplot2/"
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="eigen 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]
|
||||
>=dev-qt/qtsvg-${QTMIN}:6
|
||||
>=kde-frameworks/karchive-${KFMIN}:6
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:6
|
||||
>=kde-frameworks/kconfig-${KFMIN}:6
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:6
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:6
|
||||
>=kde-frameworks/kcrash-${KFMIN}:6
|
||||
>=kde-frameworks/ki18n-${KFMIN}:6
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:6
|
||||
>=kde-frameworks/kio-${KFMIN}:6
|
||||
>=kde-frameworks/knewstuff-${KFMIN}:6
|
||||
>=kde-frameworks/ktextwidgets-${KFMIN}:6
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:6
|
||||
>=kde-frameworks/syntax-highlighting-${KFMIN}:6
|
||||
>=sci-libs/gsl-1.15:=
|
||||
eigen? ( dev-cpp/eigen:3= )
|
||||
xlsx? ( dev-libs/qxlsx:= )
|
||||
fftw? ( sci-libs/fftw:3.0= )
|
||||
fits? ( sci-libs/cfitsio:= )
|
||||
hdf5? ( sci-libs/hdf5:= )
|
||||
libcerf? ( sci-libs/libcerf )
|
||||
markdown? ( app-text/discount:= )
|
||||
matio? ( sci-libs/matio:= )
|
||||
netcdf? ( sci-libs/netcdf:= )
|
||||
ods? (
|
||||
dev-libs/libixion:=
|
||||
dev-libs/liborcus:=
|
||||
)
|
||||
origin? ( sci-libs/liborigin:2 )
|
||||
root? (
|
||||
app-arch/lz4
|
||||
sys-libs/zlib
|
||||
)
|
||||
serial? ( >=dev-qt/qtserialport-${QTMIN}:6 )
|
||||
share? ( >=kde-frameworks/purpose-${KFMIN}:6 )
|
||||
telemetry? ( >=kde-frameworks/kuserfeedback-${KFMIN}:6 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!${CATEGORY}/${PN}:5
|
||||
"
|
||||
# not packaged: dev-qt/qtmqtt, bug 683994
|
||||
BDEPEND="
|
||||
app-alternatives/yacc
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
ecm_src_prepare
|
||||
|
||||
sed -e "/^ *find_package.*QT NAMES/s/Qt5 //" \
|
||||
-i CMakeLists.txt || die # ensure Qt6 build
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_MQTT=OFF # not packaged
|
||||
-DENABLE_READSTAT=OFF # not packaged
|
||||
-DENABLE_VECTOR_BLF=OFF # not packaged
|
||||
-DENABLE_CANTOR=OFF # $(usex cantor)
|
||||
-DENABLE_EIGEN3=$(usex eigen)
|
||||
-DENABLE_XLSX=$(usex xlsx)
|
||||
-DENABLE_FFTW=$(usex fftw)
|
||||
-DENABLE_FITS=$(usex fits)
|
||||
-DENABLE_HDF5=$(usex hdf5)
|
||||
-DENABLE_LIBCERF=$(usex libcerf)
|
||||
-DENABLE_DISCOUNT=$(usex markdown)
|
||||
-DENABLE_MATIO=$(usex matio)
|
||||
-DENABLE_NETCDF=$(usex netcdf)
|
||||
-DENABLE_ORCUS=$(usex ods)
|
||||
-DENABLE_LIBORIGIN=$(usex origin)
|
||||
$(cmake_use_find_package share KF6Purpose)
|
||||
-DENABLE_ROOT=$(usex root)
|
||||
-DENABLE_QTSERIALPORT=$(usex serial)
|
||||
$(cmake_use_find_package telemetry KUserFeedbackQt6) # FIXME: should be KF6UserFeedback
|
||||
-DENABLE_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user