summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Fore <csfore@posteo.net>2024-11-25 11:41:12 -0500
committerNowa Ammerlaan <nowa@gentoo.org>2024-11-27 16:29:37 +0100
commitf04c014b48a22246e7a08c6d01334e2168667371 (patch)
tree9d8e3470594e5cb9bb94953615b83feab26fcf32 /sci-calculators
parentsci-calculators/qalculate-gtk: add 5.4.0 (diff)
downloadgentoo-f04c014b48a22246e7a08c6d01334e2168667371.tar.gz
gentoo-f04c014b48a22246e7a08c6d01334e2168667371.tar.bz2
gentoo-f04c014b48a22246e7a08c6d01334e2168667371.zip
sci-calculators/qalculate-qt: add 5.4.0
Signed-off-by: Christopher Fore <csfore@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/39468 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/qalculate-qt/Manifest1
-rw-r--r--sci-calculators/qalculate-qt/qalculate-qt-5.4.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sci-calculators/qalculate-qt/Manifest b/sci-calculators/qalculate-qt/Manifest
index d987a7ca008e..4cf508434e36 100644
--- a/sci-calculators/qalculate-qt/Manifest
+++ b/sci-calculators/qalculate-qt/Manifest
@@ -1,2 +1,3 @@
DIST qalculate-qt-5.2.0.tar.gz 1763726 BLAKE2B a3d93e7740063b95ce19ff0006b11b15a38cdd5e8888e41dbf11ea896d016c8c9e1ccc56c90dc7c262852431b72332818ae39ec92f585839d97db64730cc08a1 SHA512 a25dbe16f29ad047f42c601729fdc1e79cd12f526975b358c1838085513c8fb7d70c313e258876b465a871eea0804ab6ea56e9c34eb6d9c01784a4f67f6cc6af
DIST qalculate-qt-5.3.0.tar.gz 1850298 BLAKE2B b93a9a698d905f07e5856f09bd07c408a495514e2bb72a858400567e8d95399dcdd6b84ed52ffc4ccec19e4d2bfa500860b2e7aec888244090676d087e5727ac SHA512 841461dca4fa97d9dc3cff57de050b5c0d1dabe06c151149484a85b66540b038f6d3270ca96a34a65fbd9e71da26ce1068f2df76adc365e74a0e4d2220ccc909
+DIST qalculate-qt-5.4.0.tar.gz 1879385 BLAKE2B 07ed9e3a968ac634fab5a01e4c3a97e60dedf666c98d5c2efdec67db946eb4770be7e32f3d1e9f0482030dbed0468c907c54787bc2d6b0c438d10258bdd32dec SHA512 30f30d904211ebf3ac57d1d5ddb1235763731bc93ced86507b94accfd1b320d7dcfe5c3a030bd2ae41e94bea53b4b68412faa5cc9a8ff54b52dd18b602011985
diff --git a/sci-calculators/qalculate-qt/qalculate-qt-5.4.0.ebuild b/sci-calculators/qalculate-qt/qalculate-qt-5.4.0.ebuild
new file mode 100644
index 000000000000..aff7118fefda
--- /dev/null
+++ b/sci-calculators/qalculate-qt/qalculate-qt-5.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022-2024 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"
+
+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]
+}