commit: 312570d83b78e47d88d070f23e7a715460e2bd1b Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Fri Aug 18 19:25:26 2017 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Fri Aug 18 19:27:45 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=312570d8
x11-misc/cbatticon: Version bump. Package-Manager: Portage-2.3.8, Repoman-2.3.3 x11-misc/cbatticon/Manifest | 1 + x11-misc/cbatticon/cbatticon-1.6.6.ebuild | 49 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/x11-misc/cbatticon/Manifest b/x11-misc/cbatticon/Manifest index b32828224e7..bc21afdb11d 100644 --- a/x11-misc/cbatticon/Manifest +++ b/x11-misc/cbatticon/Manifest @@ -1 +1,2 @@ DIST cbatticon-1.6.5.tar.gz 27951 SHA256 bbc70d77b2fd5c14a65b3f1d14d064b0b8c9966b521b3e295fa7d487950bff77 SHA512 5e1648cf3b31fe42aefd0a5e79c4e5dc22c3ce4b6f594f0933229494ca6f2e28e44a7e078ef839de1df0b8c1ba494fce8a58866ad70d056799320f4dea32713b WHIRLPOOL f9cdf706f632a01c2bea2353cc7171d3d568aed0964bd2f2159f1c68d18bd5b374b449581d334ff96deceb32c7d1bf9aeb235d66490a83bb60a1901b5fe16492 +DIST cbatticon-1.6.6.tar.gz 28043 SHA256 636f6dc6c3a084e81f25f829ef076ed17dc90751b030ed08fdc29d801acfb4e7 SHA512 ee1388da03b338ff3194316af5f0fc9c176271b62bf23894cd01772b660b8c89777cc68e67bafa3d50bda1587904a5c5a334b4ed65195a3baf42ce128a0f526e WHIRLPOOL d82388b99b734d31de597b04ff9712e0b0e9b1f96990c99feedc1f1542b1cf3d85b1f7c7836e088850511807fab77229735f1363faf6653e43a2f6eb6557339d diff --git a/x11-misc/cbatticon/cbatticon-1.6.6.ebuild b/x11-misc/cbatticon/cbatticon-1.6.6.ebuild new file mode 100644 index 00000000000..397212d0470 --- /dev/null +++ b/x11-misc/cbatticon/cbatticon-1.6.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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() { + default + + 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 +}