diff options
-rw-r--r-- | gnome-extra/gnome-weather/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/gnome-weather/gnome-weather-44_rc.ebuild | 55 | ||||
-rw-r--r-- | profiles/package.mask | 1 |
3 files changed, 57 insertions, 0 deletions
diff --git a/gnome-extra/gnome-weather/Manifest b/gnome-extra/gnome-weather/Manifest index c4af7d2947af..becaa505ee75 100644 --- a/gnome-extra/gnome-weather/Manifest +++ b/gnome-extra/gnome-weather/Manifest @@ -1 +1,2 @@ DIST gnome-weather-43.0.tar.xz 234344 BLAKE2B d255fec2103f9af3ce36db64d0d294732693850c9acd6bd53ea45552ac19e577786df3b110b66ff59d0d99df9f39f53592f48b4e1cad3aabf675bb4a410e19a9 SHA512 392f9c3f41583767d3dc8f3411b36c7eacc6191648879948f87c92d0891cf7ee34090e7093a91a5d7e07b4b795235a3ff675c1f34854b61e5faa6fe7dba17b9b +DIST gnome-weather-44.rc.tar.xz 236064 BLAKE2B 3caae800b43f5f705534ce33624624dbc12909162416f6d46745c61f27703d7581e0aec58d1fc1085bcc970a4abb856632eb53fc1a4dac50fbdb179434c1c698 SHA512 c95d839dd94a5cc25bb782ab5181f1b0f88f948f3723358de393ffdabbff084007c22580fc580be402a2cc071a770caa77228d154f81b20172712317555b6206 diff --git a/gnome-extra/gnome-weather/gnome-weather-44_rc.ebuild b/gnome-extra/gnome-weather/gnome-weather-44_rc.ebuild new file mode 100644 index 000000000000..89513c5ace3d --- /dev/null +++ b/gnome-extra/gnome-weather/gnome-weather-44_rc.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 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://wiki.gnome.org/Design/Apps/Weather" +SRC_URI="https://download.gnome.org/sources/${PN}/44/${PN}-44.rc.tar.xz" +S="${WORKDIR}/${PN}-44.rc" + +LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~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.2.0: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 +} diff --git a/profiles/package.mask b/profiles/package.mask index ef725497ecb7..a00ba0c81a47 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -62,6 +62,7 @@ dev-ruby/net-http-persistent:3 >=gnome-extra/gnome-software-44_rc >=gnome-extra/gnome-system-monitor-44_rc >=gnome-extra/gnome-user-docs-44_rc +>=gnome-extra/gnome-weather-44_rc >=gui-apps/gnome-console-44_beta >=gui-libs/libadwaita-1.3_rc >=media-gfx/gnome-font-viewer-44_rc |