commit:     083e95a0e179b631dce2656d7ac3b860584971ce
Author:     Christopher Fore <csfore <AT> posteo <DOT> net>
AuthorDate: Mon Oct 13 18:16:45 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Tue Oct 14 16:06:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083e95a0

sci-calculators/qalculate-qt: add 5.8.0

Signed-off-by: Christopher Fore <csfore <AT> posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/44164
Closes: https://github.com/gentoo/gentoo/pull/44164
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 sci-calculators/qalculate-qt/Manifest              |  1 +
 .../qalculate-qt/qalculate-qt-5.8.0.ebuild         | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/sci-calculators/qalculate-qt/Manifest 
b/sci-calculators/qalculate-qt/Manifest
index bcfdc3488402..033d91f3de47 100644
--- a/sci-calculators/qalculate-qt/Manifest
+++ b/sci-calculators/qalculate-qt/Manifest
@@ -1 +1,2 @@
 DIST qalculate-qt-5.7.0.tar.gz 1992166 BLAKE2B 
cb47dcb6703a683f4915fa94b5aaa3fb3f837ccd50c61b316d4c51f7e12b7da7df39f335178e61ec9bac411040a83c87661c8e450dc3c32fd743feaf22897c32
 SHA512 
6f55642ad8aeec7cdff52a92ad96aa22a3f76be612e468857fe5ff546f3431e7917fffcdbd5bc61bc82e68d2edb0dbc1451136ce0d07ac8f9f4995e0ea318a4f
+DIST qalculate-qt-5.8.0.tar.gz 2016264 BLAKE2B 
609e5d2170829cab982cff709162d9ff1ed4939eaebee42ee2a0750fce5d2a51d96efd44f43a898d135ed94b894577f25ea8c28aee9a5c8f5753b1b811e11ded
 SHA512 
a2caa004ab449cd428350435561fd4b9608beb33c4fd3b2abc81908f14d75fc92ef5366885edfdd6f7b883a69e8689d50bd77e48e11c8a4560a5c4ba3c97cea4

diff --git a/sci-calculators/qalculate-qt/qalculate-qt-5.8.0.ebuild 
b/sci-calculators/qalculate-qt/qalculate-qt-5.8.0.ebuild
new file mode 100644
index 000000000000..c6bd8fafe4ff
--- /dev/null
+++ b/sci-calculators/qalculate-qt/qalculate-qt-5.8.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Bump with sci-libs/libqalculate and sci-calculators/qalculate-gtk!
+
+inherit optfeature qmake-utils xdg
+
+DESCRIPTION="Qt-based UI for libqalculate"
+HOMEPAGE="https://github.com/Qalculate/qalculate-qt";
+SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+DEPEND="
+       dev-qt/qtbase:6[gui,network,widgets]
+       >=sci-libs/libqalculate-${PV}:=
+"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-qt/qttools:6[linguist]"
+
+src_configure() {
+       eqmake6 PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+       emake INSTALL_ROOT="${ED}" install
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+
+       optfeature "gnuplot support" sci-libs/libqalculate[gnuplot]
+}

Reply via email to