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-sensors-plugin/
Date: Sat, 27 Oct 2018 12:30:38
Message-Id: 1540643430.ea1688642bc27909ed769f3c775aad08bc0ad7e2.mgorny@gentoo
1 commit: ea1688642bc27909ed769f3c775aad08bc0ad7e2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 27 12:18:28 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 27 12:30:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea168864
7
8 xfce-extra/xfce4-sensors-plugin: Bump to 1.3.90 (alpha for 1.4)
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.3.90.ebuild | 61 ++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/xfce-extra/xfce4-sensors-plugin/Manifest b/xfce-extra/xfce4-sensors-plugin/Manifest
17 index a7ef4a440ea..23d8c8ccb4a 100644
18 --- a/xfce-extra/xfce4-sensors-plugin/Manifest
19 +++ b/xfce-extra/xfce4-sensors-plugin/Manifest
20 @@ -1,3 +1,4 @@
21 DIST xfce4-sensors-plugin-1.2.6.tar.bz2 454524 BLAKE2B 1dc663f726f6079fc030ef08fc9384fd4ccf3b05786bb899c7028d9adb66d85e3da4d9aed5a29cc5b15c0bb258538fdca31cd2a9430710c1e0a383f8eb8d2353 SHA512 5c520f1c253df1bb9e29855c5ccfc1536034945ca68b43cd8b6d97083e528b2430230d9c51d43953a71c3f0171ae718bf1557714729b1343ebd51f91f3f36d60
22 DIST xfce4-sensors-plugin-1.2.98.tar.bz2 477241 BLAKE2B dcb757e7014a159fbba77a24248a0663207aa0031a624d60c899483b608f729e31dafdd2de4e5d6a64122a2abbaa21eaa857afdbfa266203b0639ced7f299d4a SHA512 6437acc17d2719e3deef011c206c8c5593f4b14a8263e82bb3b0e8b1cb7e17e842adf2cb3a479e1a8e2729db744df2778ee04bc9af5e4c918f417e1c8ac4d17e
23 DIST xfce4-sensors-plugin-1.3.0.tar.bz2 466468 BLAKE2B 52eadaec22980105fcf4c4e5efb4621b0966e86520e7ded90a1514f7925d76232278ec105785409dbe13f5ab4019363b47b63b5df642319a924fe5a8882b847c SHA512 77f6df354c883f9f0b99856738e0976e7bddd5f16c90a8715777c4f4d6debe116cdc21c2e0efbbe9f371d36f9469797d3e631854c33f8561e3ff32291cdef35a
24 +DIST xfce4-sensors-plugin-1.3.90.tar.bz2 474322 BLAKE2B 3d3e4c08ea1e6c973b3dc274a64826e4cd1ff75ab9eda91a822eaf1caad7786364d2c5f35b36d3b5772d0f99e7c13349f69c23f98312cecdda1d73eb87b33839 SHA512 692bcaad876323627a882f5e6e535f547e8eff59676a0586c86496abe410d395fd4f049febcd9c8bd774eed9713d5e12e3f13d5eda91c888eb165fc7bcf8c294
25
26 diff --git a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.90.ebuild b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.90.ebuild
27 new file mode 100644
28 index 00000000000..41cea6e1651
29 --- /dev/null
30 +++ b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.90.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit gnome2-utils
38 +
39 +DESCRIPTION="A panel plug-in for acpi, lm_sensors and hddtemp sensors"
40 +HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
41 +SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~ppc ~x86"
46 +IUSE="+acpi hddtemp libnotify lm_sensors video_cards_nvidia"
47 +
48 +REQUIRED_USE="|| ( hddtemp lm_sensors acpi )"
49 +
50 +RDEPEND=">=x11-libs/gtk+-3.20:3=
51 + >=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
52 + >=xfce-base/xfce4-panel-4.12:=
53 + hddtemp? ( app-admin/hddtemp net-analyzer/gnu-netcat )
54 + libnotify? ( >=x11-libs/libnotify-0.7:= )
55 + lm_sensors? ( >=sys-apps/lm_sensors-3.1.0:= )
56 + video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )"
57 +
58 +DEPEND="${RDEPEND}
59 + dev-util/intltool
60 + virtual/pkgconfig"
61 +
62 +DOCS=( AUTHORS ChangeLog NEWS NOTES README TODO )
63 +
64 +src_configure() {
65 + local myconf=(
66 + --libexecdir="${EPREFIX}"/usr/$(get_libdir)
67 + $(use_enable lm_sensors libsensors)
68 + $(use_enable hddtemp)
69 + $(use_enable hddtemp netcat)
70 + $(use_enable acpi procacpi)
71 + $(use_enable acpi sysfsacpi)
72 + $(use_enable video_cards_nvidia xnvctrl)
73 + $(use_enable libnotify notification)
74 + --disable-pathchecks
75 + )
76 +
77 + econf "${myconf[@]}"
78 +}
79 +
80 +src_install() {
81 + emake DESTDIR="${D}" install
82 + einstalldocs
83 + find "${D}" -name '*.la' -delete || die
84 +}
85 +
86 +pkg_postinst() {
87 + gnome2_icon_cache_update
88 +}
89 +
90 +pkg_postrm() {
91 + gnome2_icon_cache_update
92 +}