From 0e019c664bba1b95fd21761b773bcc33bbb18d88 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Thu, 31 Jul 2025 18:11:25 +0200 Subject: [PATCH] gnome-extra/gnome-weather: add 48.0 Signed-off-by: Pacho Ramos --- gnome-extra/gnome-weather/Manifest | 1 + .../gnome-weather/gnome-weather-48.0.ebuild | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 gnome-extra/gnome-weather/gnome-weather-48.0.ebuild diff --git a/gnome-extra/gnome-weather/Manifest b/gnome-extra/gnome-weather/Manifest index d93a11c897737..4b0e301071375 100644 --- a/gnome-extra/gnome-weather/Manifest +++ b/gnome-extra/gnome-weather/Manifest @@ -1,2 +1,3 @@ DIST gnome-weather-46.0.tar.xz 239644 BLAKE2B 4acf901dbb7ee0240aa371797823c5d2eadfbc869b273e9bf0da45b311b71ea4977c6d0809f7067d79d80326d75c3c0184a463201c6f319573764277480ee23d SHA512 b180b231359e7b1cfa593b9a536d77520d6183aa752a8900bb27a290bc5f6f9676da132897e51e2810baca57196c9328a8cbbbb172068f52409076e39ba87a8b DIST gnome-weather-47.0.tar.xz 252112 BLAKE2B 02d69555f66a36127f3d82e4bef3ccf531952544b100b564cf0dcf1eb508921cd052254fb512871c4b42af1f8d8ce87c77610ca941cc66475ee533c3a91840b1 SHA512 9ed6423a3eb68dcbbb5e1651e4c9af1e60897643d2d938812820c61520fe13b4d1a9049656ca4cc02c70d6c6c6511da0cb947c60859f53646fc1e75a4c52649b +DIST gnome-weather-48.0.tar.xz 254920 BLAKE2B 22bc9f46cfe0a8dac12c69ae8094cd6324c707d7712d5090aeef6c117f1bd420a40c651af8956bd67af0bc0bbd9f9c935b805519df4ce2d1ffba329220485aa1 SHA512 cd0b17f75217a1947c249d45d274729b1c74eb492f9e9eb2826e9c23a4c84750e15299364a790de65f3e4cd36abb5035b677e304f61a012cdd5cff41458293f0 diff --git a/gnome-extra/gnome-weather/gnome-weather-48.0.ebuild b/gnome-extra/gnome-weather/gnome-weather-48.0.ebuild new file mode 100644 index 0000000000000..a0086b366148f --- /dev/null +++ b/gnome-extra/gnome-weather/gnome-weather-48.0.ebuild @@ -0,0 +1,53 @@ +# 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 ~loong ~ppc64 ~riscv ~x86" + +DEPEND=" + >=dev-libs/glib-2.32:2 + >=dev-libs/gobject-introspection-1.56:= + >=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 + >=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 +}