diff options
author | Ian Jordan <immoloism@gmail.com> | 2023-12-18 02:35:09 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-21 11:49:43 +0000 |
commit | 4b69f53035fbb68a2635d94025d5f395e990d7e0 (patch) | |
tree | f10ba656cc9181bd46d1fd52410d6658dce4a2a6 /mate-extra | |
parent | mate-extra/mate-screensaver: add 1.26.2, 1.27.0 (diff) | |
download | gentoo-4b69f53035fbb68a2635d94025d5f395e990d7e0.tar.gz gentoo-4b69f53035fbb68a2635d94025d5f395e990d7e0.tar.bz2 gentoo-4b69f53035fbb68a2635d94025d5f395e990d7e0.zip |
mate-extra/mate-sensors-applet: add 1.27.0
Signed-off-by: Ian Jordan <immoloism@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mate-extra')
-rw-r--r-- | mate-extra/mate-sensors-applet/Manifest | 1 | ||||
-rw-r--r-- | mate-extra/mate-sensors-applet/mate-sensors-applet-1.27.0.ebuild | 61 |
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..08aa87e1c28a 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.27.0.tar.xz 650980 BLAKE2B 7184f89eaf5b451e57a31d020808d8726bd88d101421800f61f49ecd51441c0fa9c3380ccf68a243364a0b6698915be240bbfd6d550787fed2db389c4060cf20 SHA512 132e24a526535e84bd4714d2f77f918d96b54cfcdfcf6cd78f72034db59da0b9fd4bdc295967087e5fa72b06aec85bfdaa4a46343670865faf9dcabd65812526 diff --git a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.27.0.ebuild b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.27.0.ebuild new file mode 100644 index 000000000000..abdfd9fecf09 --- /dev/null +++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.27.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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} +} |