Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-weather/
Date: Sun, 19 Mar 2023 23:38:31
Message-Id: 1679269099.f6826829f01329efc26e26244c3d5d1a24a89b4a.mattst88@gentoo
1 commit: f6826829f01329efc26e26244c3d5d1a24a89b4a
2 Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 19 19:55:10 2023 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 23:38:19 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6826829
7
8 gnome-extra/gnome-weather: Version bump to 44.0
9
10 Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/30241
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 gnome-extra/gnome-weather/Manifest | 1 +
15 .../gnome-weather/gnome-weather-44.0.ebuild | 53 ++++++++++++++++++++++
16 2 files changed, 54 insertions(+)
17
18 diff --git a/gnome-extra/gnome-weather/Manifest b/gnome-extra/gnome-weather/Manifest
19 index becaa505ee75..ccfdefc905ac 100644
20 --- a/gnome-extra/gnome-weather/Manifest
21 +++ b/gnome-extra/gnome-weather/Manifest
22 @@ -1,2 +1,3 @@
23 DIST gnome-weather-43.0.tar.xz 234344 BLAKE2B d255fec2103f9af3ce36db64d0d294732693850c9acd6bd53ea45552ac19e577786df3b110b66ff59d0d99df9f39f53592f48b4e1cad3aabf675bb4a410e19a9 SHA512 392f9c3f41583767d3dc8f3411b36c7eacc6191648879948f87c92d0891cf7ee34090e7093a91a5d7e07b4b795235a3ff675c1f34854b61e5faa6fe7dba17b9b
24 +DIST gnome-weather-44.0.tar.xz 236152 BLAKE2B 40ff3e2d3339fbab0da3629c95e843ad3a304c76aadc6f7772ae7fd38337dc7c3aad1e90cfee1a513b770788a223838b741728d6307b815fa50453f9d355c903 SHA512 56f4eb716793c047b438c6f5839bc60bae478b6f407bf067c4df51be35a96b31d9d98b33faf7f6e52606b22827f0da72289558da89c2746ee6e2fad6d3332e05
25 DIST gnome-weather-44.rc.tar.xz 236064 BLAKE2B 3caae800b43f5f705534ce33624624dbc12909162416f6d46745c61f27703d7581e0aec58d1fc1085bcc970a4abb856632eb53fc1a4dac50fbdb179434c1c698 SHA512 c95d839dd94a5cc25bb782ab5181f1b0f88f948f3723358de393ffdabbff084007c22580fc580be402a2cc071a770caa77228d154f81b20172712317555b6206
26
27 diff --git a/gnome-extra/gnome-weather/gnome-weather-44.0.ebuild b/gnome-extra/gnome-weather/gnome-weather-44.0.ebuild
28 new file mode 100644
29 index 000000000000..248617832067
30 --- /dev/null
31 +++ b/gnome-extra/gnome-weather/gnome-weather-44.0.ebuild
32 @@ -0,0 +1,53 @@
33 +# Copyright 1999-2023 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit gnome.org gnome2-utils meson xdg
39 +
40 +DESCRIPTION="A weather application for GNOME"
41 +HOMEPAGE="https://wiki.gnome.org/Design/Apps/Weather"
42 +
43 +LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
46 +
47 +DEPEND="
48 + >=dev-libs/glib-2.32:2
49 + >=dev-libs/gobject-introspection-1.56:=
50 + >=gui-libs/gtk-4.5:4
51 + >=dev-libs/gjs-1.71.0
52 + >=app-misc/geoclue-2.3.1:2.0
53 + >=gui-libs/libadwaita-1.2.0:1=
54 + >=dev-libs/libgweather-3.90.0:4=
55 +"
56 +RDEPEND="${DEPEND}
57 + gnome-base/gsettings-desktop-schemas
58 +"
59 +# libxml2 required for glib-compile-resources
60 +BDEPEND="
61 + dev-libs/appstream-glib
62 + dev-libs/libxml2:2
63 + >=sys-devel/gettext-0.19.8
64 + virtual/pkgconfig
65 +"
66 +
67 +# Tests have a lot of issues, starting with reliance on a system installation,
68 +# accessing the network and other intermittent failures with network-sandbox disabled
69 +# https://gitlab.gnome.org/GNOME/gnome-weather/issues/67 (and rest not filed)
70 +# test dep: $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]')
71 +# With 3.34, this is now behind a dogtail option we can pass (and have data validation)
72 +
73 +src_configure() {
74 + meson_src_configure -Dprofile=default -Ddogtail=false
75 +}
76 +
77 +pkg_postinst() {
78 + xdg_pkg_postinst
79 + gnome2_schemas_update
80 +}
81 +
82 +pkg_postrm() {
83 + xdg_pkg_postrm
84 + gnome2_schemas_update
85 +}