summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-08-12 10:14:13 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2015-08-12 10:14:47 +0200
commit8a205820a00d62f636d8645cea85944cd83e5022 (patch)
treeae074f4355c6a420b16ca56e0b1466b5276f41dc /x11-plugins/wmbattery
parentnet-mail/courier-imap: bump, set border version to courier-unicode (diff)
downloadgentoo-8a205820a00d62f636d8645cea85944cd83e5022.tar.gz
gentoo-8a205820a00d62f636d8645cea85944cd83e5022.tar.bz2
gentoo-8a205820a00d62f636d8645cea85944cd83e5022.zip
x11-plugins/wmbattery: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'x11-plugins/wmbattery')
-rw-r--r--x11-plugins/wmbattery/Manifest1
-rw-r--r--x11-plugins/wmbattery/wmbattery-2.48.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/x11-plugins/wmbattery/Manifest b/x11-plugins/wmbattery/Manifest
index dfe4dac9bf38..a6c9866cbdc6 100644
--- a/x11-plugins/wmbattery/Manifest
+++ b/x11-plugins/wmbattery/Manifest
@@ -1,3 +1,4 @@
DIST wmbattery-2.45.tar.gz 38767 SHA256 c6ba2f3fb47ad53bbf9e435e675a9ef092512195b8e953774c35cef147fd036f SHA512 fe6ddfbc13cf5fe1645ed36fb60a0592e607d1f29cc1d21b0deb4f730601ecb0c1222a9abc7a0e9b5f0b7a82f6c5e844409e4e4f39f1d682c3a1f97d733f8e07 WHIRLPOOL 71df4d7b999bf7f00a8b4b7e130577fbc47289c3daed7d312d3dbceb064d87617a2175c27670cbcabd2026fdf3057fd602f5abf320259213e0b3124ed3be3a52
DIST wmbattery-2.47.tar.gz 39172 SHA256 f376a9eb4c12542dbb832d1e0131693fa87ba78be5818131ca723643a2c3d154 SHA512 8fb102959817bb3df115755a367412898d86296022ef0b8771a7723db76b29fff921950246e98aee2e8ed4091f77f57b6a2290606f2496fc3d85da496c5e925f WHIRLPOOL d33cd2bf4f32e5f45229b966ba3a90eac6572278a834eb7a3b851e55ec3f2798ac4099a3097e9d7b70aaef66e25f7b6beb74a214418648a55d9be0f56c025a2e
+DIST wmbattery-2.48.tar.gz 41301 SHA256 874d62c209efd98471b72ef2756d608a957d5106cbf92a6761985a934008661a SHA512 d1ce3824557d34104087abf77262d46ce603d204332eb585c2fec3777abaa4c8d796787fd8f9b8b9c9b583d01f561f98f57dcdb21db22e9d92b27905627053b3 WHIRLPOOL cf113d45f6232031d72a44dbd6cda3cf6db8dabba91d525943139397058a7070149daf29a41e3f434643f09953351c0e05414f4592f0e731da5261fa2ef616d3
DIST wmbattery_2.44.tar.gz 39278 SHA256 aa0a1312922ba4f0abca5f2e8abbf285363bf4a1c8862d89fe2921e74c832cae SHA512 ce6eb3a7b9028d8923d920fe831203a9bd0c2cd3a02df0cf5074296d55dcace9750edfd8237faa9397003ed97b0305ef8e91d029261593a54269c17d0b7b3717 WHIRLPOOL cae6d6027f8bafa1966ab6b7d377fa817e767e23726e907932f7da74e46a081729568df069df5d1f01b7f7e06740bfcb8cab90ac4ba10e93b3e09fe04cba5e1a
diff --git a/x11-plugins/wmbattery/wmbattery-2.48.ebuild b/x11-plugins/wmbattery/wmbattery-2.48.ebuild
new file mode 100644
index 000000000000..44f06d134abb
--- /dev/null
+++ b/x11-plugins/wmbattery/wmbattery-2.48.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools
+
+DESCRIPTION="A dockable app to report APM, ACPI, or SPIC battery status"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmbattery"
+# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc -sparc ~x86"
+IUSE="apm +upower"
+
+RDEPEND="apm? ( sys-apps/apmd )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm
+ upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/dockapps
+
+DOCS=( ChangeLog README TODO )
+
+src_prepare() {
+ sed -i \
+ -e '/^icondir/s:icons:pixmaps:' \
+ autoconf/makeinfo.in || die
+
+ use upower || { sed -i -e 's:USE_UPOWER = 1:#&:' autoconf/makeinfo.in || die; }
+
+ eautoreconf
+}