1 |
commit: 53079a9f9715f4e6b568ce58aeac73d38c3e72c5 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 31 09:19:17 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 31 09:19:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53079a9f |
7 |
|
8 |
mate-extra/mate-sensors-applet: Fix dependencies on udisks for new version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/601360 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
13 |
|
14 |
.../mate-sensors-applet-1.22.0-r1.ebuild | 62 ++++++++++++++++++++++ |
15 |
1 file changed, 62 insertions(+) |
16 |
|
17 |
diff --git a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0-r1.ebuild b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..1bbeca988fa |
20 |
--- /dev/null |
21 |
+++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0-r1.ebuild |
22 |
@@ -0,0 +1,62 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+MATE_LA_PUNT="yes" |
29 |
+ |
30 |
+inherit mate |
31 |
+ |
32 |
+if [[ ${PV} != 9999 ]]; then |
33 |
+ KEYWORDS="~amd64 ~arm ~x86" |
34 |
+fi |
35 |
+ |
36 |
+DESCRIPTION="MATE panel applet to display readings from hardware sensors" |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+ |
40 |
+IUSE="+dbus hddtemp libnotify lm_sensors video_cards_nvidia" |
41 |
+ |
42 |
+COMMON_DEPEND=">=dev-libs/glib-2.50:2 |
43 |
+ >=mate-base/mate-panel-1.17.0 |
44 |
+ >=x11-libs/cairo-1.0.4 |
45 |
+ x11-libs/gdk-pixbuf:2 |
46 |
+ >=x11-libs/gtk+-3.22:3 |
47 |
+ virtual/libintl |
48 |
+ hddtemp? ( >=app-admin/hddtemp-0.3_beta13 ) |
49 |
+ libnotify? ( >=x11-libs/libnotify-0.7 ) |
50 |
+ lm_sensors? ( sys-apps/lm_sensors ) |
51 |
+ video_cards_nvidia? ( || ( |
52 |
+ >=x11-drivers/nvidia-drivers-100.14.09:0[static-libs,tools] |
53 |
+ ) )" |
54 |
+ |
55 |
+RDEPEND="${COMMON_DEPEND}" |
56 |
+ |
57 |
+DEPEND="${COMMON_DEPEND} |
58 |
+ app-text/rarian |
59 |
+ >=app-text/scrollkeeper-dtd-1:1.0 |
60 |
+ app-text/yelp-tools |
61 |
+ >=dev-util/intltool-0.50.1:* |
62 |
+ sys-devel/gettext:* |
63 |
+ virtual/pkgconfig:*" |
64 |
+ |
65 |
+PDEPEND="hddtemp? ( dbus? ( sys-fs/udisks:2 ) )" |
66 |
+ |
67 |
+src_configure() { |
68 |
+ local udisks |
69 |
+ |
70 |
+ if use hddtemp && use dbus; then |
71 |
+ udisks="--enable-udisks2" |
72 |
+ else |
73 |
+ udisks="--disable-udisks2" |
74 |
+ fi |
75 |
+ |
76 |
+ mate_src_configure \ |
77 |
+ --disable-netbsd \ |
78 |
+ --disable-static \ |
79 |
+ --without-aticonfig \ |
80 |
+ $(use_enable libnotify) \ |
81 |
+ $(use_with lm_sensors libsensors) \ |
82 |
+ $(use_with video_cards_nvidia nvidia) \ |
83 |
+ ${udisks} |
84 |
+} |