summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2023-03-13 20:10:31 -0300
committerMatt Turner <mattst88@gentoo.org>2023-03-13 21:00:12 -0400
commit40513849ac27575d99c58b2e82dc587e6953eae4 (patch)
tree51b4231faee97c6e85dc63fc8c5874b3592974a2 /gnome-extra/gnome-weather
parentgnome-extra/gnome-user-docs: Version bump to 44_rc (diff)
downloadgentoo-40513849ac27575d99c58b2e82dc587e6953eae4.tar.gz
gentoo-40513849ac27575d99c58b2e82dc587e6953eae4.tar.bz2
gentoo-40513849ac27575d99c58b2e82dc587e6953eae4.zip
gnome-extra/gnome-weather: Version bump to 44_rc
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30115 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-weather')
-rw-r--r--gnome-extra/gnome-weather/Manifest1
-rw-r--r--gnome-extra/gnome-weather/gnome-weather-44_rc.ebuild55
2 files changed, 56 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
+}