Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-weather-plugin/
Date: Mon, 24 Sep 2018 16:29:43
Message-Id: 1537806571.3cd65a4f0bfac27c31b4e52dacd0eb660756a07e.mgorny@gentoo
1 commit: 3cd65a4f0bfac27c31b4e52dacd0eb660756a07e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 24 16:16:54 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 24 16:29:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd65a4f
7
8 xfce-extra/xfce4-weather-plugin: Bump to 0.9.0 (GTK+3 port)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 xfce-extra/xfce4-weather-plugin/Manifest | 1 +
13 .../xfce4-weather-plugin-0.9.0.ebuild | 44 ++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/xfce-extra/xfce4-weather-plugin/Manifest b/xfce-extra/xfce4-weather-plugin/Manifest
17 index fad9cadb7e7..b3a8139ef37 100644
18 --- a/xfce-extra/xfce4-weather-plugin/Manifest
19 +++ b/xfce-extra/xfce4-weather-plugin/Manifest
20 @@ -1 +1,2 @@
21 DIST xfce4-weather-plugin-0.8.10.tar.bz2 2991350 BLAKE2B c3c71952a196d49068bac9c1de0695d2845db6931cfe220caf5ebb88919eb40fa0fc9c9a6dc640adbd82fa284449daf6ac537aaf5d258108083b2e63d8288610 SHA512 e40f794e824cc48038ece0c1336eed21b2e28091b86a4b76099c092c2e45abc5041d010d286f64fc483e8ad7c496127152df86330187afbd0872506d89f37c35
22 +DIST xfce4-weather-plugin-0.9.0.tar.bz2 2953904 BLAKE2B 6d8cf9b4d58b538b89ff72149e065d744f38333de9636baf0209bd49db130a3a0dd035a4c5c216bbd41302511a2784fff1d0ea90722d1d0409a44de0cfcb17aa SHA512 2a6fbeceb99d809cc4a928d0d53f92c7c638adbdc78d39dc2857b3506fb4287291702f078b547752176e0d2660a6365b62a7d8459ab88bea744dee28268e326a
23
24 diff --git a/xfce-extra/xfce4-weather-plugin/xfce4-weather-plugin-0.9.0.ebuild b/xfce-extra/xfce4-weather-plugin/xfce4-weather-plugin-0.9.0.ebuild
25 new file mode 100644
26 index 00000000000..07104d92080
27 --- /dev/null
28 +++ b/xfce-extra/xfce4-weather-plugin/xfce4-weather-plugin-0.9.0.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit gnome2-utils
36 +
37 +DESCRIPTION="A weather plug-in for the Xfce desktop environment"
38 +HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
39 +SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
40 +
41 +LICENSE="GPL-2+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
44 +IUSE="upower"
45 +
46 +RDEPEND=">=dev-libs/glib-2.42
47 + dev-libs/libxml2:=
48 + >=net-libs/libsoup-2.42:=[ssl]
49 + >=x11-libs/gtk+-3.22:3
50 + >=xfce-base/libxfce4ui-4.12:=
51 + >=xfce-base/libxfce4util-4.12:=
52 + >=xfce-base/xfce4-panel-4.12:=
53 + upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )"
54 +DEPEND="${RDEPEND}
55 + dev-util/intltool
56 + virtual/pkgconfig"
57 +
58 +src_configure() {
59 + # For GEONAMES_USERNAME, read README file and ask ssuominen@!
60 + local myconf=(
61 + $(use_enable upower)
62 + GEONAMES_USERNAME=Gentoo
63 + )
64 + econf "${myconf[@]}"
65 +}
66 +
67 +pkg_postinst() {
68 + gnome2_icon_cache_update
69 +}
70 +
71 +pkg_postrm() {
72 + gnome2_icon_cache_update
73 +}