diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2023-05-08 23:39:23 +0530 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-09 18:50:54 +0100 |
commit | 2e2f143876b32fbaeae7e1d59e79cbe340612c76 (patch) | |
tree | 0a9b73adb0837cc7b63bd93b4fca518d13c2902b /mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0-r1.ebuild | |
parent | x11-misc/spacefm: drop 9999 (diff) | |
download | gentoo-2e2f143876b32fbaeae7e1d59e79cbe340612c76.tar.gz gentoo-2e2f143876b32fbaeae7e1d59e79cbe340612c76.tar.bz2 gentoo-2e2f143876b32fbaeae7e1d59e79cbe340612c76.zip |
mate-extra/mate-sensors-applet: fix undeclared function setlocale
Closes: https://bugs.gentoo.org/896200
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30937
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0-r1.ebuild')
-rw-r--r-- | mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0-r1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0-r1.ebuild b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0-r1.ebuild new file mode 100644 index 000000000000..47853d0d23d7 --- /dev/null +++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.26.0-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 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 ) )" + +PATCHES=( + "${FILESDIR}"/${PV}-clang-16-fix-undeclared-function-setlocale.patch +) + +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} +} |