Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-weather/
Date: Sun, 01 Mar 2020 16:42:01
Message-Id: 1583080901.58c91d5c6c439a28648661272460909f641cfe07.leio@gentoo
1 commit: 58c91d5c6c439a28648661272460909f641cfe07
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 1 16:41:41 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 1 16:41:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c91d5c
7
8 gnome-extra/gnome-weather: bump to 3.34.0
9
10 Needed by gnome-shell-3.34 to keep providing weather information
11 (new dbus communication method for gnome-weather and gnome-clocks data)
12
13 Package-Manager: Portage-2.3.84, Repoman-2.3.20
14 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
15
16 gnome-extra/gnome-weather/Manifest | 1 +
17 .../gnome-weather/gnome-weather-3.34.0.ebuild | 51 ++++++++++++++++++++++
18 2 files changed, 52 insertions(+)
19
20 diff --git a/gnome-extra/gnome-weather/Manifest b/gnome-extra/gnome-weather/Manifest
21 index d46ca5a9587..d3a13f74f10 100644
22 --- a/gnome-extra/gnome-weather/Manifest
23 +++ b/gnome-extra/gnome-weather/Manifest
24 @@ -1 +1,2 @@
25 DIST gnome-weather-3.32.2.tar.xz 5952300 BLAKE2B 536cac87066eb714bba15db0e662d9e9a0260caf67f3b9d7f2c8677deb3dc514d50768754bab46db1df9dc11367d1cf07690888b93031804d7a37a3898a1a689 SHA512 22f2de0f6d4355a44fef332d47a49b995d647d3d8d10c06a77c182d0efd6ea33f62e055f047a665710024ba02c90912ffefe67c8b299da6bb47d899d1d7a3825
26 +DIST gnome-weather-3.34.0.tar.xz 5954936 BLAKE2B 66d96af1a9e6c38bddf93ff56855bdaa2a260d0fe354ba2da4ce9377ede78dd4bf8ddf227249414a011734414dddaefa48bf0d7f7a5532303686679f788c792f SHA512 f8fd91deef1516b4a18a599415d54a04413a5771916a5c7105e22876e239fe22c325f2e3196f7bff23293893c85fe886fa3a8b4b380aecab62b5b02de58c7185
27
28 diff --git a/gnome-extra/gnome-weather/gnome-weather-3.34.0.ebuild b/gnome-extra/gnome-weather/gnome-weather-3.34.0.ebuild
29 new file mode 100644
30 index 00000000000..fa585992b10
31 --- /dev/null
32 +++ b/gnome-extra/gnome-weather/gnome-weather-3.34.0.ebuild
33 @@ -0,0 +1,51 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit gnome.org gnome2-utils meson xdg
40 +
41 +DESCRIPTION="A weather application for GNOME"
42 +HOMEPAGE="https://wiki.gnome.org/Design/Apps/Weather"
43 +
44 +LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm64 ~x86"
47 +
48 +DEPEND="
49 + >=dev-libs/glib-2.32:2
50 + >=dev-libs/gobject-introspection-1.56:=
51 + >=x11-libs/gtk+-3.20:3
52 + >=dev-libs/gjs-1.50
53 + >=app-misc/geoclue-2.3.1:2.0
54 + >=dev-libs/libgweather-3.28:=
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 +# Tests have a lot of issues, starting with reliance on a system installation,
67 +# accessing the network and other intermittent failures with network-sandbox disabled
68 +# https://gitlab.gnome.org/GNOME/gnome-weather/issues/67 (and rest not filed)
69 +# test dep: $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]')
70 +# With 3.34, this is now behind a dogtail option we can pass (and have data validation)
71 +
72 +src_configure() {
73 + meson_src_configure -Dprofile=default -Ddogtail=false
74 +}
75 +
76 +pkg_postinst() {
77 + xdg_pkg_postinst
78 + gnome2_schemas_update
79 +}
80 +
81 +pkg_postrm() {
82 + xdg_pkg_postrm
83 + gnome2_schemas_update
84 +}