1 |
commit: edeb548edafa9dd92ba8bdd88845712ca376bbb9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 26 20:54:11 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 26 20:54:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edeb548e |
7 |
|
8 |
xfce-extra/xfce4-sensors-plugin: Bump to 1.4.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
xfce-extra/xfce4-sensors-plugin/Manifest | 1 + |
13 |
.../xfce4-sensors-plugin-1.4.1.ebuild | 65 ++++++++++++++++++++++ |
14 |
2 files changed, 66 insertions(+) |
15 |
|
16 |
diff --git a/xfce-extra/xfce4-sensors-plugin/Manifest b/xfce-extra/xfce4-sensors-plugin/Manifest |
17 |
index 201fd9183da..1cee65559d4 100644 |
18 |
--- a/xfce-extra/xfce4-sensors-plugin/Manifest |
19 |
+++ b/xfce-extra/xfce4-sensors-plugin/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xfce4-sensors-plugin-1.3.95.tar.bz2 486771 BLAKE2B 130b38d30bcbb2e08ca167846f32ebc7e60ea2cd855ae0bcbcf82e8a73c9cdf04cd91da5c5e8e1a73c79b0d36e00366a37fa04cb40abc477df70dd2ee77d866f SHA512 265dec06bcd7a609b992e70273e8b11fdbaec41b0eb4dcb1b390e315b924743b3833b65fe2d237bb0b457e61943b97c065b34138216b171d111f5e923602642b |
22 |
+DIST xfce4-sensors-plugin-1.4.1.tar.bz2 471543 BLAKE2B a5cc58c7c8a68b78dca7c810083daa69a43e265161e2dcfd2b99ee16fa40583c0e5a6f1e31cb6d3ad23f8a0cccacd52ca7d44623a32951b185614404f917c7a6 SHA512 d3f335e1f18fe748648be07ace6a88eb9f95222dd4d8dd4f6e5cbb3b7c69bd93b02fdbe12b9f08e65fbf7ba8461d7a685467f9e62c0682c85b3699fae5b7ed33 |
23 |
|
24 |
diff --git a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.4.1.ebuild b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.4.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c6f3e1ff121 |
27 |
--- /dev/null |
28 |
+++ b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.4.1.ebuild |
29 |
@@ -0,0 +1,65 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit xdg-utils |
36 |
+ |
37 |
+DESCRIPTION="A panel plug-in for acpi, lm-sensors and hddtemp sensors" |
38 |
+HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-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 ~ppc ~ppc64 ~x86" |
44 |
+IUSE="+acpi hddtemp libnotify lm-sensors video_cards_nvidia" |
45 |
+ |
46 |
+REQUIRED_USE="|| ( hddtemp lm-sensors acpi )" |
47 |
+ |
48 |
+RDEPEND=">=x11-libs/gtk+-3.20:3= |
49 |
+ >=xfce-base/libxfce4ui-4.12:=[gtk3(+)] |
50 |
+ >=xfce-base/xfce4-panel-4.12:= |
51 |
+ hddtemp? ( |
52 |
+ app-admin/hddtemp |
53 |
+ || ( |
54 |
+ net-analyzer/openbsd-netcat |
55 |
+ net-analyzer/netcat |
56 |
+ ) |
57 |
+ ) |
58 |
+ libnotify? ( >=x11-libs/libnotify-0.7:= ) |
59 |
+ lm-sensors? ( >=sys-apps/lm-sensors-3.1.0:= ) |
60 |
+ video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )" |
61 |
+DEPEND=${RDEPEND} |
62 |
+ |
63 |
+BDEPEND=" |
64 |
+ dev-util/intltool |
65 |
+ virtual/pkgconfig" |
66 |
+ |
67 |
+src_configure() { |
68 |
+ local myconf=( |
69 |
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
70 |
+ $(use_enable lm-sensors libsensors) |
71 |
+ $(use_enable hddtemp) |
72 |
+ $(use_enable hddtemp netcat) |
73 |
+ $(use_enable acpi procacpi) |
74 |
+ $(use_enable acpi sysfsacpi) |
75 |
+ $(use_enable video_cards_nvidia xnvctrl) |
76 |
+ $(use_enable libnotify notification) |
77 |
+ --disable-pathchecks |
78 |
+ ) |
79 |
+ |
80 |
+ econf "${myconf[@]}" |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ default |
85 |
+ find "${D}" -name '*.la' -delete || die |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ xdg_icon_cache_update |
90 |
+} |
91 |
+ |
92 |
+pkg_postrm() { |
93 |
+ xdg_icon_cache_update |
94 |
+} |