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 445DF15810F for ; Sun, 11 Jun 2023 18:22:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C654DE086E; Sun, 11 Jun 2023 18:22:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id A7628E086E for ; Sun, 11 Jun 2023 18:22:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 9BB0F341224 for ; Sun, 11 Jun 2023 18:22:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDC7FA8F for ; Sun, 11 Jun 2023 18:22:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1686507695.b77d068b17a5e27c659fb258f6ac0cce3dc0fb71.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/i3status/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/i3status/i3status-2.14-r1.ebuild X-VCS-Directories: x11-misc/i3status/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: b77d068b17a5e27c659fb258f6ac0cce3dc0fb71 X-VCS-Branch: master Date: Sun, 11 Jun 2023 18:22:05 +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: 6ead3ba3-de91-4319-9980-434b7f88c8de X-Archives-Hash: d8cc24f5642ab42080c311db76b33c8a commit: b77d068b17a5e27c659fb258f6ac0cce3dc0fb71 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon May 29 17:31:18 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 11 18:21:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77d068b x11-misc/i3status: EAPI 8 bump, switch to media-libs/libpulse Signed-off-by: Andreas Sturmlechner gentoo.org> x11-misc/i3status/i3status-2.14-r1.ebuild | 55 +++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/x11-misc/i3status/i3status-2.14-r1.ebuild b/x11-misc/i3status/i3status-2.14-r1.ebuild new file mode 100644 index 000000000000..4e7bd55d627b --- /dev/null +++ b/x11-misc/i3status/i3status-2.14-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps meson + +DESCRIPTION="Generates a status bar for dzen2, xmobar or similar" +HOMEPAGE="https://i3wm.org/i3status/" +SRC_URI="https://i3wm.org/${PN}/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="pulseaudio" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + >=dev-libs/yajl-2.0.2 + dev-libs/confuse:= + dev-libs/libnl:3 + media-libs/alsa-lib + pulseaudio? ( || ( media-libs/libpulse media-sound/apulse[sdk] ) ) +" + +DEPEND="${RDEPEND} + app-text/asciidoc + app-text/xmlto +" + +src_prepare() { + default + + # Needs an ALSA master device, bug #840622 + # Also skipped in CI: + # https://github.com/i3/i3status/blob/07ad5aef2deea1f10eb6c544593e7a87205f24f8/.github/workflows/main.yml#L34 + rm -rf testcases/020-percentliteral-volume || die +} + +src_configure() { + local emesonargs=( + $(meson_use pulseaudio pulseaudio) + ) + meson_src_configure +} + +pkg_postinst() { + fcaps cap_net_admin usr/bin/${PN} + + elog "${PN} can be used with any of the following programs:" + elog " i3bar (x11-wm/i3)" + elog " x11-misc/xmobar" + elog " x11-misc/dzen" + elog "Please refer to manual: man ${PN}" +}