summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Fore <csfore@posteo.net>2024-11-25 11:39:17 -0500
committerNowa Ammerlaan <nowa@gentoo.org>2024-11-27 16:29:36 +0100
commit5414f5eaac9f3c642f8dacb9e26ea3208ea1e342 (patch)
tree762f39f38b12e9232f36386057ad09cf926aa06e /sci-calculators
parentsci-libs/libqalculate: add 5.4.0 (diff)
downloadgentoo-5414f5eaac9f3c642f8dacb9e26ea3208ea1e342.tar.gz
gentoo-5414f5eaac9f3c642f8dacb9e26ea3208ea1e342.tar.bz2
gentoo-5414f5eaac9f3c642f8dacb9e26ea3208ea1e342.zip
sci-calculators/qalculate-gtk: add 5.4.0
Signed-off-by: Christopher Fore <csfore@posteo.net> Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/qalculate-gtk/Manifest1
-rw-r--r--sci-calculators/qalculate-gtk/qalculate-gtk-5.4.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sci-calculators/qalculate-gtk/Manifest b/sci-calculators/qalculate-gtk/Manifest
index 2062db8d0a59..90e097faa40f 100644
--- a/sci-calculators/qalculate-gtk/Manifest
+++ b/sci-calculators/qalculate-gtk/Manifest
@@ -1,2 +1,3 @@
DIST qalculate-gtk-5.2.0.tar.gz 2902354 BLAKE2B b52433538edb3c7840cf094ac56ebfcc6880ea704fd64e142af9c3965b0ccaadfa8ed7d764cce3a7d9d47d8cd620b685246e59ac5461160512b8eef7141cf092 SHA512 e65e8cd5ad505e2f20a1f917a831381cbb69a0b086e8e371685e918b8638a766f6f80be5420e73da6fcf347dc96c5bbf7fced6e694311b13b533a9bf279814c0
DIST qalculate-gtk-5.3.0.tar.gz 2963963 BLAKE2B a7d827b62c5a771b401c0d7578293d60ec3a68721e00521baed05f202bee9464e3d75be097dbcff2d11883b5988c13c34245bf3eb7779ca5dffa55e31e7304e2 SHA512 d36165e1e4321c64d99a788110f0a567e51649a62f563f2a24be470d3cf302da3840c65634336b7d0508858fa2f77aae94531f9447298b32891bcf60e87d625f
+DIST qalculate-gtk-5.4.0.tar.gz 3003465 BLAKE2B c863b50aa0a400ce6c77423878ddd1ad4b77529273b7de424da3456343008a558712bd6cdf73a913930130b2c93516b716d504a41d190bda5b592543afb2ac4e SHA512 e9a30220d19b207a4b9dc5b0690b117135432afe60255eae148acc14d38b24157fe67d9b7f6dd45c9a862d6d28e9fad2f594d56274a1a4b6d431dc577089acfc
diff --git a/sci-calculators/qalculate-gtk/qalculate-gtk-5.4.0.ebuild b/sci-calculators/qalculate-gtk/qalculate-gtk-5.4.0.ebuild
new file mode 100644
index 000000000000..7eee1ce3eb9a
--- /dev/null
+++ b/sci-calculators/qalculate-gtk/qalculate-gtk-5.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Note: bump with sci-libs/libqalculate and sci-calculators/qalculate-qt!
+
+inherit optfeature xdg
+
+DESCRIPTION="Modern multi-purpose calculator"
+HOMEPAGE="https://qalculate.github.io/"
+SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="dev-libs/glib:2
+ >=sci-libs/libqalculate-${PV}:=
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/pango"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/gdbus-codegen
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Required by src_test() and `make check`
+ cat >po/POTFILES.skip <<-EOF || die
+ # Required by make check
+ data/calendarconversion.ui
+ data/periodictable.ui
+ EOF
+
+ default
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature "gnuplot support" sci-libs/libqalculate[gnuplot]
+}