From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1524289-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 13EF615806E
	for <garchives@archives.gentoo.org>; Thu,  1 Jun 2023 14:50:38 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4AAAEE07EA;
	Thu,  1 Jun 2023 14:50:37 +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 E7C7BE07EA
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Jun 2023 14:50:36 +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 B278F3411E3
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Jun 2023 14:50:35 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DAAD990
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Jun 2023 14:50:34 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1685631028.125bd5e7f23bcc4dd52d5836b1c9739257dcb1c3.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-pulseaudio-plugin/
X-VCS-Repository: repo/gentoo
X-VCS-Files: xfce-extra/xfce4-pulseaudio-plugin/Manifest xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.7.ebuild
X-VCS-Directories: xfce-extra/xfce4-pulseaudio-plugin/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 125bd5e7f23bcc4dd52d5836b1c9739257dcb1c3
X-VCS-Branch: master
Date: Thu,  1 Jun 2023 14:50:34 +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: 266fd129-8a26-40fd-a0ec-117db3593167
X-Archives-Hash: 5d55c48e2b2400fa201e8b6cfcd96271

commit:     125bd5e7f23bcc4dd52d5836b1c9739257dcb1c3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  1 14:40:38 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun  1 14:50:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=125bd5e7

xfce-extra/xfce4-pulseaudio-plugin: Bump to 0.4.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-pulseaudio-plugin/Manifest        |  1 +
 .../xfce4-pulseaudio-plugin-0.4.7.ebuild           | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/xfce-extra/xfce4-pulseaudio-plugin/Manifest b/xfce-extra/xfce4-pulseaudio-plugin/Manifest
index da1f2ab03549..d31efbcbcb90 100644
--- a/xfce-extra/xfce4-pulseaudio-plugin/Manifest
+++ b/xfce-extra/xfce4-pulseaudio-plugin/Manifest
@@ -1,2 +1,3 @@
 DIST xfce4-pulseaudio-plugin-0.4.5.tar.bz2 394671 BLAKE2B facd79419b36741791b91d76da0212a99dfd2e807eedac691a5978b85365052702797cf67d2f0f8af294e9c0141fcedad49a92595acd4bbeadbf470889d7e16b SHA512 9250189af2d40f9b87687ef15e37983a95f797c2ba0aaa18cb8e510b7b1caff7f762a18db4e5a3780001b5cd46e00849d427801e14854c45e849c5d014a1375b
 DIST xfce4-pulseaudio-plugin-0.4.6.tar.bz2 422590 BLAKE2B 966dcc87c99888fb4b83901a4059ffa05bbc24707de0d32efd3c8f902f3f92277d13d9d9e8ae7475259b84f9a9a585336ab2f26d97ebf01f5031ede101335ad8 SHA512 b50193837a89c9adf8bfdd6c51cb872f8153448d71326ecd38171774164890436402d0041f98a79dc35a4523bfbd63dc4694f7ea13d4f8e38e98626280dd5127
+DIST xfce4-pulseaudio-plugin-0.4.7.tar.bz2 432495 BLAKE2B 17314464a8643950334dcae2a8e2c106b4f0b3f76d2807c75db23f8e86a3fde8526cd4356932f33339a4b185b6c3e33e825d9008b11b5f3ed026fb0aec27e770 SHA512 a20c2250e36a9ac4308b07a937377dd8098b1609f01e86a35da9496a1c111ecafd85cd6b26945ee64e0be6d4a637d4e4d8950e6f09def6f8c869e32f4b3d69e3

diff --git a/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.7.ebuild b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.7.ebuild
new file mode 100644
index 000000000000..957995966f78
--- /dev/null
+++ b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.7.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="A panel plug-in for PulseAudio volume control"
+HOMEPAGE="
+	https://docs.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/start
+	https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/
+"
+SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~x86"
+# TODO: remove wnck when libxfce4windowing is ready to go stable
+IUSE="+keybinder libcanberra libnotify libxfce4windowing wnck"
+REQUIRED_USE="?? ( libxfce4windowing wnck )"
+
+DEPEND="
+	>=dev-libs/glib-2.44.0
+	media-sound/pulseaudio:=[glib]
+	>=x11-libs/gtk+-3.20.0:3
+	>=xfce-base/exo-0.11:=
+	>=xfce-base/libxfce4ui-4.11.0:=[gtk3(+)]
+	>=xfce-base/libxfce4util-4.9.0:=
+	>=xfce-base/xfce4-panel-4.11.0:=
+	>=xfce-base/xfconf-4.6.0:=
+	keybinder? ( dev-libs/keybinder:3 )
+	libcanberra? ( media-libs/libcanberra )
+	libnotify? ( x11-libs/libnotify )
+	libxfce4windowing? ( xfce-base/libxfce4windowing:= )
+	wnck? ( x11-libs/libwnck:3 )
+"
+RDEPEND="
+	${DEPEND}
+"
+BDEPEND="
+	dev-util/intltool
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local myconf=(
+		$(use_enable keybinder)
+		$(use_enable libcanberra)
+		$(use_enable libnotify)
+		$(use_enable libxfce4windowing)
+		$(use_enable wnck)
+	)
+
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+
+	if ! has_version media-sound/pavucontrol; then
+		elog "For the 'audio mixer...' shortcut to work, you need to install"
+		elog "an external mixer application. Please either install:"
+		elog
+		elog "	media-sound/pavucontrol"
+		elog
+		elog "or specify another application to use in the 'Properties' dialog."
+	fi
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}