summaryrefslogtreecommitdiff
path: root/x11-misc/cbatticon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /x11-misc/cbatticon
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'x11-misc/cbatticon')
-rw-r--r--x11-misc/cbatticon/Manifest2
-rw-r--r--x11-misc/cbatticon/cbatticon-1.6.13.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/x11-misc/cbatticon/Manifest b/x11-misc/cbatticon/Manifest
index f7bec4c109cd..60ab50cb273f 100644
--- a/x11-misc/cbatticon/Manifest
+++ b/x11-misc/cbatticon/Manifest
@@ -1,3 +1,5 @@
DIST cbatticon-1.6.12.tar.gz 34670 BLAKE2B cfae33c7e5393626a4e17d649bb7e242d35cfe7f79fda1b85e058a93a6b1c6da61ed9ff4463a44b5d6efa17d78f960021671d6bde1581af3e3eae70f369b6d52 SHA512 4946bf8a0514c0d595dd335a1388fd0e2c1cbb4d4e7fa774ab58bca4914d635d23cf32d7299dc9cad0f4dc7a37d88b875d9432234bfea0251f699d7776e5b019
+DIST cbatticon-1.6.13.tar.gz 35330 BLAKE2B b4079be2158d1f776a0af086b2bf03b22d43b28ae4b92564af715d05def4b59bddce39b6ad235789114214256609b60b6708571b80be215197cb33610fc43ce7 SHA512 5f232dd96501e71c80fbdd1d722a8cedcdb12204655965b65e551aa8ab2bb10b8227c110aa5cc13070b03ad97e46ce907b9086cf808f7e79374f245f58b43a59
EBUILD cbatticon-1.6.12.ebuild 919 BLAKE2B 0d7dee6c60c4e65013543bda36a041ae47f715802d29940ca6a83ce23710566f204eff86a414b631d9b3ebaba930885bee70155499c20d4e02e584e3cab56630 SHA512 4f7281ef2dff00519b386062b8a47a10923fcb1590e6fb3a5b8f21f72bf228c7f0b4f919d96b5e515768e4fa566d70e3eb23d1943471563b2653851d8a9d77fd
+EBUILD cbatticon-1.6.13.ebuild 920 BLAKE2B a4f9782978285a34fce6260fccedf089af7f34de790790eafbde24b1fbf38097c0e6ffb3a426a3606adf2ebbb5ba1c9a3002a79a52f400d1977d153aab21c574 SHA512 1edcef69dad8251ba25c026e72d0f3e1e6cbce2e961f01006081d5d1dee2d3d49b81875868ba97c986ac29c671b64ca7d0765ef36fd3ce450c91048198f1b099
MISC metadata.xml 325 BLAKE2B bd1eee6610c7863dfb492da2f16af43ea5ad15e92dd80ab968339ebe25554b7be7783cb282fc16522ebdff1594869efd47d5bdf737aa355f559cf218784ae327 SHA512 16771648d8e8318b78412c7a14b733ed185761fc0ed804e3739ba39bc67848a2f8a64b52229670263ca26fdeb8bbe2a7ca09fbb136304dbbc7b94abe7f43530b
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
+}