summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jordan <immoloism@gmail.com>2024-04-06 15:25:13 +0100
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-09 20:19:16 +0300
commita484d524075de972305d9dff9e91b35575349e58 (patch)
treec319d753a9ace4fb50ed9e6490be1a1deb37d693 /mate-extra
parentmate-extra/mate-sensors-applet: drop 1.27.0 (diff)
downloadgentoo-a484d524075de972305d9dff9e91b35575349e58.tar.gz
gentoo-a484d524075de972305d9dff9e91b35575349e58.tar.bz2
gentoo-a484d524075de972305d9dff9e91b35575349e58.zip
mate-extra/mate-sensors-applet: add 1.28.0
Signed-off-by: Ian Jordan <immoloism@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'mate-extra')
-rw-r--r--mate-extra/mate-sensors-applet/Manifest1
-rw-r--r--mate-extra/mate-sensors-applet/mate-sensors-applet-1.28.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/mate-extra/mate-sensors-applet/Manifest b/mate-extra/mate-sensors-applet/Manifest
index f2397c34248c..cdf5d597a00e 100644
--- a/mate-extra/mate-sensors-applet/Manifest
+++ b/mate-extra/mate-sensors-applet/Manifest
@@ -1 +1,2 @@
DIST mate-sensors-applet-1.26.0.tar.xz 563440 BLAKE2B 87919c3299253dc037d165dc7223fb7e02f993568ef454211746fffa2e260f54b9ad76bd5b023f9aa215a4796aa2a34dda249b132c415af7c5c4e82e84c5086b SHA512 1419c63e823bcec5d8fc4a619b3eb6c1eef0ac5d923177fae6649664616824cb5a257121aa88ab5d56d1d5ff5c44f1d62a4dd325dc718091e2d2e16ae326fa36
+DIST mate-sensors-applet-1.28.0.tar.xz 624084 BLAKE2B f0f914cfd5dd995ad734c4c4c4de7502d2d3e175bba9cf0a9ab9886e802e34af27ec9ac2557353dd5255a1d8b16c8c923e9ac706d40b11744958f057377894ff SHA512 53fa5adc11bdf56142a6c5c9fbbdd31777600e117b98e4f871cfed28e1a8f1ddf9741f983998963098c1eef5bcb6406de17726ce21fdd36523d067c56ab4f186
diff --git a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.28.0.ebuild b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.28.0.ebuild
new file mode 100644
index 000000000000..cbebc92e72bc
--- /dev/null
+++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.28.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+MINOR=$(($(ver_cut 2) % 2))
+if [[ ${MINOR} -eq 0 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~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/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}
+}