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-systemload-plugin/
Date: Sun, 02 Dec 2018 16:00:43
Message-Id: 1543766219.39fbe413922a62cb0c19151885f0130614df1929.mgorny@gentoo
1 commit: 39fbe413922a62cb0c19151885f0130614df1929
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 2 15:16:04 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 2 15:56:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39fbe413
7
8 xfce-extra/xfce4-systemload-plugin: Bump to 1.2.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 xfce-extra/xfce4-systemload-plugin/Manifest | 1 +
13 .../xfce4-systemload-plugin-1.2.2.ebuild | 43 ++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/xfce-extra/xfce4-systemload-plugin/Manifest b/xfce-extra/xfce4-systemload-plugin/Manifest
17 index 33d30517125..647834c2448 100644
18 --- a/xfce-extra/xfce4-systemload-plugin/Manifest
19 +++ b/xfce-extra/xfce4-systemload-plugin/Manifest
20 @@ -1 +1,2 @@
21 DIST xfce4-systemload-plugin-1.2.1.tar.bz2 328136 BLAKE2B 0476c6e89be950a89f54d6d4fce0cfd0b4781520edb76e4280341f1f2c34e13ab54d68a84175524dd6877242da128c409f749c2c94ea6357dc453ed3c4da449d SHA512 01e57d799731a5860f043339ff0e90e0967ac1bda91d9f500d657ea14f3a52f31d9dd68ef5293f7941ef93e26e48af72de22aef976d0ccd497c62096e1aaf0b9
22 +DIST xfce4-systemload-plugin-1.2.2.tar.bz2 344197 BLAKE2B c83a55c3262f313c432947dbc240953e54a719bab6ba3714014624addab9b54b5172963792afab4d53c44d30590d9fef6f8b9712eddd7e57906cbe8e9dec35a8 SHA512 92930431383c128e449545b15a6d50aa6e236685619cc1abf0b60979f8a25010eb82ac4428f3e0e7eaac1468c3b101d6a0ef5d39e556346e74f4dddfffaa446b
23
24 diff --git a/xfce-extra/xfce4-systemload-plugin/xfce4-systemload-plugin-1.2.2.ebuild b/xfce-extra/xfce4-systemload-plugin/xfce4-systemload-plugin-1.2.2.ebuild
25 new file mode 100644
26 index 00000000000..a0bd84c3418
27 --- /dev/null
28 +++ b/xfce-extra/xfce4-systemload-plugin/xfce4-systemload-plugin-1.2.2.ebuild
29 @@ -0,0 +1,43 @@
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 xdg-utils
36 +
37 +DESCRIPTION="System load plug-in for Xfce panel"
38 +HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin"
39 +SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
40 +
41 +LICENSE="BSD-2"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
44 +IUSE="upower"
45 +
46 +RDEPEND=">=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
47 + >=xfce-base/xfce4-panel-4.12:=
48 + upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )"
49 +DEPEND="${RDEPEND}
50 + dev-util/intltool
51 + virtual/pkgconfig"
52 +
53 +src_configure() {
54 + econf $(use_enable upower)
55 +}
56 +
57 +src_install() {
58 + default
59 + find "${D}" -name '*.la' -delete || die
60 +}
61 +
62 +pkg_postinst() {
63 + xdg_desktop_database_update
64 + xdg_mimeinfo_database_update
65 + gnome2_icon_cache_update
66 +}
67 +
68 +pkg_postrm() {
69 + xdg_desktop_database_update
70 + xdg_mimeinfo_database_update
71 + gnome2_icon_cache_update
72 +}