diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-04-11 19:50:28 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-04-11 20:19:54 +0200 |
commit | 740c8a51b489f61c3c2dbb03f52d87fc24d40c0d (patch) | |
tree | 21c873924aedf3811dda17d1956c200687117cc4 /x11-misc/cbatticon/cbatticon-1.6.8.ebuild | |
parent | net-analyzer/etherape: Old. (diff) | |
download | gentoo-740c8a51b489f61c3c2dbb03f52d87fc24d40c0d.tar.gz gentoo-740c8a51b489f61c3c2dbb03f52d87fc24d40c0d.tar.bz2 gentoo-740c8a51b489f61c3c2dbb03f52d87fc24d40c0d.zip |
x11-misc/cbatticon: Version 1.6.8.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'x11-misc/cbatticon/cbatticon-1.6.8.ebuild')
-rw-r--r-- | x11-misc/cbatticon/cbatticon-1.6.8.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/x11-misc/cbatticon/cbatticon-1.6.8.ebuild b/x11-misc/cbatticon/cbatticon-1.6.8.ebuild new file mode 100644 index 000000000000..66391be03708 --- /dev/null +++ b/x11-misc/cbatticon/cbatticon-1.6.8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 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 +} |