commit:     591d7ccfb23d9116de5e2d1f28e9147dfb70af6a
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 20 12:55:45 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Dec 20 13:08:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591d7ccf

gnome-extra/gnome-weather: add 49.0

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 gnome-extra/gnome-weather/Manifest                 |  1 +
 .../gnome-weather/gnome-weather-49.0.ebuild        | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/gnome-extra/gnome-weather/Manifest 
b/gnome-extra/gnome-weather/Manifest
index eef121f41ebe..c1ccb935ceab 100644
--- a/gnome-extra/gnome-weather/Manifest
+++ b/gnome-extra/gnome-weather/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-weather-47.0.tar.xz 252112 BLAKE2B 
02d69555f66a36127f3d82e4bef3ccf531952544b100b564cf0dcf1eb508921cd052254fb512871c4b42af1f8d8ce87c77610ca941cc66475ee533c3a91840b1
 SHA512 
9ed6423a3eb68dcbbb5e1651e4c9af1e60897643d2d938812820c61520fe13b4d1a9049656ca4cc02c70d6c6c6511da0cb947c60859f53646fc1e75a4c52649b
 DIST gnome-weather-48.0.tar.xz 254920 BLAKE2B 
22bc9f46cfe0a8dac12c69ae8094cd6324c707d7712d5090aeef6c117f1bd420a40c651af8956bd67af0bc0bbd9f9c935b805519df4ce2d1ffba329220485aa1
 SHA512 
cd0b17f75217a1947c249d45d274729b1c74eb492f9e9eb2826e9c23a4c84750e15299364a790de65f3e4cd36abb5035b677e304f61a012cdd5cff41458293f0
+DIST gnome-weather-49.0.tar.xz 2979784 BLAKE2B 
fe91f2e8710f0fb630b0b6525cee9f0a6c2561db568b83f9883dfc0f5e6d0abf1663ba569a36e512befb1e4ad6ade7ddd1277a2b78e15363b2fb9dc6c2bf39fc
 SHA512 
cecfe1fe02105606961e236e9dda93c7ef2938cebdcaae17f63e9e392e04b9a55e7363c16cbe8303a072fe61a1c11e4190c2f4fd0166e3ca6363836c78598ff0

diff --git a/gnome-extra/gnome-weather/gnome-weather-49.0.ebuild 
b/gnome-extra/gnome-weather/gnome-weather-49.0.ebuild
new file mode 100644
index 000000000000..e319af89b9df
--- /dev/null
+++ b/gnome-extra/gnome-weather/gnome-weather-49.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson xdg
+
+DESCRIPTION="A weather application for GNOME"
+HOMEPAGE="https://apps.gnome.org/Weather/";
+
+LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+DEPEND="
+       >=dev-libs/glib-2.32:2
+       >=dev-libs/gobject-introspection-1.82.0-r2:=
+       >=gui-libs/gtk-4.5:4
+       >=dev-libs/gjs-1.71.0
+       >=app-misc/geoclue-2.3.1:2.0
+       >=gui-libs/libadwaita-1.4_alpha:1=
+       >=dev-libs/libgweather-3.90.0:4=
+"
+RDEPEND="${DEPEND}
+       gnome-base/gsettings-desktop-schemas
+"
+# libxml2 required for glib-compile-resources
+BDEPEND="
+       dev-libs/appstream-glib
+       dev-libs/libxml2:2
+       dev-lang/typescript
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+"
+
+# Tests have a lot of issues, starting with reliance on a system installation,
+# accessing the network and other intermittent failures with network-sandbox 
disabled
+# https://gitlab.gnome.org/GNOME/gnome-weather/issues/67 (and rest not filed)
+# test dep: $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]')
+# With 3.34, this is now behind a dogtail option we can pass (and have data 
validation)
+
+src_configure() {
+       meson_src_configure -Dprofile=default -Ddogtail=false
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to