diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-06-02 00:41:41 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-06-02 00:41:41 +0100 |
commit | d2849eaf32e5fa05f119c2729e379bd6a081741a (patch) | |
tree | 38b9a8b360582a0f94b84840b4b4d5b337d25624 /x11-misc/cbatticon | |
parent | dev-libs/opencl-icd-loader: add 2022.05.18 (diff) | |
download | gentoo-d2849eaf32e5fa05f119c2729e379bd6a081741a.tar.gz gentoo-d2849eaf32e5fa05f119c2729e379bd6a081741a.tar.bz2 gentoo-d2849eaf32e5fa05f119c2729e379bd6a081741a.zip |
x11-misc/cbatticon: add 1.6.13
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'x11-misc/cbatticon')
-rw-r--r-- | x11-misc/cbatticon/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/cbatticon/cbatticon-1.6.13.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/x11-misc/cbatticon/Manifest b/x11-misc/cbatticon/Manifest index 80a38418d58f..ff8109e496a8 100644 --- a/x11-misc/cbatticon/Manifest +++ b/x11-misc/cbatticon/Manifest @@ -1 +1,2 @@ DIST cbatticon-1.6.12.tar.gz 34670 BLAKE2B cfae33c7e5393626a4e17d649bb7e242d35cfe7f79fda1b85e058a93a6b1c6da61ed9ff4463a44b5d6efa17d78f960021671d6bde1581af3e3eae70f369b6d52 SHA512 4946bf8a0514c0d595dd335a1388fd0e2c1cbb4d4e7fa774ab58bca4914d635d23cf32d7299dc9cad0f4dc7a37d88b875d9432234bfea0251f699d7776e5b019 +DIST cbatticon-1.6.13.tar.gz 35330 BLAKE2B b4079be2158d1f776a0af086b2bf03b22d43b28ae4b92564af715d05def4b59bddce39b6ad235789114214256609b60b6708571b80be215197cb33610fc43ce7 SHA512 5f232dd96501e71c80fbdd1d722a8cedcdb12204655965b65e551aa8ab2bb10b8227c110aa5cc13070b03ad97e46ce907b9086cf808f7e79374f245f58b43a59 diff --git a/x11-misc/cbatticon/cbatticon-1.6.13.ebuild b/x11-misc/cbatticon/cbatticon-1.6.13.ebuild new file mode 100644 index 000000000000..aec71acea6c9 --- /dev/null +++ b/x11-misc/cbatticon/cbatticon-1.6.13.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit strip-linguas toolchain-funcs + +DESCRIPTION="A lightweight and fast battery icon that sits in your system tray" +HOMEPAGE="https://github.com/valr/cbatticon" +SRC_URI="https://github.com/valr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="libnotify" + +RDEPEND="dev-libs/glib:2 + x11-libs/gtk+:3 + libnotify? ( x11-libs/libnotify )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( Changelog README ) + +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 + + einstalldocs +} |