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: Sun, 11 Aug 2019 20:17:04
Message-Id: 1565554617.ce330da9083727d4dc6bb755142355a3db56ff34.mgorny@gentoo
1 commit: ce330da9083727d4dc6bb755142355a3db56ff34
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 11 20:14:36 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 11 20:16:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce330da9
7
8 xfce-extra/xfce4-weather-plugin: Bump to 0.10.0
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.10.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 3fa531873c3..581977aef9e 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.10.0.tar.bz2 3032575 BLAKE2B 2dc81c8d60ab63ff9adb90d53a5eb89e98c3e4b950d8b5943fb2b39b4944164470d7e10dcd096ef90665129d1aa59e052b3140d1462077a285afde4bcdcba047 SHA512 168a850c60f419f40f6c05dbedf24a4f3aea3be04e14c5eb2596a03a8dee5850a80d06b63bee54690b63385109d53ccf8ff2b97a2c879e196046308436a7d126
22 DIST xfce4-weather-plugin-0.9.1.tar.bz2 3018842 BLAKE2B d1fa1d3e1f99aff9f726fad13a40a6f288bddc32e3c06958a571a4526d1f4a7a9386cebc5ddac1c5132f591099e0f01507fab1d158b8f686f28d2d7c9e1d8c19 SHA512 f8f50ad629719193f18cf9106379a7de7ba4ba0824eca3ec3716031cd46f5631280ff446fe651326097e3fbe6703c1d29f2ce044b1eada1613b198d30d167d09
23
24 diff --git a/xfce-extra/xfce4-weather-plugin/xfce4-weather-plugin-0.10.0.ebuild b/xfce-extra/xfce4-weather-plugin/xfce4-weather-plugin-0.10.0.ebuild
25 new file mode 100644
26 index 00000000000..ac752365a95
27 --- /dev/null
28 +++ b/xfce-extra/xfce4-weather-plugin/xfce4-weather-plugin-0.10.0.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2019 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit xdg-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 )"
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 + xdg_icon_cache_update
69 +}
70 +
71 +pkg_postrm() {
72 + xdg_icon_cache_update
73 +}