summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-03-17 01:35:49 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-03-17 14:10:57 +0300
commita969154b39e5894475880f588fb676fe49cd91e4 (patch)
tree375174f71a3641d1e1acb0d0d0681bfb7c9ab22c /mate-extra/mate-sensors-applet
parentmate-base/libmatekbd: Version bump (v1.22.0) (diff)
downloadgentoo-a969154b39e5894475880f588fb676fe49cd91e4.tar.gz
gentoo-a969154b39e5894475880f588fb676fe49cd91e4.tar.bz2
gentoo-a969154b39e5894475880f588fb676fe49cd91e4.zip
mate-extra/mate-sensors-applet: Version bump (v1.22.0)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'mate-extra/mate-sensors-applet')
-rw-r--r--mate-extra/mate-sensors-applet/Manifest1
-rw-r--r--mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/mate-extra/mate-sensors-applet/Manifest b/mate-extra/mate-sensors-applet/Manifest
index b802c0d119e3..6e20ea2058ec 100644
--- a/mate-extra/mate-sensors-applet/Manifest
+++ b/mate-extra/mate-sensors-applet/Manifest
@@ -1 +1,2 @@
DIST mate-sensors-applet-1.18.3.tar.xz 385728 BLAKE2B 42a38121db367788af906aec08261512b8aa96ad3782c1aca0d29b8371a598855ee0d7a3c63306929d45e4d58fb01e117efd91b4bd6b104c49790ff8e73c292f SHA512 39e23839eebe460a99d002d6f897d3053a6940cb33a24c923790e976b72be7a260cd06be326abbb3917b85b6b6fa779cc5f1c06dbf9c19c45ec3f1bf6a93a96e
+DIST mate-sensors-applet-1.22.0.tar.xz 511876 BLAKE2B 6e2008d60a5530ab233da0fe67a38fea2abfba0d745386d82d44e21e59a5d7a08e7f97390f3b8e3df16699c8b69bf1f9c3d4762b45f4652838672c57ec91bf34 SHA512 f756fdff4dd8fe824fbe41956411ca1e6ce251fc1d43276c7244a8a806e91bacc283c412b831935136682971509e23c08538264963af31488bee15ce5644d5cb
diff --git a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0.ebuild b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0.ebuild
new file mode 100644
index 000000000000..9af3b881d01f
--- /dev/null
+++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="MATE panel applet to display readings from hardware sensors"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="+dbus hddtemp libnotify lm_sensors video_cards_nvidia"
+
+COMMON_DEPEND=">=dev-libs/glib-2.50:2
+ >=mate-base/mate-panel-1.17.0
+ >=x11-libs/cairo-1.0.4
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.22:3
+ virtual/libintl
+ hddtemp? (
+ dbus? (
+ >=dev-libs/dbus-glib-0.80
+ >=dev-libs/libatasmart-0.16 )
+ !dbus? ( >=app-admin/hddtemp-0.3_beta13 ) )
+ libnotify? ( >=x11-libs/libnotify-0.7 )
+ lm_sensors? ( sys-apps/lm_sensors )
+ video_cards_nvidia? ( || (
+ >=x11-drivers/nvidia-drivers-100.14.09:0[static-libs,tools]
+ ) )"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DEPEND="${COMMON_DEPEND}
+ app-text/rarian
+ >=app-text/scrollkeeper-dtd-1:1.0
+ app-text/yelp-tools
+ >=dev-util/intltool-0.50.1:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+PDEPEND="hddtemp? ( dbus? ( sys-fs/udisks:0 ) )"
+
+src_configure() {
+ local udisks
+
+ if use hddtemp && use dbus; then
+ udisks="--enable-udisks"
+ else
+ udisks="--disable-udisks"
+ fi
+
+ mate_src_configure \
+ --disable-static \
+ --without-aticonfig \
+ $(use_enable libnotify) \
+ $(use_with lm_sensors libsensors) \
+ $(use_with video_cards_nvidia nvidia) \
+ ${udisks}
+}