summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-03-30 07:07:05 +0200
committerJeroen Roovers <jer@gentoo.org>2016-03-30 07:07:05 +0200
commite4fba13b659e0717b6b8d4b4680b1d806a2a6324 (patch)
tree734d16c91285e97dcd2ca2d804a32e4156f802fa /x11-misc
parentmedia-gfx/fbida: Version bump. (diff)
downloadgentoo-e4fba13b659e0717b6b8d4b4680b1d806a2a6324.tar.gz
gentoo-e4fba13b659e0717b6b8d4b4680b1d806a2a6324.tar.bz2
gentoo-e4fba13b659e0717b6b8d4b4680b1d806a2a6324.zip
x11-misc/cbatticon: Version bump. Add LINGUAS support.
Package-Manager: portage-2.2.28
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/cbatticon/Manifest1
-rw-r--r--x11-misc/cbatticon/cbatticon-1.6.4.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/x11-misc/cbatticon/Manifest b/x11-misc/cbatticon/Manifest
index 379c359349bf..d5e484bee0ec 100644
--- a/x11-misc/cbatticon/Manifest
+++ b/x11-misc/cbatticon/Manifest
@@ -3,3 +3,4 @@ DIST cbatticon-1.4.1.tar.gz 14334 SHA256 ba6ef1b588530d31af41173a188d7333d68c83e
DIST cbatticon-1.4.2.tar.gz 14449 SHA256 987d979c426c12d7ef6ce7856a7c0d0d0a70720cafcada9ba6a4800d048ef502 SHA512 53d0ff654758a7c40f32a86a4364ff2b57f23bec9a10d3c9964eb7afb59bfd2d8ee21c5ece9d6bb4b99c54dbfb1f6b8ab7e36e93c246d0fef4e300416b1159fe WHIRLPOOL 4db6b81e668504001b39a53ca19920c57f6d868b236805b5c3a46a769b197053507681a6ebad4d70641a90919852144176cece64e99905eb9bb9f74dc430323d
DIST cbatticon-1.5.0.tar.gz 20743 SHA256 de64143ac188c63dd5c37ae785861c48681c8fb0f57b78d9a8afa53686ec3fb9 SHA512 03a577d72497fc64404b1cc04109af303174cdafb00147e51cb4aa3de13bd1b4ee83cf6581126db6d8fe1ae3ffe3d2f9b80dfdd9b464ee01223fcb3424801d6c WHIRLPOOL b5c596bfb9be42c561f4bde6e8b71161fd5d04c798f6d40914dc784fcb87b183f54c510a6ece426f32a971ae94b08042a33dc8702e6a49030a901370869be779
DIST cbatticon-1.6.3.tar.gz 23327 SHA256 39fcb49815c5fc54a39f45ca8c0618fda6b6aa73e9301589a22668fcfd1242ba SHA512 6eb0aee5e189dac05835d3e94bfe8cffc3b036e4b0ed65ddefbe0d3c4641d250209b3f875dd196bd3887e176ee8229027a9ef7aa5af865ddce918cf746bc2586 WHIRLPOOL cf6f7c3e627f70e100d9cd4bff836b2a86126ca6e8cb12208e4edcc139692a07a8adb1f7499ed662cacf38d9982dc05a7b882cd6e05097ae0080e529436f1ec5
+DIST cbatticon-1.6.4.tar.gz 27458 SHA256 1d773d678fe7160d1af7ba7cbfe66ccbabefa10e2bf387334a341f4c94de6e08 SHA512 049f0aee12718995daa6753a19a94e3b3837d2991b4ac230aa4be1e34e487de2ac5d461e2fb5d60b6e39e7a8ae739e2216051dba8edf78293294c99b81107073 WHIRLPOOL 5676e75ab1215d650d10bb17ea318da14f8974833007f4847960660315907c8adef445c78321a1ab6570001e012c478ddc3b1c4310d1c569567b6c9071a77dc9
diff --git a/x11-misc/cbatticon/cbatticon-1.6.4.ebuild b/x11-misc/cbatticon/cbatticon-1.6.4.ebuild
new file mode 100644
index 000000000000..680cba96af44
--- /dev/null
+++ b/x11-misc/cbatticon/cbatticon-1.6.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A lightweight and fast battery icon that sits in your system tray"
+HOMEPAGE="https://github.com/ColinJones/cbatticon"
+SRC_URI="https://github.com/ColinJones/cbatticon/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:3
+ libnotify? ( x11-libs/libnotify )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ strip-linguas -i .
+}
+
+src_compile() {
+ tc-export CC
+ emake \
+ $(usex libnotify WITH_NOTIFY=1 WITH_NOTIFY=0) \
+ V=1 \
+ VERSION="${PF}" \
+ WITH_GTK3=1
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ LANGUAGES="${LINGUAS}" \
+ V=1 VERSION="${PF}" \
+ install
+
+ dodoc Changelog
+}