From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1500818-garchives=archives.gentoo.org@lists.gentoo.org>
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 35A2C15864F
	for <garchives@archives.gentoo.org>; Sun, 26 Mar 2023 15:19:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E3639E07FE;
	Sun, 26 Mar 2023 15:19:26 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 B6849E07FE
	for <gentoo-commits@lists.gentoo.org>; Sun, 26 Mar 2023 15:19:26 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D79A6341216
	for <gentoo-commits@lists.gentoo.org>; Sun, 26 Mar 2023 15:19:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A113985
	for <gentoo-commits@lists.gentoo.org>; Sun, 26 Mar 2023 15:19:22 +0000 (UTC)
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" <cyber+gentoo@sysrq.in>
Message-ID: <1679843931.ea04a57aa5676bdec90a82a99e8f93d114fb0961.cybertailor@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/sfwbar/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: gui-apps/sfwbar/metadata.xml gui-apps/sfwbar/sfwbar-1.0_beta10-r1.ebuild gui-apps/sfwbar/sfwbar-1.0_beta10.ebuild
X-VCS-Directories: gui-apps/sfwbar/
X-VCS-Committer: cybertailor
X-VCS-Committer-Name: Anna Vyalkova
X-VCS-Revision: ea04a57aa5676bdec90a82a99e8f93d114fb0961
X-VCS-Branch: dev
Date: Sun, 26 Mar 2023 15:19:22 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: c3a73bfd-105a-4c03-8c0f-a02d7d7d3981
X-Archives-Hash: c981a78ae7992884aec7ed1e6116111b

commit:     ea04a57aa5676bdec90a82a99e8f93d114fb0961
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Mar 26 15:18:51 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Mar 26 15:18:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea04a57a

gui-apps/sfwbar: fix deps & use

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 gui-apps/sfwbar/metadata.xml                | 21 +++++++------
 gui-apps/sfwbar/sfwbar-1.0_beta10-r1.ebuild | 44 ++++++++++++++++++++++++++
 gui-apps/sfwbar/sfwbar-1.0_beta10.ebuild    | 49 -----------------------------
 3 files changed, 56 insertions(+), 58 deletions(-)

diff --git a/gui-apps/sfwbar/metadata.xml b/gui-apps/sfwbar/metadata.xml
index b80b6d90d..08fb0fd94 100644
--- a/gui-apps/sfwbar/metadata.xml
+++ b/gui-apps/sfwbar/metadata.xml
@@ -1,13 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-    <maintainer type="person">
-        <email>harley@hosers.org</email>
-        <name>Lev Babiev</name>
-    </maintainer>
-    <upstream>
-        <remote-id type="github">LBCrion/sfwbar</remote-id>
-        <bugs-to>https://github.com/LBCrion/sfwbar/issues</bugs-to>
-        <changelog>https://github.com/LBCrion/sfwbar/releases</changelog>
-    </upstream>
+	<maintainer type="person">
+		<email>harley@hosers.org</email>
+		<name>Lev Babiev</name>
+	</maintainer>
+	<use>
+		<flag name="mpd">Add support for Music Player Daemon</flag>
+	</use>
+	<upstream>
+		<remote-id type="github">LBCrion/sfwbar</remote-id>
+		<bugs-to>https://github.com/LBCrion/sfwbar/issues</bugs-to>
+		<changelog>https://github.com/LBCrion/sfwbar/releases</changelog>
+	</upstream>
 </pkgmetadata>

diff --git a/gui-apps/sfwbar/sfwbar-1.0_beta10-r1.ebuild b/gui-apps/sfwbar/sfwbar-1.0_beta10-r1.ebuild
new file mode 100644
index 000000000..3caa9228b
--- /dev/null
+++ b/gui-apps/sfwbar/sfwbar-1.0_beta10-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg
+
+DESCRIPTION="S* Floating Window Bar"
+HOMEPAGE="https://github.com/LBCrion/sfwbar"
+SRC_URI="https://github.com/LBCrion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="X mpd pulseaudio"
+
+COMMON_DEPEND="
+	dev-libs/glib:2
+	dev-libs/json-c:=
+	dev-libs/wayland
+	gui-libs/gtk-layer-shell
+	>=x11-libs/gtk+-3.22.0:3[introspection,wayland]
+	X? ( x11-libs/libxkbcommon )
+	mpd? ( media-libs/libmpdclient )
+	pulseaudio? ( media-libs/libpulse[glib] )
+"
+RDEPEND="${COMMON_DEPEND}
+	virtual/freedesktop-icon-theme
+"
+DEPEND="${COMMON_DEPEND}
+	>=dev-libs/wayland-protocols-1.17
+"
+BDEPEND="dev-util/wayland-scanner"
+
+src_configure() {
+	local emesonargs=(
+		$(meson_feature mpd)
+		$(meson_feature pulseaudio pulse)
+		$(meson_feature X xkb)
+		-Dnetwork=enabled
+	)
+
+	meson_src_configure
+}

diff --git a/gui-apps/sfwbar/sfwbar-1.0_beta10.ebuild b/gui-apps/sfwbar/sfwbar-1.0_beta10.ebuild
deleted file mode 100644
index fec47b4de..000000000
--- a/gui-apps/sfwbar/sfwbar-1.0_beta10.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson xdg-utils
-
-DESCRIPTION="S* Floating Window Bar"
-HOMEPAGE="https://github.com/LBCrion/sfwbar"
-SRC_URI="https://github.com/LBCrion/sfwbar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="+mpd +pulse +net +xkb"
-
-DEPEND="
-	mpd? ( media-libs/libmpdclient )
-	pulse? ( media-libs/libpulse )
-	xkb? ( x11-libs/libxkbcommon )
-	>=x11-libs/gtk+-3.22.0:3[introspection,wayland]
-	gui-libs/gtk-layer-shell
-	dev-libs/json-c
-	dev-util/wayland-scanner
-	virtual/freedesktop-icon-theme
-	>=dev-libs/wayland-protocols-1.17
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	virtual/pkgconfig
-"
-
-src_configure() {
-	local emesonargs=(
-		$(meson_feature mpd)
-		$(meson_feature pulse)
-		$(meson_feature net network)
-	)
-
-	meson_src_configure
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-}