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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D62211382C5 for ; Tue, 23 Mar 2021 12:06:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 283BDE086A; Tue, 23 Mar 2021 12:06:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE11AE086A for ; Tue, 23 Mar 2021 12:06:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E8EF335D1A for ; Tue, 23 Mar 2021 12:06:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C29A592 for ; Tue, 23 Mar 2021 12:06:22 +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: <1616501179.13e45fc64d54adca3d356eb27677db0476f10f6d.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.4.ebuild X-VCS-Directories: xfce-extra/xfce4-battery-plugin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 13e45fc64d54adca3d356eb27677db0476f10f6d X-VCS-Branch: master Date: Tue, 23 Mar 2021 12:06:22 +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: 07b37497-5783-4dc3-8b9a-070563220e1b X-Archives-Hash: daff7e07e46ad303bcb8c0c63af05f65 commit: 13e45fc64d54adca3d356eb27677db0476f10f6d Author: Michał Górny gentoo org> AuthorDate: Tue Mar 23 12:03:22 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 23 12:06:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e45fc6 xfce-extra/xfce4-battery-plugin: Bump to 1.1.4 Signed-off-by: Michał Górny gentoo.org> xfce-extra/xfce4-battery-plugin/Manifest | 1 + .../xfce4-battery-plugin-1.1.4.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/xfce-extra/xfce4-battery-plugin/Manifest b/xfce-extra/xfce4-battery-plugin/Manifest index a5d4b7d0cbb..6f562c1a2e9 100644 --- a/xfce-extra/xfce4-battery-plugin/Manifest +++ b/xfce-extra/xfce4-battery-plugin/Manifest @@ -1 +1,2 @@ DIST xfce4-battery-plugin-1.1.3.tar.bz2 431118 BLAKE2B 305255b4ea0f232f5dae29b47c4ec66b26a5848783d6aa6b3379b98fe9312b302cde8302aa3d2c8bd945b3b160cdf5b6e612f452f5595f61ddaf5659342e3480 SHA512 a591fb37855efbd54d18ae97e320fa4521da611c8ea107813bfd66fa570e8c84576fcf779c7b676ee9918709912de728b0fed490e64d3d2ad403baf719db4520 +DIST xfce4-battery-plugin-1.1.4.tar.bz2 458485 BLAKE2B 5af18d0f8944afdc6c93852220cd87020d7ea18ce27e224def5ed71f3d9490e2e30982bbff322a76feb3d6464888a8cd64e40c9938484256432537ea1a150009 SHA512 6a59630800a79d2c62434c1c50f5d891ae9ebae48037ea0859d6edd66c856a76e6f11c6e8866ca3c94ae1e5b57bdba4e9fadd4bc92c7fcef278cd2f7b82203f2 diff --git a/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.4.ebuild b/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.4.ebuild new file mode 100644 index 00000000000..495bed51cc9 --- /dev/null +++ b/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-1.1.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info xdg-utils + +DESCRIPTION="A battery monitor panel plugin for the Xfce desktop environment" +HOMEPAGE="https://goodies.xfce.org/projects/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 ~x86" +IUSE="kernel_linux" + +RDEPEND=">=dev-libs/glib-2.24:2 + >=x11-libs/gtk+-3.16:3 + >=xfce-base/libxfce4ui-4.12:=[gtk3(+)] + >=xfce-base/libxfce4util-4.8:= + >=xfce-base/xfce4-panel-4.12:=" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + 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 +}