summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-14 10:51:22 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-10-14 11:18:07 +0200
commit72b8b5e27c7e0f23e9b8bc04219b07656770b711 (patch)
tree877d8f1799609f3ef043b87800776bbcf4c608b4
parentsci-libs/libqalculate: add 3.21.0 (diff)
downloadgentoo-72b8b5e27c7e0f23e9b8bc04219b07656770b711.tar.gz
gentoo-72b8b5e27c7e0f23e9b8bc04219b07656770b711.tar.bz2
gentoo-72b8b5e27c7e0f23e9b8bc04219b07656770b711.zip
sci-calculators/qalculate-gtk: add 3.21.0
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r--sci-calculators/qalculate-gtk/Manifest1
-rw-r--r--sci-calculators/qalculate-gtk/qalculate-gtk-3.21.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sci-calculators/qalculate-gtk/Manifest b/sci-calculators/qalculate-gtk/Manifest
index 8b4403ab8c9..d70647a2323 100644
--- a/sci-calculators/qalculate-gtk/Manifest
+++ b/sci-calculators/qalculate-gtk/Manifest
@@ -1 +1,2 @@
DIST qalculate-gtk-3.20.1.tar.gz 2547876 BLAKE2B d357ba4c03f39d504c2dda0e3d48b443ca05f5dd092bfef35f688947bf5c73eabef4756c7f53280cfd382e78c283f90a99dfa5d9727c5a9addce1c65c0ec9fb4 SHA512 5cdb5154a329514ed9d9c2081d15bfad4f12e2fc837ee3c32313a88492b06cb1139e1774ab3b3c3d4018a6a1d875022fafbf6ca904f8e8f56b60eda2450ef1e5
+DIST qalculate-gtk-3.21.0.tar.gz 2550604 BLAKE2B ab3a8e76f23ba20adf023a467f460876d5c1227fc46f8cbc636b2eea82cd2e319ab8c9ef17c1a0c475477f8624363236a8c6a1d450b3490df2657939c23047ca SHA512 c850e09ea6aebbe7bbd074e31f462a02dac64c1ef9fb3a26df8ae6355f79f3d8aec5b3f7af071801d05486511f1515abd67674561e30e68199adb7eac3c61444
diff --git a/sci-calculators/qalculate-gtk/qalculate-gtk-3.21.0.ebuild b/sci-calculators/qalculate-gtk/qalculate-gtk-3.21.0.ebuild
new file mode 100644
index 00000000000..37cc084599d
--- /dev/null
+++ b/sci-calculators/qalculate-gtk/qalculate-gtk-3.21.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2
+
+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 ~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="app-text/rarian
+ 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
+
+ gnome2_src_prepare
+}