commit: 6d6280b0c0360cbee0177c71b22d10d2bf66b70c
Author: Oz Tiram <oz.tiram <AT> gmail <DOT> com>
AuthorDate: Sun Nov 27 21:26:17 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 3 01:04:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d6280b0
mate-extra/mate-sensors-applet: add 1.26.0
Signed-off-by: Oz Tiram <oz.tiram <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
mate-extra/mate-sensors-applet/Manifest | 1 +
.../mate-sensors-applet-1.26.0.ebuild | 61 ++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/mate-extra/mate-sensors-applet/Manifest
b/mate-extra/mate-sensors-applet/Manifest
index ba5b4f7f2867..a449d7486113 100644
--- a/mate-extra/mate-sensors-applet/Manifest
+++ b/mate-extra/mate-sensors-applet/Manifest
@@ -1 +1,2 @@
DIST mate-sensors-applet-1.24.1.tar.xz 578964 BLAKE2B
e9a7eacb032738014c3e91595ae1f2673973b20c09fd02bd186aa5468773a1322022fbb245b9ec6e9c987405014b91e0f7c12e072f9c3ba6cd9df32c1ee99703
SHA512
3bf21d501e067a2ce002c5149f42161cc6917609ceb2396b705e905987cb4d989725ca825c6de7bbe4e950f7a01e755c2cd5b45532d6f65aef690f394741489a
+DIST mate-sensors-applet-1.26.0.tar.xz 563440 BLAKE2B
87919c3299253dc037d165dc7223fb7e02f993568ef454211746fffa2e260f54b9ad76bd5b023f9aa215a4796aa2a34dda249b132c415af7c5c4e82e84c5086b
SHA512
1419c63e823bcec5d8fc4a619b3eb6c1eef0ac5d923177fae6649664616824cb5a257121aa88ab5d56d1d5ff5c44f1d62a4dd325dc718091e2d2e16ae326fa36
diff --git a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0.ebuild
b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0.ebuild
new file mode 100644
index 000000000000..9b6ea714b90a
--- /dev/null
+++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="MATE panel applet to display readings from hardware sensors"
+LICENSE="FDL-1.1+ 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
+ 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}
+ virtual/libintl
+"
+
+BDEPEND="${COMMON_DEPEND}
+ app-text/rarian
+ >=app-text/scrollkeeper-dtd-1:1.0
+ app-text/yelp-tools
+ >=sys-devel/gettext-0.19.8
+ 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 \
+ $(use_enable libnotify) \
+ $(use_with lm-sensors libsensors) \
+ $(use_with video_cards_nvidia nvidia) \
+ ${udisks}
+}