diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-03-31 11:19:17 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-03-31 11:19:28 +0200 |
commit | 53079a9f9715f4e6b568ce58aeac73d38c3e72c5 (patch) | |
tree | 348fb1db0d180c8c32426411a5c922a6759f3779 /mate-extra/mate-sensors-applet | |
parent | x11-misc/sddm: version bump 0.18.1 (diff) | |
download | gentoo-53079a9f9715f4e6b568ce58aeac73d38c3e72c5.tar.gz gentoo-53079a9f9715f4e6b568ce58aeac73d38c3e72c5.tar.bz2 gentoo-53079a9f9715f4e6b568ce58aeac73d38c3e72c5.zip |
mate-extra/mate-sensors-applet: Fix dependencies on udisks for new version
Closes: https://bugs.gentoo.org/601360
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'mate-extra/mate-sensors-applet')
-rw-r--r-- | mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0-r1.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
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 new file mode 100644 index 000000000000..1bbeca988faf --- /dev/null +++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.22.0-r1.ebuild @@ -0,0 +1,62 @@ +# 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? ( >=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:2 ) )" + +src_configure() { + local udisks + + if use hddtemp && use dbus; then + udisks="--enable-udisks2" + else + udisks="--disable-udisks2" + fi + + mate_src_configure \ + --disable-netbsd \ + --disable-static \ + --without-aticonfig \ + $(use_enable libnotify) \ + $(use_with lm_sensors libsensors) \ + $(use_with video_cards_nvidia nvidia) \ + ${udisks} +} |