summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2023-09-02 18:29:20 -0300
committerMatt Turner <mattst88@gentoo.org>2023-09-04 11:53:06 -0400
commit4222239a774f53116dcbca21b07f898bb8ab4309 (patch)
tree555e02ac3c2a13bb8774955ffea296e6704f8b67 /gnome-extra/gnome-calculator
parentgnome-extra/gnome-system-monitor: Version bump to 45.0.1 (diff)
downloadgentoo-4222239a774f53116dcbca21b07f898bb8ab4309.tar.gz
gentoo-4222239a774f53116dcbca21b07f898bb8ab4309.tar.bz2
gentoo-4222239a774f53116dcbca21b07f898bb8ab4309.zip
gnome-extra/gnome-calculator: Version bump to 45.0.1
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32571 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-calculator')
-rw-r--r--gnome-extra/gnome-calculator/Manifest1
-rw-r--r--gnome-extra/gnome-calculator/gnome-calculator-45.0.1.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/gnome-extra/gnome-calculator/Manifest b/gnome-extra/gnome-calculator/Manifest
index 5be2787e46a3..75fd584e8cd4 100644
--- a/gnome-extra/gnome-calculator/Manifest
+++ b/gnome-extra/gnome-calculator/Manifest
@@ -1,3 +1,4 @@
DIST gnome-calculator-44.0.tar.xz 1075480 BLAKE2B a4e7af52e06a59a1a07baf3e34dbfc90dc8852cab3f44fe2018e3279cf7dab7c9cffe23bff2d7cc8b9b3708b652b9b8ae2fa65ff403c559fc1bfd060e4645575 SHA512 7c1428873c00a2052b966a0687f2a944dce67e889c8e113a794a7d5f0bafe9ff52562e2b1985bcf48d05a5a0a2f4ff97e490a43810b5243367fce9c6ada79fa6
+DIST gnome-calculator-45.0.1.tar.xz 1099468 BLAKE2B ceeecbe3eeaae77421193c61d954ed4991c4456ef7e4298f3ff50b8c3855e23c1938700b32c8166ba74a4db8bc2eb666ec23caa7b3c6a85b9aed1154a5e5a72c SHA512 b96fe0118dcddb2b818dd0ae6c95891ba33bf7d4d858ff0fda1f0454fee740fb53c4af011aa153a564043b02d73480f1c9f1c35bdf2af4b5ebf5a97287c75fef
DIST gnome-calculator-45.0.tar.xz 1097732 BLAKE2B 1d69dd416b4af1eb9440ae41c5bd4a598ba1eecfbfaeb3b83d6b720094285bc60dfa6d5399ee196341563ddbc0944ce11ed69b22fb381ce33d3ea9f1b6c34beb SHA512 cb681a04099385ae2f7bd1bb0a613eff4a20067f0a1d82027c493542c743613ff441c34a1c0a032807d7bb0f41301427eeb8b0fb5137e317e331e76bdf5b14af
DIST gnome-calculator-45.beta.tar.xz 1094460 BLAKE2B dda75a6e1d0e1e6d4053f0e151477e1705b4a9a8ebd08a2e3df73c9c475317f47ea08da14f1a1baef5ece1925b2e04ce98d145f834dba6e3a51224a9a2bbfa32 SHA512 217b2acbd30fc80e625bb0e656ddec24c182e02f195db31c07cd7603962a0c7b63fdf1b86eeb4b51e8b7bed15a16ac52ccef941b74b464a4e9440b659880be40
diff --git a/gnome-extra/gnome-calculator/gnome-calculator-45.0.1.ebuild b/gnome-extra/gnome-calculator/gnome-calculator-45.0.1.ebuild
new file mode 100644
index 000000000000..01f53e2750c9
--- /dev/null
+++ b/gnome-extra/gnome-calculator/gnome-calculator-45.0.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson vala virtualx xdg
+
+DESCRIPTION="A calculator application for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/Calculator"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="+introspection test"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+# gtksourceview vapi definitions in dev-lang/vala itself are too old, and newer vala removes them
+# altogether, thus we need them installed by gtksourceview[vala]
+RDEPEND="
+ >=dev-libs/glib-2.40.0:2
+ dev-libs/libxml2:2
+ net-libs/libsoup:3.0
+ >=dev-libs/libgee-0.20.0:0.8=
+ dev-libs/mpc:=
+ dev-libs/mpfr:0=
+ >=gui-libs/gtk-4.4.1:4
+ >=gui-libs/libadwaita-1.4_alpha:1
+ >=gui-libs/gtksourceview-5.3.0:5
+ introspection? ( >=dev-libs/gobject-introspection-1.58:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/appstream-glib
+ dev-util/itstool
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ $(vala_depend)
+ net-libs/libsoup:3.0[vala]
+ gui-libs/gtksourceview:5[vala]
+ gui-libs/libhandy:1[vala]
+"
+
+src_prepare() {
+ default
+ vala_setup
+ xdg_environment_reset
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddisable-ui=false
+ #-Dvala-version # doesn't do anything in 3.34
+ $(meson_use !introspection disable-introspection)
+ $(meson_use test ui-tests)
+ -Dgcalc=true
+ -Dgci=true
+ -Dapp=true
+ -Ddoc=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ XDG_SESSION_TYPE=x11 virtx dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}