From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF5E91580FD for ; Tue, 24 Dec 2024 11:17:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CAEEE0835; Tue, 24 Dec 2024 11:17:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E434DE0830 for ; Tue, 24 Dec 2024 11:17:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F37F9340A12 for ; Tue, 24 Dec 2024 11:17:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ADAFE19A0 for ; Tue, 24 Dec 2024 11:17:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1735039042.805420c81fa9592ff3185d4066d164c512d6f55b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-battery-plugin/ X-VCS-Repository: repo/gentoo X-VCS-Files: xfce-extra/xfce4-battery-plugin/Manifest xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.6.ebuild X-VCS-Directories: xfce-extra/xfce4-battery-plugin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 805420c81fa9592ff3185d4066d164c512d6f55b X-VCS-Branch: master Date: Tue, 24 Dec 2024 11:17:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6f62af41-9da5-4421-92c1-5893a3d82f18 X-Archives-Hash: e5358135c0801b9231e9e606b4c25109 commit: 805420c81fa9592ff3185d4066d164c512d6f55b Author: Michał Górny gentoo org> AuthorDate: Tue Dec 24 11:13:48 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Dec 24 11:17:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805420c8 xfce-extra/xfce4-battery-plugin: Bump to 1.1.6 Signed-off-by: Michał Górny gentoo.org> xfce-extra/xfce4-battery-plugin/Manifest | 1 + .../xfce4-battery-plugin-1.1.6.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/xfce-extra/xfce4-battery-plugin/Manifest b/xfce-extra/xfce4-battery-plugin/Manifest index e9925d753027..454ed13ffb22 100644 --- a/xfce-extra/xfce4-battery-plugin/Manifest +++ b/xfce-extra/xfce4-battery-plugin/Manifest @@ -1 +1,2 @@ DIST xfce4-battery-plugin-1.1.5.tar.bz2 465191 BLAKE2B 6aa8f1d3cd3dbf3fe29fede154ad51c7cf521c04191699582678e930c2ff0a20c2f50bda22d9576b1f29b595767c5ee1ce4a7ef60cdf3fd69271796d2af8ae2e SHA512 e6e09a4839911dda50fe1fed100d5fd46f6da47e5042529c2cbffa5498babc838bed56178baa23d2162b70cd6e5f005276d4b9f1fc44a1891737c94c2bf525d0 +DIST xfce4-battery-plugin-1.1.6.tar.bz2 569701 BLAKE2B 5f401ff5f9bc447f4b73c5341ece8659c74cb2e68e0cd14eb982d3a831f20948250084a16c99c45afde8cc1a001959fdd5a36402400106281152f71a760a3059 SHA512 809c0f24adf914501ae9431af43caa36f72594dc686451bdd27b895cca80a51e76120a1cf191944e4b8b004d18ecc890caca9faa725cee230516bb1d0ad57415 diff --git a/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.6.ebuild b/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.6.ebuild new file mode 100644 index 000000000000..1f3018ef0e77 --- /dev/null +++ b/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info xdg-utils + +DESCRIPTION="A battery monitor panel plugin for the Xfce desktop environment" +HOMEPAGE=" + https://docs.xfce.org/panel-plugins/xfce4-battery-plugin/start + https://gitlab.xfce.org/panel-plugins/xfce4-battery-plugin/ +" +SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~riscv ~x86" + +DEPEND=" + >=dev-libs/glib-2.50.0:2 + >=x11-libs/gtk+-3.22.0:3 + >=xfce-base/libxfce4ui-4.16.0:=[gtk3(+)] + >=xfce-base/libxfce4util-4.16.0:= + >=xfce-base/xfce4-panel-4.16.0:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~ACPI_BATTERY" + linux-info_pkg_setup + fi +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}