From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1376768-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 D7B6515808C
	for <garchives@archives.gentoo.org>; Fri, 18 Mar 2022 00:35:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AB475E0855;
	Fri, 18 Mar 2022 00:35:23 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 806DDE0855
	for <gentoo-commits@lists.gentoo.org>; Fri, 18 Mar 2022 00:35:23 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 835B9343142
	for <gentoo-commits@lists.gentoo.org>; Fri, 18 Mar 2022 00:35:18 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B01D32F
	for <gentoo-commits@lists.gentoo.org>; Fri, 18 Mar 2022 00:35:09 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1647563405.8229ee340cdba6b83f3100c1718f854b284a5b54.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/pulseaudio/metadata.xml media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
X-VCS-Directories: media-sound/pulseaudio/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 8229ee340cdba6b83f3100c1718f854b284a5b54
X-VCS-Branch: master
Date: Fri, 18 Mar 2022 00:35:09 +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: 905f4f7c-9e2a-4c35-b86e-f9e8804605a0
X-Archives-Hash: 5a477e84408473d6fa78df0c0b9aa3f2

commit:     8229ee340cdba6b83f3100c1718f854b284a5b54
Author:     Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Sun Feb 27 06:55:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 00:30:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8229ee34

media-sound/pulseaudio: Add USE=aptx dependency on gst-plugins-openaptx

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24369
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/pulseaudio/metadata.xml              | 3 +++
 media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/metadata.xml b/media-sound/pulseaudio/metadata.xml
index 01abb59241bf..fff0ae344a5d 100644
--- a/media-sound/pulseaudio/metadata.xml
+++ b/media-sound/pulseaudio/metadata.xml
@@ -78,6 +78,9 @@
       Build with support for gstreamer including ability to use bluetooth codecs.
       For bluetooth codecs see USE ldac and aptx.
     </flag>
+    <flag name="aptx">
+      aptX (HD) over Bluetooth (many Android compatible headphones), requires <pkg>media-plugins/gst-plugins-openaptx</pkg>.
+    </flag>
     <flag name="ldac">
       LDAC over Bluetooth (primarily Sony headphones), requires <pkg>media-plugins/gst-plugins-ldac</pkg>.
     </flag>

diff --git a/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild b/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
index 7089233c71d2..21060b033fd1 100644
--- a/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild
@@ -31,7 +31,7 @@ SLOT="0"
 # +alsa-plugin as discussed in bug #519530
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin +asyncns bluetooth dbus +daemon doc elogind equalizer +gdbm
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus +daemon doc elogind equalizer +gdbm
 gstreamer +glib gtk ipv6 jack ldac lirc native-headset ofono-headset +orc oss selinux sox ssl systemd
 system-wide tcpd test +udev +webrtc-aec +X zeroconf"
 
@@ -162,6 +162,7 @@ RDEPEND="
 		bluetooth? (
 			gstreamer? (
 				ldac? ( media-plugins/gst-plugins-ldac )
+				aptx? ( media-plugins/gst-plugins-openaptx )
 			)
 		)
 	)