gentoo/xfce-extra/xfce4-systemload-plugin/xfce4-systemload-plugin-1.4.0.ebuild
Arthur Zamarin d752a91a2b
xfce-extra/xfce4-systemload-plugin: Stabilize 1.4.0 amd64, #957333
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-06-07 15:49:51 +03:00

56 lines
1.1 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson xdg-utils
DESCRIPTION="System load plug-in for Xfce panel"
HOMEPAGE="
https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start
https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/
"
SRC_URI="
https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.xz
"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="upower"
DEPEND="
>=dev-libs/glib-2.50.0
>=x11-libs/gtk+-3.22.0:3
>=xfce-base/libxfce4ui-4.16.0:=[gtk3(+)]
>=xfce-base/libxfce4util-4.17.2:=
>=xfce-base/xfce4-panel-4.16.0:=
>=xfce-base/xfconf-4.16.0:=
upower? ( >=sys-power/upower-0.99.0 )
"
RDEPEND="
${DEPEND}
"
BDEPEND="
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
# gtop is needed only as fallback when /proc is not available
-Dlibgtop=disabled
$(meson_feature upower upower-glib)
)
meson_src_configure
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}