commit: 2f3f2969235f8482d873168f0a89c64660cd121f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 25 09:44:08 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 25 09:44:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f3f2969
xfce-extra/xfce4-systemload-plugin: Bump to 1.3.3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> xfce-extra/xfce4-systemload-plugin/Manifest | 1 + .../xfce4-systemload-plugin-1.3.3.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/xfce-extra/xfce4-systemload-plugin/Manifest b/xfce-extra/xfce4-systemload-plugin/Manifest index 3a9e5f22f747..ce348d75ebb7 100644 --- a/xfce-extra/xfce4-systemload-plugin/Manifest +++ b/xfce-extra/xfce4-systemload-plugin/Manifest @@ -1 +1,2 @@ DIST xfce4-systemload-plugin-1.3.2.tar.bz2 409767 BLAKE2B 1213c007431318628f4f81026ccdbca2e5b9d34462d66354a1c37999aadc0ef9ed84246bc7f185fd633898364dc0440297dde18288f8beea1d5c7bf6663a6a04 SHA512 f432988f439e5fd7ada16b3e6eaa42b3351531ba3e2b63e2570387bf4d7e605ff9d5a97fde3f5f5eb323ff08aaf3c050f161a5768392b80aa99fabaabda82431 +DIST xfce4-systemload-plugin-1.3.3.tar.bz2 519937 BLAKE2B ec9398341b04fa40876c613ea76fd2cef26b0505bc7409d1f0d5e8965c743e708b3dc0fa82d60d8f5b1a1af499f4414eda56b1414b25d3550a5d508a4609b43d SHA512 5dd74af41df01af1cf064effd33e13f26f530ffe0a043cce7b6519187393099a4da7e8c8e035c50796d1d19f09e38d2d75966e1e4fa5d1db8cb44d0e020a802c diff --git a/xfce-extra/xfce4-systemload-plugin/xfce4-systemload-plugin-1.3.3.ebuild b/xfce-extra/xfce4-systemload-plugin/xfce4-systemload-plugin-1.3.3.ebuild new file mode 100644 index 000000000000..63998ad2668b --- /dev/null +++ b/xfce-extra/xfce4-systemload-plugin/xfce4-systemload-plugin-1.3.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~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 myconf=( + # gtop is needed only as fallback when /proc is not available + --disable-libgtop + $(use_enable upower) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}