diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2017-11-09 10:57:00 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2017-11-10 16:34:16 +0100 |
commit | 702da49f210d52c4942f5fa7243c2b8544118735 (patch) | |
tree | 3be20ec78e7ea80fb8aac147518ea94b3777dcb7 /x11-plugins/wmbattery | |
parent | x11-plugins/wmbattery: drop old (diff) | |
download | gentoo-702da49f210d52c4942f5fa7243c2b8544118735.tar.gz gentoo-702da49f210d52c4942f5fa7243c2b8544118735.tar.bz2 gentoo-702da49f210d52c4942f5fa7243c2b8544118735.zip |
x11-plugins/wmbattery: 2.51 bump
Update EAPI and SRC_URI
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'x11-plugins/wmbattery')
-rw-r--r-- | x11-plugins/wmbattery/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmbattery/wmbattery-2.51.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/x11-plugins/wmbattery/Manifest b/x11-plugins/wmbattery/Manifest index 1c9c45d6cfb8..4d93d7c70af6 100644 --- a/x11-plugins/wmbattery/Manifest +++ b/x11-plugins/wmbattery/Manifest @@ -1 +1,2 @@ DIST wmbattery-2.50.tar.gz 40938 SHA256 6179f33911ae642835c9ec456b422d5c72ffb74d7fcca2a70fa5f23929fa04d5 SHA512 f96b98d2819a9ecf189b9ebc60c107abc6715cf76bb73c98f1d3649dd2ef6112e052559f13fc5620ec7d71466f2e4d6a5e7e86b0f5f0675e02d6e038a9411794 WHIRLPOOL 6735904c44a2e5c67998c0b11ea422d8a9a14956739f7b9eefe75de1f1a7fe9cf8b22dd7684756520c0c223cfdd93cd548f3ef5013d52941cf3c9a698c48e0bc +DIST wmbattery-2.51.tar.gz 164657 SHA256 52d183de7737fb3492b6808b66faa4fbf1d46905483d8517d1f5d5d5731c8a20 SHA512 2ad508e796a4f5c826bd7c785c3cf1c2ee77923db92c99e75031cd305b351d82fbce158c69cc5393b904afe639574aea38186438fbedfa20243ff03c7824186b WHIRLPOOL 52adae63c36f838668bcb82ec6a238bff374d812db7cd5c2a53552bbda19ac876cf5b2e3cbb0762d65fcd9b2a78a74a63ee216a9c275a23f04b44aab1dea4dd1 diff --git a/x11-plugins/wmbattery/wmbattery-2.51.ebuild b/x11-plugins/wmbattery/wmbattery-2.51.ebuild new file mode 100644 index 000000000000..14b8b92cbd8b --- /dev/null +++ b/x11-plugins/wmbattery/wmbattery-2.51.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="A dockable app to report APM, ACPI, or SPIC battery status" +HOMEPAGE="http://www.dockapps.net/wmbattery" +SRC_URI="http://www.dockapps.net/download/${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" + +DOCS=( ChangeLog README TODO ) + +src_prepare() { + default + + 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 +} |