x11-misc/cbatticon: Version 1.6.9
authorJeroen Roovers <jer@gentoo.org>
Mon, 17 Jun 2019 09:33:38 +0000 (11:33 +0200)
committerJeroen Roovers <jer@gentoo.org>
Mon, 17 Jun 2019 09:40:17 +0000 (11:40 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-misc/cbatticon/Manifest
x11-misc/cbatticon/cbatticon-1.6.9.ebuild [new file with mode: 0644]

index d595d951584e6c4819f636a5ea445fbe34de5600..f80cb17525204eb53f01b8ab6901b64bc78b834c 100644 (file)
@@ -1,3 +1,4 @@
 DIST cbatticon-1.6.5.tar.gz 27951 BLAKE2B 41d43bd7bfd5741e37365bed1541c88e255998a4ba69143f80a9c59ac4f51c280b7d07f3f9aba95063a8c3779c9637f7b4e27b771fade0e6092215b529813bd7 SHA512 5e1648cf3b31fe42aefd0a5e79c4e5dc22c3ce4b6f594f0933229494ca6f2e28e44a7e078ef839de1df0b8c1ba494fce8a58866ad70d056799320f4dea32713b
 DIST cbatticon-1.6.7.tar.gz 30086 BLAKE2B 460f185688e7aa8eec3f075454440705e1b6989ae9640f026f17c50511518ae181901e69efd987a879eabad47df5725c444bee9973e2faaa2d78775d2f6d83a9 SHA512 730d1be1350ba9b906f438c58c4e3172c4041d0e7c73ffbd91cbe5a01688e400bb9a7d89ccd86bff658afc803776dd5691323c720e6d41b1b1e3aeb58707f6e9
 DIST cbatticon-1.6.8.tar.gz 31185 BLAKE2B d8d7d2fe13764bf4b9c091eaebb8bd90b2daeeb10a2093c3b3724c5009a5f56e55788e0390cc81ad2e5c50937f8348bbee74d32f0768a15114a22ad9e02756ab SHA512 61d6f64cc57672f672869f8eb3b5ccb8f95dfdaa0b6eb1e91c824e22e4aba195cc164aab0b0353599c1c1a07f6d00a7a2f177829a15534c96a4e24e4cdfd0986
+DIST cbatticon-1.6.9.tar.gz 32257 BLAKE2B de10cae916ddd80638e2f2ea4c64038d5141524c102abce0dcf090517eadd8e375a383d438778e06b9881e617d28cfb999476f75e37ce1ed2a04a811abf5ac4e SHA512 bbaef2b24eddc52e3ad63033e063620960aa791f6bcb06cd1b981ca2a4f38450ee2c2177426b171ece2b5fff0db8f360bd9ca9ef1a3351ec9ad1f5ea34f925f4
diff --git a/x11-misc/cbatticon/cbatticon-1.6.9.ebuild b/x11-misc/cbatticon/cbatticon-1.6.9.ebuild
new file mode 100644 (file)
index 0000000..c50d042
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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}" \
+               DOCDIR="/usr/share/doc/${PF}" \
+               LANGUAGES="${LINGUAS}" \
+               V=1 VERSION="${PF}" \
+               install
+
+       dodoc Changelog
+}