1 |
commit: a35f40cc23b5f110f3c1811f2905c663adfd02e2 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 18:05:52 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 18:45:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a35f40cc |
7 |
|
8 |
gnome-extra/gnome-calculator: Version bump to 42.2 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
gnome-extra/gnome-calculator/Manifest | 1 + |
13 |
.../gnome-calculator/gnome-calculator-42.2.ebuild | 72 ++++++++++++++++++++++ |
14 |
2 files changed, 73 insertions(+) |
15 |
|
16 |
diff --git a/gnome-extra/gnome-calculator/Manifest b/gnome-extra/gnome-calculator/Manifest |
17 |
index 123ef9777654..95a89ad16cd5 100644 |
18 |
--- a/gnome-extra/gnome-calculator/Manifest |
19 |
+++ b/gnome-extra/gnome-calculator/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST gnome-calculator-41.1.tar.xz 1046092 BLAKE2B 2c9a8757adcb9858f826f303ebcec44b869e3be95f49d2722e57765f187d725f82dda6b1cac1302640d686fdccebbf5c8565c5bbd064d1d647bc5d23434d55ba SHA512 fc0d5c0744c52cd68f076afa29e3028f4998fe04e2e253d267b0350514ebae72172e90a345db69bc13d4ead2c7679416529d7192a34cfd970c7b2773870b9604 |
22 |
DIST gnome-calculator-42.0.tar.xz 1200548 BLAKE2B d628b1b112a1f4b42e8bbc696cb5c0f5aca969f0fa999a9367e495d93c2e9e01b7a8669dbc057da4aa019d9fa9ce3612210c35949bd9aab2664ebc413324d6fc SHA512 9c28126321fdbd9c60f4d992a37f3081b46de24eaf1a057373b8b905c4ad218145cfeb629b001094b4b137cafee5dcdeaae3920ca95f2ec2d4fbe8ea1ef1b72e |
23 |
DIST gnome-calculator-42.1.tar.xz 1199604 BLAKE2B ffb2cd60847aa4365d2624827153bb76f3a142237193c9bb3b924827cca22f7b3fbbd21d02af8e2352bb567fe1bae025e12003769e57716e406b982a6f390563 SHA512 c919322e14fb917b3cb02eb365e806872d0b696f7207b25b0f4eaa192d2994fca83e2470355c20bf119f8fd95734beb9575d0c29e7a7b1bf1a9926c0b5ccf736 |
24 |
+DIST gnome-calculator-42.2.tar.xz 1199392 BLAKE2B 68b6374ac6f86e6d0db29e8839e5b302e1a8d6bc47b7d42c54195e463cfb36d3db6773a771dfb7694fa2c310181b12ddbd171b26b081e9fd9fe8c7b0595ddaee SHA512 81f644a6be66a6ca051c0adbca06eab61bd09f219385631ca2d66fff1c250c01080b3f401ff20b4ee296c0999481c8f1dc1d105521d7995ff682b8e1158ada5a |
25 |
|
26 |
diff --git a/gnome-extra/gnome-calculator/gnome-calculator-42.2.ebuild b/gnome-extra/gnome-calculator/gnome-calculator-42.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..4215d0bb9217 |
29 |
--- /dev/null |
30 |
+++ b/gnome-extra/gnome-calculator/gnome-calculator-42.2.ebuild |
31 |
@@ -0,0 +1,72 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+VALA_MIN_API_VERSION="0.40" |
37 |
+ |
38 |
+inherit gnome.org gnome2-utils meson vala virtualx xdg |
39 |
+ |
40 |
+DESCRIPTION="A calculator application for GNOME" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Calculator" |
42 |
+ |
43 |
+LICENSE="GPL-3+" |
44 |
+SLOT="0" |
45 |
+IUSE="+introspection test" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
47 |
+ |
48 |
+# gtksourceview vapi definitions in dev-lang/vala itself are too old, and newer vala removes them |
49 |
+# altogether, thus we need them installed by gtksourceview[vala] |
50 |
+RDEPEND=" |
51 |
+ >=dev-libs/glib-2.40.0:2 |
52 |
+ dev-libs/libxml2:2 |
53 |
+ >=net-libs/libsoup-2.42:2.4 |
54 |
+ >=dev-libs/libgee-0.20.0:0.8 |
55 |
+ dev-libs/mpc:= |
56 |
+ dev-libs/mpfr:0= |
57 |
+ >=gui-libs/gtk-4.4.1:4 |
58 |
+ >=gui-libs/libadwaita-1.0.0:1 |
59 |
+ >=gui-libs/gtksourceview-5.3.0:5 |
60 |
+ introspection? ( >=dev-libs/gobject-introspection-1.58:= ) |
61 |
+" |
62 |
+DEPEND="${RDEPEND}" |
63 |
+BDEPEND=" |
64 |
+ dev-libs/appstream-glib |
65 |
+ dev-util/itstool |
66 |
+ >=sys-devel/gettext-0.19.8 |
67 |
+ virtual/pkgconfig |
68 |
+ $(vala_depend) |
69 |
+ net-libs/libsoup:2.4[vala] |
70 |
+ gui-libs/gtksourceview:5[vala] |
71 |
+ gui-libs/libhandy:1[vala] |
72 |
+" |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ default |
76 |
+ vala_setup |
77 |
+ # Automagic dep on valadoc - don't bother for now |
78 |
+ sed -e '/subdir.*doc/d' -i meson.build || die |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ local emesonargs=( |
83 |
+ -Ddisable-ui=false |
84 |
+ #-Dvala-version # doesn't do anything in 3.34 |
85 |
+ $(meson_use !introspection disable-introspection) |
86 |
+ $(meson_use test ui-tests) |
87 |
+ ) |
88 |
+ meson_src_configure |
89 |
+} |
90 |
+ |
91 |
+src_test() { |
92 |
+ virtx meson_src_test |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ xdg_pkg_postinst |
97 |
+ gnome2_schemas_update |
98 |
+} |
99 |
+ |
100 |
+pkg_postrm() { |
101 |
+ xdg_pkg_postrm |
102 |
+ gnome2_schemas_update |
103 |
+} |