From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46108158091 for ; Wed, 1 Jun 2022 23:43:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D51FE086A; Wed, 1 Jun 2022 23:43:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06FDEE085B for ; Wed, 1 Jun 2022 23:43:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0C7E341721 for ; Wed, 1 Jun 2022 23:43:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4CEB4E5 for ; Wed, 1 Jun 2022 23:43:52 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1654126901.d2849eaf32e5fa05f119c2729e379bd6a081741a.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/cbatticon/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/cbatticon/Manifest x11-misc/cbatticon/cbatticon-1.6.13.ebuild X-VCS-Directories: x11-misc/cbatticon/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: d2849eaf32e5fa05f119c2729e379bd6a081741a X-VCS-Branch: master Date: Wed, 1 Jun 2022 23:43:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c1c4d915-d83f-435a-958b-4208f8ebf1aa X-Archives-Hash: 7de79fac2d3eda59e115591a0a700946 commit: d2849eaf32e5fa05f119c2729e379bd6a081741a Author: Marek Szuba gentoo org> AuthorDate: Wed Jun 1 23:41:41 2022 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Jun 1 23:41:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2849eaf x11-misc/cbatticon: add 1.6.13 Signed-off-by: Marek Szuba gentoo.org> x11-misc/cbatticon/Manifest | 1 + x11-misc/cbatticon/cbatticon-1.6.13.ebuild | 49 ++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) 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 +}