[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-12 Thread Sam James
commit: 1dd9bd8fd9d359bea16ab0f22b48b661052b110f
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 13 00:53:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 13 00:53:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd9bd8f

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 x86, #925411

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index b7eae5fab5a0..bcfa95dc4123 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-05 Thread Arthur Zamarin
commit: 46dcb11d1318821de54433a371ac139612d9a1ff
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar  5 17:59:57 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar  5 17:59:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46dcb11d

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 sparc, #925411

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 66d4299b0b55..b7eae5fab5a0 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-05 Thread Arthur Zamarin
commit: 5b4613ded9476bf99d73c73374ca85c5f6e6deaf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar  5 17:59:54 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar  5 17:59:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4613de

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 arm, #925411

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 86ce99199442..66d4299b0b55 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-05 Thread Arthur Zamarin
commit: 168d800a5d17c74eaa93b944a1dd6fd34b8e0d4d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar  5 17:59:14 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar  5 17:59:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=168d800a

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 arm64, #925411

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 3d2bd954e81c..86ce99199442 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-04 Thread Sam James
commit: f114aa5185786efc375abbdeab25e15531231026
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 11:19:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 11:19:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f114aa51

media-sound/pulseaudio-daemon: drop 16.1-r8, 17.0

Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon-16.1-r8.ebuild   | 393 -
 .../pulseaudio-daemon-17.0.ebuild  | 384 
 2 files changed, 777 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
deleted file mode 100644
index ae6c88877e41..
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
+++ /dev/null
@@ -1,393 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-MY_PV="${PV/_pre*}"
-MY_P="pulseaudio-${MY_PV}"
-inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
-
-DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-   EGIT_BRANCH="master"
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
-else
-   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-# libpulse-simple and libpulse link to libpulse-core; this is daemon's
-# library and can link to gdbm and other GPL-only libraries. In this
-# cases, we have a fully GPL-2 package. Leaving the rest of the
-# GPL-forcing USE flags for those who use them.
-LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
-
-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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
-ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
-
-RESTRICT="!test? ( test )"
-
-# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
-# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
-# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
-REQUIRED_USE="
-   ?? ( elogind systemd )
-   alsa-plugin? ( alsa )
-   aptx? ( bluetooth )
-   bluetooth? ( dbus )
-   equalizer? ( dbus )
-   ldac? ( bluetooth )
-   ofono-headset? ( bluetooth )
-   udev? ( || ( alsa oss ) )
-   zeroconf? ( dbus )
-"
-
-# NOTE:
-# - libpcre needed in some cases, bug #472228
-# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-gstreamer_deps="
-   media-libs/gst-plugins-base
-   >=media-libs/gstreamer-1.14
-"
-COMMON_DEPEND="
-   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
-   >=media-libs/libpulse-16.1-r3
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20
-   >=media-libs/speexdsp-1.2
-   alsa? ( >=media-libs/alsa-lib-1.0.24 )
-   aptx? ( ${gstreamer_deps} )
-   asyncns? ( >=net-libs/libasyncns-0.1 )
-   bluetooth? (
-   >=net-wireless/bluez-5
-   media-libs/sbc
-   )
-   dev-libs/libltdl
-   sys-kernel/linux-headers
-   >=sys-libs/libcap-2.22-r2
-   dbus? ( >=sys-apps/dbus-1.4.12 )
-   elibc_mingw? ( dev-libs/libpcre:3 )
-   elogind? ( sys-auth/elogind )
-   equalizer? (
-   sci-libs/fftw:3.0=
-   )
-   fftw? (
-   sci-libs/fftw:3.0=
-   )
-   gdbm? ( sys-libs/gdbm:= )
-   glib? ( >=dev-libs/glib-2.28.0:2 )
-   gstreamer? (
-   ${gstreamer_deps}
-   >=dev-libs/glib-2.26.0:2
-   )
-   jack? ( virtual/jack )
-   ldac? ( ${gstreamer_deps} )
-   lirc? ( app-misc/lirc )
-   ofono-headset? ( >=net-misc/ofono-1.13 )
-   orc? ( >=dev-lang/orc-0.4.15 )
-   selinux? ( sec-policy/selinux-pulseaudio )
-   sox? ( >=media-libs/soxr-0.1.1 )
-   ssl? ( dev-libs/openssl:= )
-   systemd? ( sys-apps/systemd:= )
-   tcpd? ( sys-apps/tcp-wrappers )
-   udev? ( >=virtual/udev-143[hwdb(+)] )
-   valgrind? ( dev-debug/valgrind )
-   webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
-   X? (
-   >=x11-libs/libxcb-1.6
-   x11-libs/libICE

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-02 Thread Sam James
commit: bd96ddab18e2a905a4c056e6f680161655b18e5e
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  2 22:07:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  2 22:07:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd96ddab

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 ppc, #925411

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index fcf7ba4d6948..3d2bd954e81c 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-02 Thread Arthur Zamarin
commit: db8b1673b08ca13b6fc5b948a955dd6f8fe241ed
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  2 18:18:21 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  2 18:18:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8b1673

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 ppc64, #925411

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 989b206ec169..fcf7ba4d6948 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-24 Thread Sam James
commit: 5634dbe4021680ad74f0ab55933dd89a01c45e99
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 24 11:28:48 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 24 11:28:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5634dbe4

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 amd64, #925411

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 186c05739322..989b206ec169 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2024-02-24 Thread Sam James
commit: 7805d72c8427ae393bd4ab6facf7de83ae5c912c
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Feb 24 09:55:15 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 24 10:03:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7805d72c

media-sound/pulseaudio-daemon: Backport alsa UCM handling assertion fix to 17.0

Bug: https://bugs.gentoo.org/925345
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35512
Signed-off-by: Sam James  gentoo.org>

 .../files/pulseaudio-17.0-pr801.patch  |  95 +
 .../files/pulseaudio-17.0-pr802.patch  |  64 
 .../pulseaudio-daemon-17.0-r1.ebuild   | 386 +
 3 files changed, 545 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/files/pulseaudio-17.0-pr801.patch 
b/media-sound/pulseaudio-daemon/files/pulseaudio-17.0-pr801.patch
new file mode 100644
index ..6e1bd338992c
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/files/pulseaudio-17.0-pr801.patch
@@ -0,0 +1,95 @@
+From f5cacd94abcc47003bd88ad7ca1450de649ffb15 Mon Sep 17 00:00:00 2001
+From: Alper Nebi Yasak 
+Date: Thu, 30 Nov 2023 20:17:22 +0300
+Subject: [PATCH] alsa-ucm: Check UCM verb before working with device status
+
+Some versions of the ALSA libraries run into a segmentation fault when
+we query a UCM device/modifier status without first setting a UCM verb.
+It's not a reasonable thing to do anyway, so check for this case and
+return an error. Also do the check in other helpers.
+
+Signed-off-by: Alper Nebi Yasak 
+Part-of: 

+---
+ src/modules/alsa/alsa-ucm.c | 30 ++
+ 1 file changed, 30 insertions(+)
+
+diff --git a/src/modules/alsa/alsa-ucm.c b/src/modules/alsa/alsa-ucm.c
+index bb9438f79..7f5136249 100644
+--- a/src/modules/alsa/alsa-ucm.c
 b/src/modules/alsa/alsa-ucm.c
+@@ -624,6 +624,11 @@ static long ucm_device_status(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_device *dev)
+ char *devstatus;
+ long status = 0;
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to get status for UCM device %s: no UCM verb 
set", dev_name);
++return -1;
++}
++
+ devstatus = pa_sprintf_malloc("_devstatus/%s", dev_name);
+ if (snd_use_case_geti(ucm->ucm_mgr, devstatus, ) < 0) {
+ pa_log_debug("Failed to get status for UCM device %s", dev_name);
+@@ -637,6 +642,11 @@ static long ucm_device_status(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_device *dev)
+ static int ucm_device_disable(pa_alsa_ucm_config *ucm, pa_alsa_ucm_device 
*dev) {
+ const char *dev_name = pa_proplist_gets(dev->proplist, 
PA_ALSA_PROP_UCM_NAME);
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to disable UCM device %s: no UCM verb set", 
dev_name);
++return -1;
++}
++
+ /* If any of dev's conflicting devices is enabled, trying to disable
+  * dev gives an error despite the fact that it's already disabled.
+  * Check that dev is enabled to avoid this error. */
+@@ -657,6 +667,11 @@ static int ucm_device_disable(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_device *dev)
+ static int ucm_device_enable(pa_alsa_ucm_config *ucm, pa_alsa_ucm_device 
*dev) {
+ const char *dev_name = pa_proplist_gets(dev->proplist, 
PA_ALSA_PROP_UCM_NAME);
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to enable UCM device %s: no UCM verb set", 
dev_name);
++return -1;
++}
++
+ /* We don't need to enable devices that are already enabled */
+ if (ucm_device_status(ucm, dev) > 0) {
+ pa_log_debug("UCM device %s is already enabled", dev_name);
+@@ -707,6 +722,11 @@ static long ucm_modifier_status(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_modifier *m
+ char *modstatus;
+ long status = 0;
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to get status for UCM modifier %s: no UCM verb 
set", mod_name);
++return -1;
++}
++
+ modstatus = pa_sprintf_malloc("_modstatus/%s", mod_name);
+ if (snd_use_case_geti(ucm->ucm_mgr, modstatus, ) < 0) {
+ pa_log_debug("Failed to get status for UCM modifier %s", mod_name);
+@@ -720,6 +740,11 @@ static long ucm_modifier_status(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_modifier *m
+ static int ucm_modifier_disable(pa_alsa_ucm_config *ucm, pa_alsa_ucm_modifier 
*mod) {
+ const char *mod_name = pa_proplist_gets(mod->proplist, 
PA_ALSA_PROP_UCM_NAME);
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to disable UCM modifier %s: no UCM verb set", 
mod_name);
++return -1;
++}
++
+ /* We don't need to disable modifiers that are already disabled */
+ if (ucm_modifier_status(ucm, mod) == 0) {
+ pa_log_debug("UCM modifier %s is already disabled", mod_name);
+@@ -738,6 +763,11 @@ static int ucm_modifier_disable(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_modifier *m
+ static int 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-22 Thread Arthur Zamarin
commit: 154d3570e3c755dfe0ee676b83ec6ceff771d4dc
Author: Matoro Mahri  matoro  tk>
AuthorDate: Thu Feb 22 05:06:48 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 22 20:32:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154d3570

media-sound/pulseaudio-daemon: Stabilize 16.99.1 amd64, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 39dd1c85ca53..59de0db5e161 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 47355825ee8ba3730edd7cc6a72cd5e1c6207c30
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:01:55 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47355825

media-sound/pulseaudio-daemon: Stabilize 16.99.1 arm, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index e2c1d3e821ba..6d1ebbc5d791 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: f4020f2f4028e720e97c2c3c96ade6190e1d2948
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Feb  7 01:34:42 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4020f2f

media-sound/pulseaudio-daemon: Stabilize 16.99.1 x86, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 88fc5d438a76..39dd1c85ca53 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 36dbb9039f344c9c35b6c5a0609d523ecf7eb071
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 17:00:01 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36dbb903

media-sound/pulseaudio-daemon: Stabilize 16.99.1 arm64, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 921922348dea..e2c1d3e821ba 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 6364321b580e9d5b9f6cc4518f1e425acbdcbab0
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:04:50 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6364321b

media-sound/pulseaudio-daemon: Stabilize 16.99.1 sparc, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 6d1ebbc5d791..88fc5d438a76 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-01 Thread Sam James
commit: 9db17b0a522f952f65103201198d23ac59816c00
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Mon Jan 29 21:29:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 02:28:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9db17b0a

media-sound/pulseaudio-daemon: Version bump to 17.0

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35084
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest |   1 +
 .../pulseaudio-daemon-17.0.ebuild  | 384 +
 2 files changed, 385 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
index 97ee1069f0e6..776caac18a80 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1,2 +1,3 @@
 DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 
535706abcea2cae39834b23c8bdc37f71b0e633de2d8e43ea4425da97a850b57c2f980c318681cbc86cf1e746200609dad41f8b96ecf4568f86d94aa6831c9a1
 SHA512 
33b0b4292f05e0882f3ec822cf5720414bb34c523d80fe287b9740d6be219787c562e8024c9b0d9e2ee010771ca72c7ae4f27df1bbef9c9cb6bb6a23cbcc412f
 DIST pulseaudio-16.99.1.tar.xz 1565020 BLAKE2B 
02aad918e2b76dcf250bd55e03460206c7781cd1b43aa2efe46b25258626892e07f478b9966fa5027c9ae0a370145f5204dba05d2f5dfbfd3ba956225ccb3cad
 SHA512 
1a3347e4c892ba0e321d39184f8bd52cfd16f59e66e52a753d6f706dfbf3f170f87b7ff27c0a6cdf3e462e6dd531ecde6829d48a374d0be2622688fb85abaac2
+DIST pulseaudio-17.0.tar.xz 1566556 BLAKE2B 
781ece3d507916aa681d3b0132689730a621b4d92e45f86570e4d2fdebc4c0025ebe7f7a05046545f9b26caca513e8975f12498fa314524bc67eacaea72842fa
 SHA512 
be0aec46204d9c9188a796fbe41b4cf6f0f5e6b16fa08ce359b8f0f51253f0ade364b89448bbf5faa2af7e59deb6c72194734c3233944250dcfd4f31968a5e97

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild
new file mode 100644
index ..23ef8d0517b1
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild
@@ -0,0 +1,384 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   >=media-libs/libpulse-16.99.1
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20
+   >=media-libs/speexdsp-1.2
+   alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
+   asyncns? ( >=net-libs/libasyncns-0.1 )

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-01-16 Thread Ionen Wolkens
commit: e25bb50e416599c21d85a3e472a384c7501f707e
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Jan 17 02:12:25 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Jan 17 02:44:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25bb50e

media-sound/pulseaudio-daemon: Stabilize 16.99.1 ppc64, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index be782d32467d..e0ee6e6b7212 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-11-24 Thread Sam James
commit: c288d3637338156e7673fa02b8655dddeca27017
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 05:34:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 05:34:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c288d363

media-sound/pulseaudio-daemon: drop 16.1-r3, 16.1-r6

Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon-16.1-r3.ebuild   | 389 
 .../pulseaudio-daemon-16.1-r6.ebuild   | 392 -
 2 files changed, 781 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
deleted file mode 100644
index fc21e3b97d09..
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
+++ /dev/null
@@ -1,389 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-MY_PV="${PV/_pre*}"
-MY_P="pulseaudio-${MY_PV}"
-inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
-
-DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-   EGIT_BRANCH="master"
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
-else
-   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-# libpulse-simple and libpulse link to libpulse-core; this is daemon's
-# library and can link to gdbm and other GPL-only libraries. In this
-# cases, we have a fully GPL-2 package. Leaving the rest of the
-# GPL-forcing USE flags for those who use them.
-LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
-
-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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
-ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
-
-RESTRICT="!test? ( test )"
-
-# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
-# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
-# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
-REQUIRED_USE="
-   ?? ( elogind systemd )
-   alsa-plugin? ( alsa )
-   aptx? ( bluetooth )
-   bluetooth? ( dbus )
-   equalizer? ( dbus )
-   ldac? ( bluetooth )
-   ofono-headset? ( bluetooth )
-   udev? ( || ( alsa oss ) )
-   zeroconf? ( dbus )
-"
-
-# NOTE:
-# - libpcre needed in some cases, bug #472228
-# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-gstreamer_deps="
-   media-libs/gst-plugins-base
-   >=media-libs/gstreamer-1.14
-"
-COMMON_DEPEND="
-   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20
-   >=media-libs/speexdsp-1.2
-   alsa? ( >=media-libs/alsa-lib-1.0.24 )
-   aptx? ( ${gstreamer_deps} )
-   asyncns? ( >=net-libs/libasyncns-0.1 )
-   bluetooth? (
-   >=net-wireless/bluez-5
-   media-libs/sbc
-   )
-   dev-libs/libltdl
-   sys-kernel/linux-headers
-   >=sys-libs/libcap-2.22-r2
-   dbus? ( >=sys-apps/dbus-1.4.12 )
-   elibc_mingw? ( dev-libs/libpcre:3 )
-   elogind? ( sys-auth/elogind )
-   equalizer? (
-   sci-libs/fftw:3.0=
-   )
-   fftw? (
-   sci-libs/fftw:3.0=
-   )
-   gdbm? ( sys-libs/gdbm:= )
-   glib? ( >=dev-libs/glib-2.28.0:2 )
-   gstreamer? (
-   ${gstreamer_deps}
-   >=dev-libs/glib-2.26.0:2
-   )
-   jack? ( virtual/jack )
-   ldac? ( ${gstreamer_deps} )
-   lirc? ( app-misc/lirc )
-   ofono-headset? ( >=net-misc/ofono-1.13 )
-   orc? ( >=dev-lang/orc-0.4.15 )
-   selinux? ( sec-policy/selinux-pulseaudio )
-   sox? ( >=media-libs/soxr-0.1.1 )
-   ssl? ( dev-libs/openssl:= )
-   systemd? ( sys-apps/systemd:= )
-   tcpd? ( sys-apps/tcp-wrappers )
-   udev? ( >=virtual/udev-143[hwdb(+)] )
-   valgrind? ( dev-util/valgrind )
-   webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
-   X? (
-   >=x11-libs/libxcb-1.6
-   x11-libs/libICE
-   x11-libs/libSM
-   

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-10-29 Thread Sam James
commit: 6a7fd698885348dddc32c2b0527c1434ae6bbb4b
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 30 05:14:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 30 05:14:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7fd698

media-sound/pulseaudio-daemon: add freedesktop-gitlab upstream metadata

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index e8d9b11581af..b623122bdb00 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -80,4 +80,7 @@
   LDAC over Bluetooth (primarily Sony headphones), requires 
media-plugins/gst-plugins-ldac.
 
   
+  
+pulseaudio/pulseaudio
+  
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2023-10-06 Thread Sam James
commit: 1fec97488a02d57d0ed0716f2445f220eac44eb3
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Oct  6 08:35:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 12:05:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fec9748

media-sound/pulseaudio-daemon: Backport UAC2 avoid-resampling fix

Upstream commit aed52c507f345d0b5c4cd2b1d2c58dae2d904b53
Upstream commit 5ab2b9cb0e32190c3ea12b0f4cb7533d7340bbf1

See upstream https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1414

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33209
Signed-off-by: Sam James  gentoo.org>

 ...dio-16.1-fix-uac2-broken-avoid-resampling.patch | 382 +
 .../pulseaudio-daemon-16.1-r8.ebuild   |   1 +
 2 files changed, 383 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-uac2-broken-avoid-resampling.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-uac2-broken-avoid-resampling.patch
new file mode 100644
index ..a260ced351a5
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-uac2-broken-avoid-resampling.patch
@@ -0,0 +1,382 @@
+commit aed52c507f345d0b5c4cd2b1d2c58dae2d904b53
+Author: Igor V. Kovalenko 
+Date:   Wed Feb 22 01:19:24 2023 +0300
+
+alsa-util: Perform format and rate detection before setting HW params
+
+Perform detection of supported sample format and rates just after device is
+opened, before `snd_pcm_hw_params()` is called for the first time. This 
fixes a
+problem where device restricts available sample rates after HW params are 
set
+preventing sample rate detection (seen with UAC2 devices and kernel 6.1.9)
+
+Bug: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1414
+Bug: https://github.com/alsa-project/alsa-lib/issues/119
+Part-of: 

+
+diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
+index 49c39687c..c272e392b 100644
+--- a/src/modules/alsa/alsa-mixer.c
 b/src/modules/alsa/alsa-mixer.c
+@@ -5074,7 +5074,7 @@ static snd_pcm_t* mapping_open_pcm(pa_alsa_mapping *m,
+ handle = pa_alsa_open_by_template(
+   m->device_strings, dev_id, NULL, _ss,
+   _map, mode, _period_size,
+-  _buffer_size, 0, NULL, NULL, 
exact_channels);
++  _buffer_size, 0, NULL, NULL, NULL, NULL, 
exact_channels);
+ if (handle && !exact_channels && m->channel_map.channels != 
try_map.channels) {
+ char buf[PA_CHANNEL_MAP_SNPRINT_MAX];
+ pa_log_debug("Channel map for mapping '%s' permanently changed to 
'%s'", m->name,
+diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c
+index b249df680..ca22f195f 100644
+--- a/src/modules/alsa/alsa-sink.c
 b/src/modules/alsa/alsa-sink.c
+@@ -2527,7 +2527,9 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, 
const char*driver, pa_ca
+   , ,
+   SND_PCM_STREAM_PLAYBACK,
+   _frames, _frames, tsched_frames,
+-  , , mapping)))
++  , ,
++  >supported_formats, >supported_rates,
++  mapping)))
+ goto fail;
+ 
+ } else if ((dev_id = pa_modargs_get_value(ma, "device_id", NULL))) {
+@@ -2541,7 +2543,9 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, 
const char*driver, pa_ca
+   , ,
+   SND_PCM_STREAM_PLAYBACK,
+   _frames, _frames, tsched_frames,
+-  , , profile_set, )))
++  , ,
++  >supported_formats, >supported_rates,
++  profile_set, )))
+ goto fail;
+ 
+ } else {
+@@ -2552,7 +2556,9 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, 
const char*driver, pa_ca
+   , ,
+   SND_PCM_STREAM_PLAYBACK,
+   _frames, _frames, tsched_frames,
+-  , , false)))
++  , ,
++  >supported_formats, >supported_rates,
++  false)))
+ goto fail;
+ }
+ 
+@@ -2598,13 +2604,11 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs 
*ma, const char*driver, pa_ca
+ 
+ u->verified_sample_spec = ss;
+ 
+-u->supported_formats = pa_alsa_get_supported_formats(u->pcm_handle, 
ss.format);
+ if (!u->supported_formats) {
+ pa_log_error("Failed to find any supported sample formats.");
+ goto fail;
+ }
+ 
+-u->supported_rates = pa_alsa_get_supported_rates(u->pcm_handle, ss.rate);
+ if (!u->supported_rates) {
+ pa_log_error("Failed to find any supported sample rates.");
+

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2023-10-06 Thread Sam James
commit: cf2d6215f969b58406cb6894c46ec913581f60db
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Oct  6 08:35:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 12:05:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2d6215

media-sound/pulseaudio-daemon: Backport oversized resampler memblock fix

Upstream commit 1cfa7378236b3cf9daf3be09d3227b92df69cc53

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...dio-16.1-fix-resampler-oversized-memblock.patch | 55 ++
 .../pulseaudio-daemon-16.1-r8.ebuild   |  1 +
 2 files changed, 56 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-resampler-oversized-memblock.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-resampler-oversized-memblock.patch
new file mode 100644
index ..bd3d39d0af82
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-resampler-oversized-memblock.patch
@@ -0,0 +1,55 @@
+commit 1cfa7378236b3cf9daf3be09d3227b92df69cc53
+Author: Igor V. Kovalenko 
+Date:   Wed Feb 8 03:24:59 2023 +0300
+
+resampler: Fix oversized memblock pushed from resampler
+
+The assumption that the format enum is ordered by size is not valid for 
quite
+some time, since 24bit formats were appended to format enum later than 
32bit
+formats. This causes resampler to produce properly aligned memblock of size
+larger than maximum mempool block size if input format is 24bit and output
+format is 32bit.
+
+Oversized block is getting split by `pa_pstream_send_memblock()` into 
parts of
+size not exceeding maximum mempool block size. This usually works well but 
for
+32ch 32bit 48000Hz stream the frame alignment is 128 bytes and maximum 
mempool
+block size value is multiple of 64 but not 128 bytes, therefore resulting 
parts
+are misaligned.
+
+On receiving side this causes extra allocation of 128 byte chunk while 
`mcalign`
+helper reassembles properly aligned frame out of second block of misaligned
+size. While first and second properly aligned frames are retrieved 
successfully
+from `mcalign` helper, third retrieved frame would end up with properly 
aligned
+size but misaligned memblock index (in this example, that would be 64 
bytes.)
+Attempt to push a chunk with misaligned memblock index causes assertion 
failure
+
+  Assertion 'uchunk->index % bq->base == 0' failed at memblockq.c:289,
+function pa_memblockq_push(). Aborting.
+
+Fix oversized block issue by checking proper size of format instead of enum
+value.
+
+Fixes: a67c21f09 ("merge 'lennart' branch back into trunk.")
+Part-of: 

+
+diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c
+index b035f67ed..ba18c92c4 100644
+--- a/src/pulsecore/resampler.c
 b/src/pulsecore/resampler.c
+@@ -613,9 +613,13 @@ size_t pa_resampler_max_block_size(pa_resampler *r) {
+  * conversion */
+ max_ss.channels = (uint8_t) (PA_MAX(r->i_ss.channels, r->o_ss.channels));
+ 
+-/* We silently assume that the format enum is ordered by size */
+-max_ss.format = PA_MAX(r->i_ss.format, r->o_ss.format);
+-max_ss.format = PA_MAX(max_ss.format, r->work_format);
++max_ss.format = r->i_ss.format;
++
++if (pa_sample_size_of_format(max_ss.format) < 
pa_sample_size_of_format(r->o_ss.format))
++max_ss.format = r->o_ss.format;
++
++if (pa_sample_size_of_format(max_ss.format) < 
pa_sample_size_of_format(r->work_format))
++max_ss.format = r->work_format;
+ 
+ max_ss.rate = PA_MAX(r->i_ss.rate, r->o_ss.rate);
+ 

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
index 44c1c3c46161..0245469211bc 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
@@ -167,6 +167,7 @@ PATCHES=(
# alignment fix changes internal abi, added requirement matching 
>=media-libs/libpulse-16.1-r3
"${FILESDIR}"/pulseaudio-16.1-fix-memblock-alignment.patch
"${FILESDIR}"/pulseaudio-16.1-add-more-standard-samplerates.patch
+   "${FILESDIR}"/pulseaudio-16.1-fix-resampler-oversized-memblock.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-09-19 Thread Arthur Zamarin
commit: 25d438e13fa97cbeb9b02b428c277139c2577369
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep 15 09:48:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Sep 19 17:48:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d438e1

media-sound/pulseaudio-daemon: fix VariableShadowed

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild | 4 +---
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 --
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 --
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
index 4c705a12d383..fc21e3b97d09 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -158,8 +158,6 @@ BDEPEND="
 
 DOCS=( NEWS README )
 
-S="${WORKDIR}/${MY_P}"
-
 # patches merged upstream, to be removed with 16.2 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index 2e40958452f4..07753fac2156 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -158,8 +158,6 @@ BDEPEND="
 
 DOCS=( NEWS README )
 
-S="${WORKDIR}/${MY_P}"
-
 # patches merged upstream, to be removed with 16.2 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index a513d2541f4a..792c7f4e5085 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -157,8 +157,6 @@ BDEPEND="
 
 DOCS=( NEWS README )
 
-S="${WORKDIR}/${MY_P}"
-
 # patches merged upstream, to be removed with 16.2 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-ctl/

2023-05-16 Thread Sam James
commit: d85011a1daa9793ca49a970bfe04a59d28f5a648
Author: Sam James  gentoo  org>
AuthorDate: Wed May 17 04:01:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 17 04:01:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85011a1

media-sound/pulseaudio-ctl: Keyword 1.70-r1 arm64, #906529

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-ctl/pulseaudio-ctl-1.70-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.70-r1.ebuild 
b/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.70-r1.ebuild
index 757d436aadd5..f6150651fbb2 100644
--- a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.70-r1.ebuild
+++ b/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.70-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/graysky2/pulseaudio-ctl/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE=""
 
 # Optional runtime deps: dbus-send for KDE OSD, notify-send for libnotify



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-14 Thread Sam James
commit: 72154324c6a8564e53fc240274cba91f72beb528
Author: Sam James  gentoo  org>
AuthorDate: Sun May 14 17:02:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 14 17:10:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72154324

media-sound/pulseaudio-daemon: defer to new global USE=valgrind description

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index 5d81f9170193..e8d9b11581af 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -67,7 +67,6 @@
   Build with sys-apps/systemd support to replace standalone
   ConsoleKit.
 
-Compile in valgrind memory hints
 
   Build with optional oFono HFP backend for bluez 5, requires 
net-misc/ofono.
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-06 Thread Arthur Zamarin
commit: 213afe99de8205abcff8f0d1898824ce53a3ae86
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:29:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:29:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213afe99

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 arm64, #904912

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 2f79d1fda271..431f0a1ebca8 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-06 Thread Arthur Zamarin
commit: 16ddb32106d1d2ee088a82a753670fb9d01a29a6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:29:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:29:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16ddb321

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 amd64, #904912

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 431f0a1ebca8..a513d2541f4a 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-06 Thread Arthur Zamarin
commit: 26a5c50b06c3ebacf1350d74cafe663a3035f8e3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:28:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:28:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a5c50b

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 ppc, #904912

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index ed7581a0f7bb..2f79d1fda271 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-06 Thread Arthur Zamarin
commit: d21a2191982ff2a8101d49e70b3e72d19b290939
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:19:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:19:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21a2191

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 ppc64, #904912

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 53a4ee10ff69..ed7581a0f7bb 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-04-23 Thread Sam James
commit: 337febfd696af8ad3205d09ffcb261576d6f4494
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 22:16:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 22:16:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337febfd

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 arm, #904912

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 0bcb6b6d114b..53a4ee10ff69 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-04-23 Thread Sam James
commit: 55a6e4d883686065be5c8495aac5e662b0c38a0c
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 20:21:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 20:21:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a6e4d8

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 sparc, #904912

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index b112c1d674b2..0bcb6b6d114b 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-04-23 Thread Sam James
commit: ca65400f95cabbdaf5782f3200244c9311c026dd
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 20:05:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 20:05:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca65400f

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 x86, #904912

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 186ed0f9686a..b112c1d674b2 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-31 Thread Arthur Zamarin
commit: a228fd04b9ab0d8270d043dfadfb2e17b85d54c4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 31 11:44:08 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 31 11:44:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a228fd04

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 ppc, #892149

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index cdff76f5129f..2e40958452f4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-31 Thread Arthur Zamarin
commit: 0acc32636c3ec7faac1add9c815474d51fcca038
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 31 11:44:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 31 11:44:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0acc3263

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 arm, #892149

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index b598b0c657c4..cdff76f5129f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-21 Thread Sam James
commit: aaab7459af894b8a5b67f60b5d80c2ff99910c84
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Mar 21 19:42:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 01:19:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaab7459

media-sound/pulseaudio-daemon: Drop obsolete blocker

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index e567cbed7f96..186ed0f9686a 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -111,7 +111,6 @@ COMMON_DEPEND="
>=x11-libs/libXtst-1.0.99.2
)
zeroconf? ( >=net-dns/avahi-0.6.12[dbus] )
-   !

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-21 Thread Sam James
commit: c5f6ad817564e8efbc77595886b44ecaa39c
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Dec 24 11:52:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 01:19:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f6

media-sound/pulseaudio-daemon: Suggest qpaeq package for equalizer GUI

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon-16.1-r7.ebuild   | 390 +
 1 file changed, 390 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
new file mode 100644
index ..e567cbed7f96
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -0,0 +1,390 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20
+   >=media-libs/speexdsp-1.2
+   alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
+   asyncns? ( >=net-libs/libasyncns-0.1 )
+   bluetooth? (
+   >=net-wireless/bluez-5
+   media-libs/sbc
+   )
+   dev-libs/libltdl
+   sys-kernel/linux-headers
+   >=sys-libs/libcap-2.22-r2
+   dbus? ( >=sys-apps/dbus-1.4.12 )
+   elibc_mingw? ( dev-libs/libpcre:3 )
+   elogind? ( sys-auth/elogind )
+   equalizer? (
+   sci-libs/fftw:3.0=
+   )
+   fftw? (
+   sci-libs/fftw:3.0=
+   )
+   gdbm? ( sys-libs/gdbm:= )
+   glib? ( >=dev-libs/glib-2.28.0:2 )
+   gstreamer? (
+   ${gstreamer_deps}
+   >=dev-libs/glib-2.26.0:2
+   )
+   jack? ( virtual/jack )
+   ldac? ( ${gstreamer_deps} )
+   lirc? ( app-misc/lirc )
+   ofono-headset? ( >=net-misc/ofono-1.13 )
+   orc? ( >=dev-lang/orc-0.4.15 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   sox? ( >=media-libs/soxr-0.1.1 )
+   ssl? ( dev-libs/openssl:= )
+   systemd? ( sys-apps/systemd:= )
+   tcpd? ( sys-apps/tcp-wrappers )
+   udev? ( >=virtual/udev-143[hwdb(+)] )
+   valgrind? ( dev-util/valgrind )
+   webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
+   X? (
+   >=x11-libs/libxcb-1.6
+   x11-libs/libICE
+   x11-libs/libSM
+   

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-16 Thread Arthur Zamarin
commit: b0a9098dc37ec0c6e85cdec0e544305c708f30c8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 16 17:37:40 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 16 17:37:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a9098d

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 ppc64, #892149

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index 945c3036b8b4..b598b0c657c4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-12 Thread Viorel Munteanu
commit: 2742e80bdeef0db15f0c05481826c1cebbe670ec
Author: Matoro Mahri  users  noreply  github  
com>
AuthorDate: Sat Mar 11 16:20:27 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sun Mar 12 09:22:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2742e80b

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 sparc, #892149

Signed-off-by: Matoro Mahri  users.noreply.github.com>
Signed-off-by: Viorel Munteanu  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index a3936c0f3d60..945c3036b8b4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-02-01 Thread Arthur Zamarin
commit: 1af47bdb042bd16cca72c8a66c314998d785b0b6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Feb  1 09:11:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Feb  1 09:11:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af47bdb

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 arm64, #892149

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index 6b835c0c2088..a3936c0f3d60 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-01-26 Thread Sam James
commit: 934dee9ee1636d8017ffe9b0de87fc932ca7e13f
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 27 06:30:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 27 06:30:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934dee9e

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 amd64, #892149

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index f196d6fc19a2..6b835c0c2088 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-01-26 Thread Sam James
commit: d6010a3d023e536a2362a316a578602a143cae49
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 27 06:28:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 27 06:28:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6010a3d

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 x86, #892149

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index 9356b406dac4..f196d6fc19a2 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-12-14 Thread Joonas Niilola
commit: 2c05156630ebc229b24473663438771e2f30924d
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Dec 13 06:24:45 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Dec 14 12:41:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c051566

media-sound/pulseaudio-daemon: Add BDEPEND sys-devel/m4

Closes: https://bugs.gentoo.org/885717
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28650
Signed-off-by: Joonas Niilola  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild | 1 +
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
index ab27052dd5c6..4c705a12d383 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
@@ -148,6 +148,7 @@ BDEPEND="
dev-lang/perl
dev-perl/XML-Parser
sys-devel/gettext
+   sys-devel/m4
virtual/libiconv
virtual/libintl
virtual/pkgconfig

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
index 46c4de34781f..9356b406dac4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
@@ -148,6 +148,7 @@ BDEPEND="
dev-lang/perl
dev-perl/XML-Parser
sys-devel/gettext
+   sys-devel/m4
virtual/libiconv
virtual/libintl
virtual/pkgconfig



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-12-06 Thread Sam James
commit: 000ca35273635b00c33b5f1c9775074d0e0f1280
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  6 18:16:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 18:16:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000ca352

media-sound/pulseaudio-daemon: only depend on libpcre for elibc_mingw

This syncs pulseaudio-daemon with libpcre, see 
c05fb18ebae2e964fb4030a3f86f1870371c0e9e.

Bug: https://bugs.gentoo.org/472228
Bug: https://bugs.gentoo.org/884607
Signed-off-by: Sam James  gentoo.org>

 ...ulseaudio-daemon-16.1.ebuild => pulseaudio-daemon-16.1-r3.ebuild} | 5 +
 ...eaudio-daemon-16.1-r2.ebuild => pulseaudio-daemon-16.1-r4.ebuild} | 5 +
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
index 706fa7f66af7..ab27052dd5c6 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
@@ -65,10 +65,6 @@ COMMON_DEPEND="
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
alsa? ( >=media-libs/alsa-lib-1.0.24 )
aptx? ( ${gstreamer_deps} )
asyncns? ( >=net-libs/libasyncns-0.1 )
@@ -80,6 +76,7 @@ COMMON_DEPEND="
sys-kernel/linux-headers
>=sys-libs/libcap-2.22-r2
dbus? ( >=sys-apps/dbus-1.4.12 )
+   elibc_mingw? ( dev-libs/libpcre:3 )
elogind? ( sys-auth/elogind )
equalizer? (
sci-libs/fftw:3.0=

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
index a358f8c2235d..46c4de34781f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
@@ -65,10 +65,6 @@ COMMON_DEPEND="
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
alsa? ( >=media-libs/alsa-lib-1.0.24 )
aptx? ( ${gstreamer_deps} )
asyncns? ( >=net-libs/libasyncns-0.1 )
@@ -80,6 +76,7 @@ COMMON_DEPEND="
sys-kernel/linux-headers
>=sys-libs/libcap-2.22-r2
dbus? ( >=sys-apps/dbus-1.4.12 )
+   elibc_mingw? ( dev-libs/libpcre:3 )
elogind? ( sys-auth/elogind )
equalizer? (
sci-libs/fftw:3.0=



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-12-02 Thread Sam James
commit: ec06180714fd70296f1ac141438e2a39de624c97
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Dec  3 06:31:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  3 07:48:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec061807

media-sound/pulseaudio-daemon: Move qpaeq to daemon build

Upstream commit 07a9fcefbab049d66cb174ca2c9b91fecc444c5b

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28519
Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-16.1-move-qpaeq-to-daemon.patch | 36 ++
 ...-r1.ebuild => pulseaudio-daemon-16.1-r2.ebuild} |  1 +
 2 files changed, 37 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch
new file mode 100644
index ..d3943bf10a49
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch
@@ -0,0 +1,36 @@
+commit 07a9fcefbab049d66cb174ca2c9b91fecc444c5b
+Author: Igor V. Kovalenko 
+Date:   Sat Jul 9 09:12:38 2022 +0300
+
+build-sys: meson: Move qpaeq to daemon build
+
+Equalizer control requires server modules only available when daemon is 
built.
+Move qpaeq script to be installed together with daemon.
+
+Part-of: 

+
+diff --git a/src/utils/meson.build b/src/utils/meson.build
+index 28e1fc10a..8496d0bc5 100644
+--- a/src/utils/meson.build
 b/src/utils/meson.build
+@@ -72,6 +72,10 @@ if get_option('daemon')
+   c_args : pa_c_args,
+ )
+   endif
++
++  if dbus_dep.found() and fftw_dep.found()
++install_data('qpaeq', install_dir : bindir)
++  endif
+ endif
+ 
+ if get_option('client')
+@@ -117,9 +121,5 @@ if get_option('client')
+ )
+   endif
+ 
+-  if dbus_dep.found() and fftw_dep.found()
+-install_data('qpaeq', install_dir : bindir)
+-  endif
+-
+   install_data('pa-info', install_dir : bindir)
+ endif

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
index 8ccca2d552d5..a358f8c2235d 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
@@ -167,6 +167,7 @@ PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch
"${FILESDIR}"/pulseaudio-16.1-module-combine-sink-load-crash.patch
"${FILESDIR}"/pulseaudio-16.1-module-combine-sink-unload-crash.patch
+   "${FILESDIR}"/pulseaudio-16.1-move-qpaeq-to-daemon.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-11-28 Thread Mart Raudsepp
commit: 38919a9dc42d975a5966c3dacb61c19995993109
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sun Nov 27 20:11:11 2022 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Nov 29 07:08:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38919a9d

media-sound/pulseaudio-daemon: Fix module-combine-sink crashes

Upstream commits:
37c72c20720d6f7fefeeb151f5e10c2cd0dda30e
0cbbc408aee2b5f2c42280d24dc615405387b5b1

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28452
Signed-off-by: Mart Raudsepp  gentoo.org>

 ...audio-16.1-module-combine-sink-load-crash.patch |  26 ++
 ...dio-16.1-module-combine-sink-unload-crash.patch |  22 ++
 .../pulseaudio-daemon-16.1-r1.ebuild   | 395 +
 3 files changed, 443 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch
new file mode 100644
index ..d02c1029f8b0
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch
@@ -0,0 +1,26 @@
+commit 37c72c20720d6f7fefeeb151f5e10c2cd0dda30e
+Author: Igor V. Kovalenko 
+Date:   Sun Nov 27 22:30:45 2022 +0300
+
+module-combine-sink: Do not set up rate adjustment timer at load time
+
+Rate adjustment timer is set up when combine sink is resumed and relased 
when
+combine sink is suspended. Do not create this timer again while module is 
loaded
+to prevent duplicate effort causing assertion in time_callback.
+
+Part-of: 

+
+diff --git a/src/modules/module-combine-sink.c 
b/src/modules/module-combine-sink.c
+index f98f4820b..4b7690183 100644
+--- a/src/modules/module-combine-sink.c
 b/src/modules/module-combine-sink.c
+@@ -1711,9 +1711,6 @@ int pa__init(pa_module*m) {
+ PA_IDXSET_FOREACH(o, u->outputs, idx)
+ output_verify(o);
+ 
+-if (u->adjust_time > 0)
+-u->time_event = pa_core_rttime_new(m->core, pa_rtclock_now() + 
u->adjust_time, time_callback, u);
+-
+ pa_modargs_free(ma);
+ 
+ return 0;

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch
new file mode 100644
index ..f0cd82dde16e
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch
@@ -0,0 +1,22 @@
+commit 0cbbc408aee2b5f2c42280d24dc615405387b5b1
+Author: Igor V. Kovalenko 
+Date:   Sun Nov 27 19:39:23 2022 +0300
+
+module-combine-sink: Suspend while unloading to fix crash moving sinks
+
+Part-of: 

+
+diff --git a/src/modules/module-combine-sink.c 
b/src/modules/module-combine-sink.c
+index 4b7690183..2ccd9eb13 100644
+--- a/src/modules/module-combine-sink.c
 b/src/modules/module-combine-sink.c
+@@ -1733,6 +1733,9 @@ void pa__done(pa_module*m) {
+ if (!(u = m->userdata))
+ return;
+ 
++if (u->sink && PA_SINK_IS_LINKED(u->sink->state))
++pa_sink_suspend(u->sink, true, PA_SUSPEND_UNAVAILABLE);
++
+ pa_strlist_free(u->unlinked_slaves);
+ 
+ if (u->sink_put_slot)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild
new file mode 100644
index ..8ccca2d552d5
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild
@@ -0,0 +1,395 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+SLOT="0"
+
+# +alsa-plugin as discussed in bug #519530
+# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-10-28 Thread Sam James
commit: b08d54c0996bc161adb7622d13e7c5579774147b
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 19:31:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 19:50:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08d54c0

media-sound/pulseaudio-daemon: drop 16.0-r1

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest |   1 -
 .../pulseaudio-daemon-16.0-r1.ebuild   | 383 -
 2 files changed, 384 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
index 7e2a36fffea5..955eec847d0e 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1,2 +1 @@
-DIST pulseaudio-16.0.tar.xz 1551276 BLAKE2B 
54ba5d446bc02246bf842280f577851eb66ff9fed1e1b0d2d03e238796d9d04bc1fc27215b02fdded37441da1747be23d1e03d5a00b79ee3b91eb35c0f76a470
 SHA512 
42d4968c2dc88f5e39a5358d124e399e40a5abdf815eff387087141bc9217012acb35649a8e0e24a44e8a402d90eb193ce2eef186f7d59550f757a6cc26d
 DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 
535706abcea2cae39834b23c8bdc37f71b0e633de2d8e43ea4425da97a850b57c2f980c318681cbc86cf1e746200609dad41f8b96ecf4568f86d94aa6831c9a1
 SHA512 
33b0b4292f05e0882f3ec822cf5720414bb34c523d80fe287b9740d6be219787c562e8024c9b0d9e2ee010771ca72c7ae4f27df1bbef9c9cb6bb6a23cbcc412f

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
deleted file mode 100644
index 1dc4c81cf6e6..
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ /dev/null
@@ -1,383 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-MY_PV="${PV/_pre*}"
-MY_P="pulseaudio-${MY_PV}"
-inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
-
-DESCRIPTION="A networked sound server with an advanced plugin system"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-   EGIT_BRANCH="master"
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
-else
-   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-# libpulse-simple and libpulse link to libpulse-core; this is daemon's
-# library and can link to gdbm and other GPL-only libraries. In this
-# cases, we have a fully GPL-2 package. Leaving the rest of the
-# GPL-forcing USE flags for those who use them.
-LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
-
-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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
-ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
-
-RESTRICT="!test? ( test )"
-
-# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
-# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
-# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
-REQUIRED_USE="
-   ?? ( elogind systemd )
-   alsa-plugin? ( alsa )
-   aptx? ( bluetooth )
-   bluetooth? ( dbus )
-   equalizer? ( dbus )
-   ldac? ( bluetooth )
-   ofono-headset? ( bluetooth )
-   udev? ( || ( alsa oss ) )
-   zeroconf? ( dbus )
-"
-
-# NOTE:
-# - libpcre needed in some cases, bug #472228
-# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-gstreamer_deps="
-   media-libs/gst-plugins-base
-   >=media-libs/gstreamer-1.14
-"
-COMMON_DEPEND="
-   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd(+)?,valgrind?,X?]
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20
-   >=media-libs/speexdsp-1.2
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
-   alsa? ( >=media-libs/alsa-lib-1.0.24 )
-   aptx? ( ${gstreamer_deps} )
-   asyncns? ( >=net-libs/libasyncns-0.1 )
-   bluetooth? (
-   >=net-wireless/bluez-5
-   media-libs/sbc
-   )
-   dev-libs/libltdl
-   sys-kernel/linux-headers
-   >=sys-libs/libcap-2.22-r2
-   dbus? ( >=sys-apps/dbus-1.4.12 )
-   elogind? ( sys-auth/elogind )
-   equalizer? (
-   sci-libs/fftw:3.0=
-   )
-  

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-10-28 Thread Sam James
commit: d2e40bb53b9cbab14fb4748a8c07e6ee6be1d299
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 19:31:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 19:50:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e40bb5

media-sound/pulseaudio: drop 16.0

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 29 ---
 1 file changed, 29 deletions(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
deleted file mode 100644
index 0e728819bd6b..
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit multilib-minimal
-
-DESCRIPTION="A meta package for PulseAudio (networked sound server)"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
-SRC_URI=""
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
-
-LICENSE="metapackage"
-
-SLOT="0"
-
-# NOTE: bluetooth and ofono-headset are passed through to
-# pulseaudio-daemon dependency to make sure users who have bluetooth enabled
-# just for pulseaudio package will also get these enabled via metapackage.
-IUSE="bluetooth +daemon +glib jack ofono-headset"
-
-RDEPEND="
-   >=media-libs/libpulse-${PV}[glib?,${MULTILIB_USEDEP}]
-   daemon? ( 
>=media-sound/pulseaudio-daemon-${PV}[bluetooth?,glib?,jack?,ofono-headset?] )
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-ctl/

2022-07-30 Thread Sam James
commit: 69ac8a31ed5c0fc2040aa5fcd41f64b492fade5a
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:48:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:48:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69ac8a31

media-sound/pulseaudio-ctl: drop 1.67, 1.68, 1.69

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-ctl/Manifest|  3 ---
 .../pulseaudio-ctl/pulseaudio-ctl-1.67.ebuild  | 23 --
 .../pulseaudio-ctl/pulseaudio-ctl-1.68.ebuild  | 21 
 .../pulseaudio-ctl/pulseaudio-ctl-1.69.ebuild  | 21 
 4 files changed, 68 deletions(-)

diff --git a/media-sound/pulseaudio-ctl/Manifest 
b/media-sound/pulseaudio-ctl/Manifest
index d9e56df610b5..6b48e403cc60 100644
--- a/media-sound/pulseaudio-ctl/Manifest
+++ b/media-sound/pulseaudio-ctl/Manifest
@@ -1,4 +1 @@
-DIST pulseaudio-ctl-1.67.tar.gz 6615 BLAKE2B 
fd760fc5475cdd9c6bbced9f4bbe0f62e793364d375f0bc24686986d42c9ddcfeddde501950c3572a4bf004cdfba36d3dc5aa1df3eed7a9730a437e74eb97b26
 SHA512 
5ea1cbfd87cf073de46b6fd9953a3c7b9c6969da46103dd5dfc56aa3f179b2ba36ade5db7ca47d204f0f60ac02020f1a4f2dd58bbaf010f9a99780702295418c
-DIST pulseaudio-ctl-1.68.tar.gz 6575 BLAKE2B 
a126730f53687b8456ed06f205e13d9380f7cadd4581430b4263dff65ebd33b22ad698cad4271402f873d9fa6c3499fd805ba02e9108723dcd60690016fcc196
 SHA512 
8ed4383d123d235bcde2e89a0a81fea96daa81dabb37cc9428eb3dd8e0c80fde3b9adf2b3ff911abaf6c4e5cb7cdbd74ce6817e080b3dba65d9206677ce10de5
-DIST pulseaudio-ctl-1.69.tar.gz 6577 BLAKE2B 
db55eec57e1204eef228ad331fd0b95bab2ee16625ca94fe4632ee713412b0686f1c1abc509f8c2ee0d1e6b08147f79ab961a4039fdadc351a88bcaedc13a9e0
 SHA512 
4cd80bb917b95ed96bee5005b54f50cbce6d3e341aee32c91daf301e3b4bc8fdd8b4c350b3a3951c6afa740df4565dfc5f0fdb7c858a3f2c7321c983f3fb36c2
 DIST pulseaudio-ctl-1.70.tar.gz 6513 BLAKE2B 
bd752c42a6ec7c205112637a11e2abae1474b2bcb43f09fa46439b1509c816e8baadd547868821f495f79acf9606bc913ee8664286f181357e264ffa3cdf60f9
 SHA512 
59ec5f3da3021fd79ba33d9934c6dde9eebdfcc5e7651355b69c54e13cf6525d741a68780c6dc5c871ad108a261334657f7f25306e59fc6142912e2ff2278cb7

diff --git a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.67.ebuild 
b/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.67.ebuild
deleted file mode 100644
index ad9ef3abe659..
--- a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.67.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="CLI utility to control PulseAudio volume"
-HOMEPAGE="https://github.com/graysky2/pulseaudio-ctl;
-SRC_URI="https://github.com/graysky2/pulseaudio-ctl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# Optional runtime deps: dbus-send for KDE OSD, notify-send for libnotify
-# in both cases they should be already present if DE supports them
-RDEPEND="media-sound/pulseaudio"
-
-src_install() {
-   # install-man target compresses manpage
-   emake install-bin PREFIX="${EPREFIX}/usr" DESTDIR="${D}"
-   doman doc/pulseaudio-ctl.1
-}

diff --git a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.68.ebuild 
b/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.68.ebuild
deleted file mode 100644
index 71ae8973b850..
--- a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.68.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="CLI utility to control PulseAudio volume"
-HOMEPAGE="https://github.com/graysky2/pulseaudio-ctl;
-SRC_URI="https://github.com/graysky2/pulseaudio-ctl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# Optional runtime deps: dbus-send for KDE OSD, notify-send for libnotify
-# in both cases they should be already present if DE supports them
-RDEPEND="media-sound/pulseaudio"
-
-src_install() {
-   emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}"
-}

diff --git a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.69.ebuild 
b/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.69.ebuild
deleted file mode 100644
index 64655c017f73..
--- a/media-sound/pulseaudio-ctl/pulseaudio-ctl-1.69.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="CLI utility to control PulseAudio volume"
-HOMEPAGE="https://github.com/graysky2/pulseaudio-ctl;
-SRC_URI="https://github.com/graysky2/pulseaudio-ctl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# Optional runtime deps: dbus-send for KDE OSD, notify-send for libnotify
-# in both cases they should be already present if DE supports them
-RDEPEND="media-sound/pulseaudio"
-
-src_install() {
-   emake install 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/, media-sound/pulseaudio/files/

2022-07-30 Thread Sam James
commit: c185146b40b6665533f7235a5d88dee258dc05fd
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:36:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:39:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c185146b

media-sound/pulseaudio: drop 13.0-r1, 15.0-r2, 15.0-r3

This should make things a bit less confusing when
looking at packages.gentoo.org, 'equery u', etc
wrt libpulse split.

media-sound/pulseaudio is now just a meta.

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/Manifest|   2 -
 .../pulseaudio-11.1-disable-flat-volumes.patch |  48 ---
 .../pulseaudio/files/pulseaudio-13.0-clang.patch   |  25 --
 ...dio-14.99.2-require-GIO-for-RTP-GStreamer.patch |  51 ---
 ...lseaudio-14.99.2-require-bluez-dependency.patch |  89 -
 ...pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch |  25 --
 media-sound/pulseaudio/files/pulseaudio.conf.d |   6 -
 media-sound/pulseaudio/files/pulseaudio.init.d-5   |  80 -
 media-sound/pulseaudio/files/pulseaudio.service|  10 -
 media-sound/pulseaudio/files/pulseaudio.tmpfiles   |   1 -
 media-sound/pulseaudio/metadata.xml|  69 
 media-sound/pulseaudio/pulseaudio-13.0-r1.ebuild   | 355 ---
 media-sound/pulseaudio/pulseaudio-15.0-r2.ebuild   | 375 
 media-sound/pulseaudio/pulseaudio-15.0-r3.ebuild   | 382 -
 14 files changed, 1518 deletions(-)

diff --git a/media-sound/pulseaudio/Manifest b/media-sound/pulseaudio/Manifest
deleted file mode 100644
index 39535c6a45ad..
--- a/media-sound/pulseaudio/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pulseaudio-13.0.tar.xz 1901768 BLAKE2B 
651a80f54525f196bcb036d893fedd4d9f34e10459918281397a45f498c31bff0d0c836f4e64aab5ac2612ffd5a0cab1a41ea710bbee5fd34dfc9ea1236deea9
 SHA512 
d445b8ccd43029a0ca0e456fc9291a79d3434d6496ead7eb329ab348d5249235e8bde6cf2be68765d8f761452dbe1486fb10c739e40b1e67ed75787bbd24ac0c
-DIST pulseaudio-15.0.tar.xz 1521760 BLAKE2B 
a6f7b74fdcfe7f2a993eafb9f465946915a24b6801d3077971b9377290d6c70b3f8640a800abd09d5901db96a20349f31b1beedd9da2249f69b591fb8392f489
 SHA512 
352ef20384c76c631c0faa73b08e2318902a433712e0c086a5ac7a0ae58873c8d4be8f35879bdec71a93b19ae8e2ba073cacac4d56215bcf58375a0cd9d88833

diff --git 
a/media-sound/pulseaudio/files/pulseaudio-11.1-disable-flat-volumes.patch 
b/media-sound/pulseaudio/files/pulseaudio-11.1-disable-flat-volumes.patch
deleted file mode 100644
index 40b23ec05f2e..
--- a/media-sound/pulseaudio/files/pulseaudio-11.1-disable-flat-volumes.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -up a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in
 a/man/pulse-daemon.conf.5.xml.in   2016-05-26 23:21:17.0 -0500
-+++ b/man/pulse-daemon.conf.5.xml.in   2016-05-31 10:01:55.679976730 -0500
-@@ -220,7 +220,7 @@ License along with PulseAudio; if not, s
-   flat-volumes= Enable 'flat' volumes, i.e. where
-   possible let the sink volume equal the maximum of the volumes of
-   the inputs connected to it. Takes a boolean argument, defaults
--  to yes.
-+  to no.
- 
- 
-   
-diff -up a/src/daemon/daemon-conf.c b/src/daemon/daemon-conf.c
 a/src/daemon/daemon-conf.c 2016-05-26 23:21:17.0 -0500
-+++ b/src/daemon/daemon-conf.c 2016-05-31 10:01:55.680976735 -0500
-@@ -68,7 +68,7 @@ static const pa_daemon_conf default_conf
- .realtime_priority = 5,  /* Half of JACK's default rtprio */
- .disallow_module_loading = false,
- .disallow_exit = false,
--.flat_volumes = true,
-+.flat_volumes = false,
- .exit_idle_time = 20,
- .scache_idle_time = 20,
- .script_commands = NULL,
-diff -up a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in
 a/src/daemon/daemon.conf.in2016-05-31 10:01:55.680976735 -0500
-+++ b/src/daemon/daemon.conf.in2016-05-31 10:02:28.048133267 -0500
-@@ -57,7 +57,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
- ; enable-lfe-remixing = no
- ; lfe-crossover-freq = 0
- 
--; flat-volumes = yes
-+; flat-volumes = no
- 
- ifelse(@HAVE_SYS_RESOURCE_H@, 1, [dnl
- ; rlimit-fsize = -1
-diff -up a/src/pulsecore/core.c b/src/pulsecore/core.c
 a/src/pulsecore/core.c 2016-05-26 23:21:17.0 -0500
-+++ b/src/pulsecore/core.c 2016-05-31 10:01:55.681976740 -0500
-@@ -135,7 +135,7 @@ pa_core* pa_core_new(pa_mainloop_api *m,
- c->exit_idle_time = -1;
- c->scache_idle_time = 20;
- 
--c->flat_volumes = true;
-+c->flat_volumes = false;
- c->disallow_module_loading = false;
- c->disallow_exit = false;
- c->running_as_daemon = false;

diff --git a/media-sound/pulseaudio/files/pulseaudio-13.0-clang.patch 
b/media-sound/pulseaudio/files/pulseaudio-13.0-clang.patch
deleted file mode 100644
index d7b81de0313e..
--- a/media-sound/pulseaudio/files/pulseaudio-13.0-clang.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From e4450d8b586103ec1414e2d6245ff34a9096d97a Mon Sep 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-modules-bt/

2022-07-30 Thread Sam James
commit: f2540638ea52a8ab8dd087caad671b3322295698
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:39:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:39:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2540638

media-sound/pulseaudio-modules-bt: drop 1.4

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-modules-bt/Manifest |  1 -
 .../pulseaudio-modules-bt-1.4.ebuild   | 81 --
 2 files changed, 82 deletions(-)

diff --git a/media-sound/pulseaudio-modules-bt/Manifest 
b/media-sound/pulseaudio-modules-bt/Manifest
index 5558a7f3df34..555774eddc07 100644
--- a/media-sound/pulseaudio-modules-bt/Manifest
+++ b/media-sound/pulseaudio-modules-bt/Manifest
@@ -1,3 +1,2 @@
-DIST pulseaudio-13.0.tar.xz 1901768 BLAKE2B 
651a80f54525f196bcb036d893fedd4d9f34e10459918281397a45f498c31bff0d0c836f4e64aab5ac2612ffd5a0cab1a41ea710bbee5fd34dfc9ea1236deea9
 SHA512 
d445b8ccd43029a0ca0e456fc9291a79d3434d6496ead7eb329ab348d5249235e8bde6cf2be68765d8f761452dbe1486fb10c739e40b1e67ed75787bbd24ac0c
 DIST pulseaudio-15.0.tar.xz 1521760 BLAKE2B 
a6f7b74fdcfe7f2a993eafb9f465946915a24b6801d3077971b9377290d6c70b3f8640a800abd09d5901db96a20349f31b1beedd9da2249f69b591fb8392f489
 SHA512 
352ef20384c76c631c0faa73b08e2318902a433712e0c086a5ac7a0ae58873c8d4be8f35879bdec71a93b19ae8e2ba073cacac4d56215bcf58375a0cd9d88833
 DIST pulseaudio-modules-bt-1.4.tar.gz 87558 BLAKE2B 
98b21d8fced5b88d59e45ca4fa2505d3606616a8a09dd95eb91e30b0d31c8a0ec7e52e4c2fd1b601130f69a997871064849fa0c8847ec0686fb42a2ccd7ac43b
 SHA512 
390b6ad0931b464a546c6624bec38cc5b6da7084e4defe2045f4164b0c910a9dd6d4327466eb0e53fcfbc78c995cf2e3634a75b67ee2a14f38ed18e31b5d2bce

diff --git a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild 
b/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild
deleted file mode 100644
index b1b9841188e7..
--- a/media-sound/pulseaudio-modules-bt/pulseaudio-modules-bt-1.4.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake readme.gentoo-r1
-
-DESCRIPTION="PulseAudio modules for LDAC, aptX, aptX HD, and AAC for Bluetooth"
-HOMEPAGE="https://github.com/EHfive/pulseaudio-modules-bt;
-
-PULSE_VER="13.0"
-SRC_URI="
-   https://github.com/EHfive/pulseaudio-modules-bt/archive/v${PV}.tar.gz 
-> ${P}.tar.gz
-   
https://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PULSE_VER}.tar.xz
-"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="fdk +ffmpeg +ldac +native-headset ofono-headset"
-
-DEPEND="
-   fdk? ( media-libs/fdk-aac:0= )
-   ffmpeg? ( media-video/ffmpeg )
-   media-libs/sbc
-   ldac? ( media-libs/libldac )
-   >=net-wireless/bluez-5
-   >=sys-apps/dbus-1.0.0
-   ofono-headset? ( >=net-misc/ofono-1.13 )
-   ( >=media-sound/pulseaudio-${PULSE_VER}[-bluetooth(-)] 
https://github.com/EHfive/pulseaudio-modules-bt/issues/33).
-Please ensure you have this lines present in your /etc/pulse/default.pa
-file:
-
-.ifexists module-bluetooth-policy.so
-load-module module-bluetooth-policy
-.endif
-
-.ifexists module-bluetooth-discover.so
-load-module module-bluetooth-discover
-.endif
-"
-
-src_prepare() {
-   cmake_src_prepare
-
-   # pulseaudio headers needed to build
-   rmdir pa/ || die
-   ln -s ../pulseaudio-${PULSE_VER}/ pa || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCODEC_AAC_FDK=$(usex fdk "ON" "OFF")
-   -DCODEC_APTX_FF=$(usex ffmpeg "ON" "OFF")
-   -DCODEC_APTX_HD_FF=$(usex ffmpeg "ON" "OFF")
-   -DCODEC_LDAC=$(usex ldac "ON" "OFF")
-   -DNATIVE_HEADSET=$(usex native-headset "ON" "OFF")
-   -DOFONO_HEADSET=$(usex ofono-headset "ON" "OFF")
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-   readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-   readme.gentoo_print_elog
-}



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-07-30 Thread Sam James
commit: 10b61dc8872a9ba034771bd9b793e452fd428363
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:39:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:39:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b61dc8

media-sound/pulseaudio-daemon: drop 16.0-r4, 16.0-r5

Signed-off-by: Sam James  gentoo.org>

 ...udio-16.0-fix-combine-sink-underrun-crash.patch |  72 
 ...io-16.0-fix-gstreamer-bluetooth-arm-crash.patch |  43 ---
 ...pulseaudio-16.0-fix-pacmd-play-file-crash.patch |  42 ---
 ...lseaudio-16.0-fix-rtp-receiver-sdp-record.patch |  26 --
 .../pulseaudio-daemon-16.0-r4.ebuild   | 388 
 .../pulseaudio-daemon-16.0-r5.ebuild   | 396 -
 6 files changed, 967 deletions(-)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
deleted file mode 100644
index d66d75afdfda..
--- 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ee8bfb49a271d8a8cafa796c6f9fa84de48a
-
-From ee8bfb49a271d8a8cafa796c6f9fa84de48a Mon Sep 17 00:00:00 2001
-From: Georg Chini 
-Date: Fri, 17 Jun 2022 13:11:11 +0200
-Subject: [PATCH] combine-sink: Fix threading issue during underrun
-
-A recent commit added i->origin sink for the sink inputs of the combine sinks.
-Therefore pa_sink_process_input_underruns() treated the combine sink like
-filter sinks. pa_sink_process_input_underruns() calls itself with the
-origin sink, which is only correct for filter sinks because they run in the
-thread context of the origin sink. The combine sink however has its own
-thread context, so pa_sink_process_input_underruns() was executed in the
-wrong context.
-This patch fixes the issue by skipping the section for module-combine-sink.
-
-Part-of: 


- src/pulsecore/sink.c | 37 +++--
- 1 file changed, 23 insertions(+), 14 deletions(-)
-
-diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
-index 3108ae765..0f0dc56fc 100644
 a/src/pulsecore/sink.c
-+++ b/src/pulsecore/sink.c
-@@ -1016,20 +1016,29 @@ size_t pa_sink_process_input_underruns(pa_sink *s, 
size_t left_to_play) {
- if (i->origin_sink) {
- size_t filter_result, left_to_play_origin;
- 
--/* The recursive call works in the origin sink domain ... */
--left_to_play_origin = pa_convert_size(left_to_play, 
>sink->sample_spec, >origin_sink->sample_spec);
--
--/* .. and returns the time to sleep before waking up. We need the
-- * underrun duration for comparisons, so we undo the subtraction 
on
-- * the return value... */
--filter_result = left_to_play_origin - 
pa_sink_process_input_underruns(i->origin_sink, left_to_play_origin);
--
--/* ... and convert it back to the master sink domain */
--filter_result = pa_convert_size(filter_result, 
>origin_sink->sample_spec, >sink->sample_spec);
--
--/* Remember the longest underrun so far */
--if (filter_result > result)
--result = filter_result;
-+/* The combine sink sets i->origin sink but has a different 
threading model
-+ * than the filter sinks. Therefore the recursion below may not 
be executed
-+ * because pa_sink_process_input_underruns() was not called in 
the thread
-+ * context of the origin sink.
-+ * FIXME: It is unclear if some other kind of recursion would be 
necessary
-+ * for the combine sink. */
-+if (!i->module || !pa_safe_streq(i->module->name, 
"module-combine-sink")) {
-+
-+/* The recursive call works in the origin sink domain ... */
-+left_to_play_origin = pa_convert_size(left_to_play, 
>sink->sample_spec, >origin_sink->sample_spec);
-+
-+/* .. and returns the time to sleep before waking up. We need 
the
-+ * underrun duration for comparisons, so we undo the 
subtraction on
-+ * the return value... */
-+filter_result = left_to_play_origin - 
pa_sink_process_input_underruns(i->origin_sink, left_to_play_origin);
-+
-+/* ... and convert it back to the master sink domain */
-+filter_result = pa_convert_size(filter_result, 
>origin_sink->sample_spec, >sink->sample_spec);
-+
-+/* Remember the longest underrun so far */
-+if (filter_result > result)
-+result = filter_result;
-+}
- }
- 
- if (uf == 0) {
--- 
-GitLab
-

diff --git 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-07-30 Thread Sam James
commit: ba868a7f7f8e01fe0cbe39424627c7b0f05afd8b
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba868a7f

media-sound/pulseaudio: Stabilize 16.1 ppc64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.1.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
index 83a790f8b847..4dcb6be5ba33 100644
--- a/media-sound/pulseaudio/pulseaudio-16.1.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A meta package for PulseAudio (networked sound 
server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-30 Thread Sam James
commit: dc2ce860da5c5a6101e317a1a82ee22cd5d2761a
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc2ce860

media-sound/pulseaudio-daemon: Stabilize 16.1 ppc64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index ebeac0352a8c..706fa7f66af7 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-07-30 Thread Sam James
commit: 78e54c5d7ce14c614bc4469bb8fb6f28ee4cc9bd
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e54c5d

media-sound/pulseaudio: Stabilize 16.1 arm64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.1.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
index c09e68a07201..6cadea756db4 100644
--- a/media-sound/pulseaudio/pulseaudio-16.1.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A meta package for PulseAudio (networked sound 
server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-30 Thread Sam James
commit: 5a2f79d8ab52593e010389036616393553712025
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2f79d8

media-sound/pulseaudio-daemon: Stabilize 16.1 arm64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 2d7ffbddbf6c..e7c9c323cc7e 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-30 Thread Sam James
commit: ee387675c8655e7f879c9b01355b1a81087dcb7a
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee387675

media-sound/pulseaudio-daemon: Stabilize 16.1 ppc, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index e7c9c323cc7e..ebeac0352a8c 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-07-30 Thread Sam James
commit: f7fa353a5dd5d6ff117a75dfff43245816410e1b
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7fa353a

media-sound/pulseaudio: Stabilize 16.1 ppc, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.1.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
index 6cadea756db4..83a790f8b847 100644
--- a/media-sound/pulseaudio/pulseaudio-16.1.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A meta package for PulseAudio (networked sound 
server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-07-30 Thread Sam James
commit: 12f65ecaa287f9fcfd20b7dd8b9a9b3e60770180
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:28:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:28:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f65eca

media-sound/pulseaudio: Stabilize 16.1 arm, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.1.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
index 829409ae228c..c09e68a07201 100644
--- a/media-sound/pulseaudio/pulseaudio-16.1.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A meta package for PulseAudio (networked sound 
server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-30 Thread Sam James
commit: 8d3eae11a91694957a08ab53cc6fa00c4b7e4fb7
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:28:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:28:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3eae11

media-sound/pulseaudio-daemon: Stabilize 16.1 arm, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 34f4f0f82566..2d7ffbddbf6c 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-07-29 Thread Agostino Sarubbo
commit: b7e2910ce84e206e425ee8f18af2862b14ff7fbb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 29 08:02:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 29 08:02:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e2910c

media-sound/pulseaudio: sparc stable wrt bug #859280

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.1.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
index eb90a24e6d89..829409ae228c 100644
--- a/media-sound/pulseaudio/pulseaudio-16.1.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A meta package for PulseAudio (networked sound 
server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc 
x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-29 Thread Agostino Sarubbo
commit: 4e250c63a6f2c32df683a9927cd5c5ebcafb7b64
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 29 08:02:23 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 29 08:02:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e250c63

media-sound/pulseaudio-daemon: sparc stable wrt bug #859280

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index e3b7029834c6..34f4f0f82566 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-07-28 Thread Sam James
commit: 448bdb1f4007d8e0c4e42a1a7bddab20d2969576
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 29 03:18:41 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 29 03:18:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448bdb1f

media-sound/pulseaudio: Stabilize 16.1 x86, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.1.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
index 305cdf031853..eb90a24e6d89 100644
--- a/media-sound/pulseaudio/pulseaudio-16.1.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A meta package for PulseAudio (networked sound 
server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-28 Thread Sam James
commit: 2fbaeda80ef85cdf6e76c35c3745bd73f4e7c9da
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 29 03:18:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 29 03:18:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fbaeda8

media-sound/pulseaudio-daemon: Stabilize 16.1 x86, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 922f2c231890..e3b7029834c6 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-28 Thread Sam James
commit: 4611d1897f1157d7cb57347bc6628e97d5e20867
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 29 01:53:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 29 01:53:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4611d189

media-sound/pulseaudio-daemon: Stabilize 16.1 amd64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 01be6bb43748..922f2c231890 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-07-28 Thread Sam James
commit: c0fe29d68daf0a066fecfd959fd0fd01a91c8f3b
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 29 01:53:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 29 01:53:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0fe29d6

media-sound/pulseaudio: Stabilize 16.1 amd64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.1.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
index a4098093c08f..305cdf031853 100644
--- a/media-sound/pulseaudio/pulseaudio-16.1.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A meta package for PulseAudio (networked sound 
server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-07-08 Thread Sam James
commit: 4a6bd64dbae54a5de416c0af6ceb714601a63c82
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Thu Jul  7 22:53:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  8 22:09:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a6bd64d

media-sound/pulseaudio: Bump metapackage to 16.1, drop default USE daemon

All packages which need real pulseaudio daemon (e.g. need extension modules
which are only implemented for real pulseaudio daemon, or just work with real
pulseaudio daemon only) already depend on media-sound/pulseaudio-daemon as an
alternative to media-sound/pulseaudio[daemon].

Drop default USE +daemon from metapackage to allow cleaning up
media-sound/pulseaudio-daemon if USE daemon is not set by user.

Client libs package media-libs/libpulse will still make sure that one
of available pulseaudio server implementations is installed, but will
not enforce any particular choice.

To change pulseaudio server implementation to pipewire make sure
neither media-sound/pulseaudio nor media-sound/pulseaudio-daemon
are in the @world and USE daemon is not set for media-sound/pulseaudio,
then set USE sound-server for media-video/pipewire and update as usual:

emerge -avtuDU @world

To change pulseaudio server implementation to pulseaudio-daemon
remove USE sound-server from media-video/pipewire and update like this:

emerge -avtuDU --oneshot @world pulseaudio-daemon

Bug: https://bugs.gentoo.org/856745
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26273
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.1.ebuild | 29 +++
 1 file changed, 29 insertions(+)

diff --git a/media-sound/pulseaudio/pulseaudio-16.1.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
new file mode 100644
index ..a4098093c08f
--- /dev/null
+++ b/media-sound/pulseaudio/pulseaudio-16.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit multilib-minimal
+
+DESCRIPTION="A meta package for PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+SRC_URI=""
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="metapackage"
+
+SLOT="0"
+
+# NOTE: bluetooth and ofono-headset are passed through to
+# pulseaudio-daemon dependency to make sure users who have bluetooth enabled
+# just for pulseaudio package will also get these enabled via metapackage.
+IUSE="bluetooth daemon +glib jack ofono-headset"
+
+RDEPEND="
+   >=media-libs/libpulse-${PV}[glib?,${MULTILIB_USEDEP}]
+   daemon? ( 
>=media-sound/pulseaudio-daemon-${PV}[bluetooth?,glib?,jack?,ofono-headset?] )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-08 Thread Sam James
commit: 57d9a03b7da14f0b3fad42987daebe10045fa631
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jul  8 19:46:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  8 20:27:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d9a03b

media-sound/pulseaudio-daemon: Depend on same version of libpulse

Shared library libpulsecommon is installed with version-dependend name
matching pulseaudio release version. Daemon package expects that library to be
the same version, and if e.g. installed libpulse is from more recent release
this results in a build error.

Fix this by depending on exact same PV of media-libs/libpulse package

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26294
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild | 2 +-
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild | 2 +-
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index b6489354786a..1dc4c81cf6e6 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -61,7 +61,7 @@ gstreamer_deps="
>=media-libs/gstreamer-1.14
 "
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd(+)?,valgrind?,X?]
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd(+)?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
index 3ec78e0ac672..8c47aaf30579 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
@@ -61,7 +61,7 @@ gstreamer_deps="
>=media-libs/gstreamer-1.14
 "
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index f9980628eb08..66f340cd76f7 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -61,7 +61,7 @@ gstreamer_deps="
>=media-libs/gstreamer-1.14
 "
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 52f26408de4d..01be6bb43748 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -61,7 +61,7 @@ gstreamer_deps="
>=media-libs/gstreamer-1.14
 "
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-04 Thread Sam James
commit: b1317ae146f1e56946d781e5c5501b5ac8230b96
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sun May 15 12:32:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul  4 21:35:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1317ae1

media-sound/pulseaudio-daemon: Add conflict with pipewire sound server

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index eddb6f54e7b5..52f26408de4d 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -138,6 +138,7 @@ RDEPEND="
ldac? ( media-plugins/gst-plugins-ldac )
aptx? ( media-plugins/gst-plugins-openaptx )
)
+   !media-video/pipewire[sound-server(+)]
 "
 unset gstreamer_deps
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-22 Thread Sam James
commit: c2f5222fbdbd17dd6b748858c9114f563a9bcaa7
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Wed Jun 22 16:54:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 23 04:23:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f5222f

media-sound/pulseaudio-daemon: Version bump to 16.1

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26045
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest |   1 +
 .../pulseaudio-daemon-16.1.ebuild  | 392 +
 2 files changed, 393 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
index 5bc75fa5795d..7e2a36fffea5 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1 +1,2 @@
 DIST pulseaudio-16.0.tar.xz 1551276 BLAKE2B 
54ba5d446bc02246bf842280f577851eb66ff9fed1e1b0d2d03e238796d9d04bc1fc27215b02fdded37441da1747be23d1e03d5a00b79ee3b91eb35c0f76a470
 SHA512 
42d4968c2dc88f5e39a5358d124e399e40a5abdf815eff387087141bc9217012acb35649a8e0e24a44e8a402d90eb193ce2eef186f7d59550f757a6cc26d
+DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 
535706abcea2cae39834b23c8bdc37f71b0e633de2d8e43ea4425da97a850b57c2f980c318681cbc86cf1e746200609dad41f8b96ecf4568f86d94aa6831c9a1
 SHA512 
33b0b4292f05e0882f3ec822cf5720414bb34c523d80fe287b9740d6be219787c562e8024c9b0d9e2ee010771ca72c7ae4f27df1bbef9c9cb6bb6a23cbcc412f

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
new file mode 100644
index ..eddb6f54e7b5
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -0,0 +1,392 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20
+   >=media-libs/speexdsp-1.2
+   || (
+   elibc_glibc? ( virtual/libc )
+   dev-libs/libpcre:3
+   )
+   alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
+   asyncns? ( >=net-libs/libasyncns-0.1 )
+   bluetooth? (
+   >=net-wireless/bluez-5
+   media-libs/sbc
+   )
+   dev-libs/libltdl
+   sys-kernel/linux-headers
+   >=sys-libs/libcap-2.22-r2
+   dbus? ( >=sys-apps/dbus-1.4.12 )
+   elogind? 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-20 Thread Sam James
commit: f7a961b648d4ef7f33b31a92e1aea88fbb37a7b1
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 21 01:22:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 21 01:22:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a961b6

media-sound/pulseaudio: update DESCRIPTION

Bug: https://bugs.gentoo.org/833830
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index 55cd388d06be..0e728819bd6b 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -5,7 +5,7 @@ EAPI="7"
 
 inherit multilib-minimal
 
-DESCRIPTION="A networked sound server with an advanced plugin system"
+DESCRIPTION="A meta package for PulseAudio (networked sound server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-20 Thread Sam James
commit: 72bc1ffdb453e1ef5435e834e376f99230150eae
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 21 01:23:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 21 01:23:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72bc1ffd

media-sound/pulseaudio-daemon: update DESCRIPTION

Closes: https://bugs.gentoo.org/833830
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index 5e19cc3419c7..f9980628eb08 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -7,7 +7,7 @@ MY_PV="${PV/_pre*}"
 MY_P="pulseaudio-${MY_PV}"
 inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
 
-DESCRIPTION="A networked sound server with an advanced plugin system"
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 
 if [[ ${PV} =  ]]; then



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: 34c7075aeac33688f7d7758c4f723cdfd8055820
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c7075a

media-sound/pulseaudio-daemon: Fix crash using pacmd play-file command

Upstream commit a8a2a31408c4acf54530d65922d235d3e590ce05

Fixes pulseaudio crash when playing a file using pacmd play-file command.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25949
Signed-off-by: Sam James  gentoo.org>

 ...pulseaudio-16.0-fix-pacmd-play-file-crash.patch | 42 ++
 .../pulseaudio-daemon-16.0-r5.ebuild   |  1 +
 2 files changed, 43 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch
new file mode 100644
index ..f9c044dbb2be
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch
@@ -0,0 +1,42 @@
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/a8a2a31408c4acf54530d65922d235d3e590ce05
+
+From a8a2a31408c4acf54530d65922d235d3e590ce05 Mon Sep 17 00:00:00 2001
+From: Jaechul Lee 
+Date: Thu, 2 Jun 2022 15:07:09 +0900
+Subject: [PATCH] sound-file-stream: Fix crash when playing a file which is not
+ aligned
+
+pulseaudio crash occurred when I play a file using pacmd play-file command.
+The file is not aligned with its frame size and the last rendering size
+is also not aligned. Thus, an assertion was generated at the end of the
+file as the following.
+
+memblockq.c: Assertion 'uchunk->length % bq->base == 0' failed at
+../src/pulsecore/memblockq.c:288, function pa_memblockq_push(). Aborting.
+
+When I play the file using paplay, it works good. So, I changed to
+pa_memblockq_push_align instead of pa_memblockq_push to prevent the
+assertion.
+
+Signed-off-by: Jaechul Lee 
+Part-of: 

+---
+ src/pulsecore/sound-file-stream.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/pulsecore/sound-file-stream.c 
b/src/pulsecore/sound-file-stream.c
+index 147aa2288..255f4b61a 100644
+--- a/src/pulsecore/sound-file-stream.c
 b/src/pulsecore/sound-file-stream.c
+@@ -185,7 +185,7 @@ static int sink_input_pop_cb(pa_sink_input *i, size_t 
length, pa_memchunk *chunk
+ 
+ tchunk.length = (size_t) n * fs;
+ 
+-pa_memblockq_push(u->memblockq, );
++pa_memblockq_push_align(u->memblockq, );
+ pa_memblock_unref(tchunk.memblock);
+ }
+ 
+-- 
+GitLab
+

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index 25e717a28ffa..5e19cc3419c7 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -167,6 +167,7 @@ PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch
"${FILESDIR}"/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
"${FILESDIR}"/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
+   "${FILESDIR}"/pulseaudio-16.0-fix-pacmd-play-file-crash.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: bd832d12a6354e2d02c974becda6819dea385b1f
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd832d12

media-sound/pulseaudio-daemon: Revbump for upstream fixes

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon-16.0-r5.ebuild   | 388 +
 1 file changed, 388 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
new file mode 100644
index ..3ec78e0ac672
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -0,0 +1,388 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="A networked sound server with an advanced plugin system"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20
+   >=media-libs/speexdsp-1.2
+   || (
+   elibc_glibc? ( virtual/libc )
+   dev-libs/libpcre:3
+   )
+   alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
+   asyncns? ( >=net-libs/libasyncns-0.1 )
+   bluetooth? (
+   >=net-wireless/bluez-5
+   media-libs/sbc
+   )
+   dev-libs/libltdl
+   sys-kernel/linux-headers
+   >=sys-libs/libcap-2.22-r2
+   dbus? ( >=sys-apps/dbus-1.4.12 )
+   elogind? ( sys-auth/elogind )
+   equalizer? (
+   sci-libs/fftw:3.0=
+   )
+   fftw? (
+   sci-libs/fftw:3.0=
+   )
+   gdbm? ( sys-libs/gdbm:= )
+   glib? ( >=dev-libs/glib-2.28.0:2 )
+   gstreamer? (
+   ${gstreamer_deps}
+   >=dev-libs/glib-2.26.0:2
+   )
+   jack? ( virtual/jack )
+   ldac? ( ${gstreamer_deps} )
+   lirc? ( app-misc/lirc )
+   ofono-headset? ( >=net-misc/ofono-1.13 )
+   orc? ( >=dev-lang/orc-0.4.15 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   sox? ( >=media-libs/soxr-0.1.1 )
+   ssl? ( dev-libs/openssl:= )
+   systemd? ( sys-apps/systemd:= )
+   tcpd? ( sys-apps/tcp-wrappers )
+   udev? ( >=virtual/udev-143[hwdb(+)] )
+   valgrind? ( dev-util/valgrind )
+   webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
+   X? (
+   >=x11-libs/libxcb-1.6
+   x11-libs/libICE

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: 3408c976d850bad9d19c1cdc25fbf0851cb9b22d
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3408c976

media-sound/pulseaudio-daemon: Fix crash after combine-sink underrun

Upstream commit ee8bfb49a271d8a8cafa796c6f9fa84de48a

Closes: https://bugs.gentoo.org/852848
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...udio-16.0-fix-combine-sink-underrun-crash.patch | 72 ++
 .../pulseaudio-daemon-16.0-r5.ebuild   |  1 +
 2 files changed, 73 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
new file mode 100644
index ..d66d75afdfda
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
@@ -0,0 +1,72 @@
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ee8bfb49a271d8a8cafa796c6f9fa84de48a
+
+From ee8bfb49a271d8a8cafa796c6f9fa84de48a Mon Sep 17 00:00:00 2001
+From: Georg Chini 
+Date: Fri, 17 Jun 2022 13:11:11 +0200
+Subject: [PATCH] combine-sink: Fix threading issue during underrun
+
+A recent commit added i->origin sink for the sink inputs of the combine sinks.
+Therefore pa_sink_process_input_underruns() treated the combine sink like
+filter sinks. pa_sink_process_input_underruns() calls itself with the
+origin sink, which is only correct for filter sinks because they run in the
+thread context of the origin sink. The combine sink however has its own
+thread context, so pa_sink_process_input_underruns() was executed in the
+wrong context.
+This patch fixes the issue by skipping the section for module-combine-sink.
+
+Part-of: 

+---
+ src/pulsecore/sink.c | 37 +++--
+ 1 file changed, 23 insertions(+), 14 deletions(-)
+
+diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
+index 3108ae765..0f0dc56fc 100644
+--- a/src/pulsecore/sink.c
 b/src/pulsecore/sink.c
+@@ -1016,20 +1016,29 @@ size_t pa_sink_process_input_underruns(pa_sink *s, 
size_t left_to_play) {
+ if (i->origin_sink) {
+ size_t filter_result, left_to_play_origin;
+ 
+-/* The recursive call works in the origin sink domain ... */
+-left_to_play_origin = pa_convert_size(left_to_play, 
>sink->sample_spec, >origin_sink->sample_spec);
+-
+-/* .. and returns the time to sleep before waking up. We need the
+- * underrun duration for comparisons, so we undo the subtraction 
on
+- * the return value... */
+-filter_result = left_to_play_origin - 
pa_sink_process_input_underruns(i->origin_sink, left_to_play_origin);
+-
+-/* ... and convert it back to the master sink domain */
+-filter_result = pa_convert_size(filter_result, 
>origin_sink->sample_spec, >sink->sample_spec);
+-
+-/* Remember the longest underrun so far */
+-if (filter_result > result)
+-result = filter_result;
++/* The combine sink sets i->origin sink but has a different 
threading model
++ * than the filter sinks. Therefore the recursion below may not 
be executed
++ * because pa_sink_process_input_underruns() was not called in 
the thread
++ * context of the origin sink.
++ * FIXME: It is unclear if some other kind of recursion would be 
necessary
++ * for the combine sink. */
++if (!i->module || !pa_safe_streq(i->module->name, 
"module-combine-sink")) {
++
++/* The recursive call works in the origin sink domain ... */
++left_to_play_origin = pa_convert_size(left_to_play, 
>sink->sample_spec, >origin_sink->sample_spec);
++
++/* .. and returns the time to sleep before waking up. We need 
the
++ * underrun duration for comparisons, so we undo the 
subtraction on
++ * the return value... */
++filter_result = left_to_play_origin - 
pa_sink_process_input_underruns(i->origin_sink, left_to_play_origin);
++
++/* ... and convert it back to the master sink domain */
++filter_result = pa_convert_size(filter_result, 
>origin_sink->sample_spec, >sink->sample_spec);
++
++/* Remember the longest underrun so far */
++if (filter_result > result)
++result = filter_result;
++}
+ }
+ 
+ if (uf == 0) {
+-- 
+GitLab
+

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: 18059c099d4073d0708d9e40c16ebc974df86aff
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18059c09

media-sound/pulseaudio-daemon: Fix gstreamer bluetooth crash on 32-bit ARM

Upstream commit dd4dc5e8bce2c03631c3613dbddee1a691bdd17d

Fixes pulseaudio crash on ARM 32-bit when pulseaudio is compiled with
gstreamer and either LDAC or aptX support is available.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...io-16.0-fix-gstreamer-bluetooth-arm-crash.patch | 43 ++
 .../pulseaudio-daemon-16.0-r5.ebuild   |  1 +
 2 files changed, 44 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
new file mode 100644
index ..a2efaf37b381
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
@@ -0,0 +1,43 @@
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/dd4dc5e8bce2c03631c3613dbddee1a691bdd17d
+
+From dd4dc5e8bce2c03631c3613dbddee1a691bdd17d Mon Sep 17 00:00:00 2001
+From: Jan Palus 
+Date: Fri, 17 Jun 2022 14:36:36 +0200
+Subject: [PATCH] bluetooth/gst: Correct var type for GST_TYPE_BITMASK
+
+GST_TYPE_BITMASK is 64-bit bit mask while corresponding channel_mask in
+pulseaudio is int therefore usually 32-bit. Switch to uint64_t instead
+to match internal representation in gstreamer.
+
+Fixes pulseaudio crash on ARM 32-bit when pulseaudio is compiled with
+gstreamer and either LDAC or aptX support is available.
+
+Part-of: 

+---
+ src/modules/bluetooth/a2dp-codec-gst.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/modules/bluetooth/a2dp-codec-gst.c 
b/src/modules/bluetooth/a2dp-codec-gst.c
+index 8ef74be9c..11839c580 100644
+--- a/src/modules/bluetooth/a2dp-codec-gst.c
 b/src/modules/bluetooth/a2dp-codec-gst.c
+@@ -22,6 +22,7 @@
+ #endif
+ 
+ #include 
++#include 
+ 
+ #include 
+ #include 
+@@ -82,7 +83,7 @@ fail:
+ static GstCaps *gst_create_caps_from_sample_spec(const pa_sample_spec *ss) {
+ gchar *sample_format;
+ GstCaps *caps;
+-int channel_mask;
++uint64_t channel_mask;
+ 
+ switch (ss->format) {
+ case PA_SAMPLE_S16LE:
+-- 
+GitLab
+

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index c6b1b5a0b623..25e717a28ffa 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -166,6 +166,7 @@ PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch
"${FILESDIR}"/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
+   "${FILESDIR}"/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: 5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee9ff09

media-sound/pulseaudio-daemon: Add optional conf dirs to silence warning

Daemon configuration scripts will try to load snippets from corresponding
'.d' dirs. Install these dirs to silence a warning if they are missing.

Closes: https://bugs.gentoo.org/852587
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index 3ec78e0ac672..cf0871a10c25 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -256,6 +256,11 @@ src_install() {
rm "${D}/$(get_bashcompdir)"/pacmd || die
rm "${D}/$(get_bashcompdir)"/pasuspender || die
 
+   # Daemon configuration scripts will try to load snippets from 
corresponding '.d' dirs.
+   # Install these dirs to silence a warning if they are missing.
+   keepdir /etc/pulse/default.pa.d
+   keepdir /etc/pulse/system.pa.d
+
if use system-wide; then
newconfd "${FILESDIR}"/pulseaudio.conf.d pulseaudio
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: 27f306727bf7ad17b7e6c02e0cab40d10e50fcd6
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 15 23:27:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 23:27:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f30672

media-sound/pulseaudio-daemon: drop premature pipewire[sound-server(+)] blocker

Otherwise we can't be coinstalled with PW at all (think of non-audio cases).

USE=sound-server is likely to be introduced soon though.

Fixes: b1a66ec4bead0f93cc7ac233369453e20d3cbca9
Signed-off-by: Sam James  gentoo.org>

 ...pulseaudio-daemon-16.0-r3.ebuild => pulseaudio-daemon-16.0-r4.ebuild} | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
index 8e71422217bb..3ec78e0ac672 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
@@ -138,7 +138,6 @@ RDEPEND="
ldac? ( media-plugins/gst-plugins-ldac )
aptx? ( media-plugins/gst-plugins-openaptx )
)
-   !media-video/pipewire[sound-server(+)]
 "
 unset gstreamer_deps
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: 14d4a017331880bfbcba8510718250748bb394fa
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Wed Jun 15 22:40:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 22:44:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d4a017

media-sound/pulseaudio-daemon: Add dev-libs/glib dep for gio library

GStreamer-based RTP protocol module requires gio library from dev-libs/glib,
add explicit dependency.

Closes: https://bugs.gentoo.org/818229
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25919
Signed-off-by: Sam James  gentoo.org>

 ...eaudio-daemon-16.0-r2.ebuild => pulseaudio-daemon-16.0-r3.ebuild} | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
index fb3c1588301e..8e71422217bb 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
@@ -89,7 +89,10 @@ COMMON_DEPEND="
)
gdbm? ( sys-libs/gdbm:= )
glib? ( >=dev-libs/glib-2.28.0:2 )
-   gstreamer? ( ${gstreamer_deps} )
+   gstreamer? (
+   ${gstreamer_deps}
+   >=dev-libs/glib-2.26.0:2
+   )
jack? ( virtual/jack )
ldac? ( ${gstreamer_deps} )
lirc? ( app-misc/lirc )



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: f8145bf27a3832070edfc76961624dad342d1082
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun 14 19:58:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8145bf2

media-sound/pulseaudio-daemon: Drop IUSE ipv6

Drop IUSE ipv6 and unconditionally enable support for IPv6 since pulseaudio
would automatically detect and handle IPv4/IPv6 addresses in configuration.
IUSE ipv6 is already dropped from media-sound/libpulse.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index 960fa0f71668..dbe0de94faea 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -32,7 +32,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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
 ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -219,7 +219,7 @@ src_configure() {
$(meson_feature gstreamer)
-Dgtk=disabled
-Dhal-compat=true # Consider disabling on next revbump
-   $(meson_use ipv6)
+   -Dipv6=true
$(meson_feature jack)
$(meson_feature lirc)
$(meson_feature ssl openssl)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: 603ed49dbf54f624adce69db067417015103ae9f
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun 14 19:59:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603ed49d

media-sound/pulseaudio-daemon: Remove module-hal-detect.

HAL support module `module-hal-detect` is a stub loading `module-udev-detect`.
It is not referenced in any configuration for ages. Drop this feature.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index dbe0de94faea..5cdce975c231 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -218,7 +218,7 @@ src_configure() {
$(meson_feature glib gsettings) # Supposedly correct?
$(meson_feature gstreamer)
-Dgtk=disabled
-   -Dhal-compat=true # Consider disabling on next revbump
+   -Dhal-compat=false
-Dipv6=true
$(meson_feature jack)
$(meson_feature lirc)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-06-15 Thread Sam James
commit: b1a66ec4bead0f93cc7ac233369453e20d3cbca9
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Mon Jun 13 22:14:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a66ec4

media-sound/pulseaudio-daemon: rtp: Initialize SDP info struct field added for 
OPUS

Upstream commit d7a633df899dda8738a30df318269e28c902e815

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...lseaudio-16.0-fix-rtp-receiver-sdp-record.patch |  26 ++
 .../pulseaudio-daemon-16.0-r2.ebuild   | 385 +
 2 files changed, 411 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
new file mode 100644
index ..3d72b9a009c4
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
@@ -0,0 +1,26 @@
+commit d7a633df899dda8738a30df318269e28c902e815
+Author: Igor V. Kovalenko 
+Date:   Mon Jun 13 21:38:08 2022 +0300
+
+rtp: Initialize SDP info struct field added for OPUS
+
+Turned out that pa_sdp_info::enable_opus is never initialized, which seldom
+makes module-rtp-recv believe it will be playing OPUS-encoded stream even 
though
+discovered SDP record does not indicate OPUS codec in metadata.
+
+Fix this by adding missing initializer.
+
+Part-of: 

+
+diff --git a/src/modules/rtp/sdp.c b/src/modules/rtp/sdp.c
+index 4e6a442f8..bf131a27e 100644
+--- a/src/modules/rtp/sdp.c
 b/src/modules/rtp/sdp.c
+@@ -129,6 +129,7 @@ pa_sdp_info *pa_sdp_parse(const char *t, pa_sdp_info *i, 
int is_goodbye) {
+ i->origin = i->session_name = NULL;
+ i->salen = 0;
+ i->payload = 255;
++i->enable_opus = false;
+ 
+ if (pa_startswith(t, PA_SDP_HEADER)) {
+ t += sizeof(PA_SDP_HEADER) - 1;

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
new file mode 100644
index ..9d8e52522d06
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -0,0 +1,385 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="A networked sound server with an advanced plugin system"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-06-15 Thread Sam James
commit: 17dea0907ab8369c600955b38bd27c86c9c79cc8
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Mon Jun 13 22:14:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17dea090

media-sound/pulseaudio-daemon: Make module-console-kit optional

Upstream commit 823e46fba0742605f557b68cd591f61624b93966

Now it is possible to explicitly disable module-console-kit, do that since
consolekit is no longer available in the tree.

Closes: https://bugs.gentoo.org/669908
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...lseaudio-16.0-optional-module-console-kit.patch | 76 ++
 .../pulseaudio-daemon-16.0-r2.ebuild   |  2 +
 2 files changed, 78 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch
new file mode 100644
index ..4ffdb82f4901
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch
@@ -0,0 +1,76 @@
+commit 823e46fba0742605f557b68cd591f61624b93966
+Author: Igor V. Kovalenko 
+Date:   Sun Jun 12 21:49:32 2022 +0300
+
+build-sys: meson: Make module-console-kit optional
+
+Default build configuration would fail to run on a system without 
systemd-logind
+(or elogind) and without ConsoleKit daemon responding on dbus interface. 
Here,
+module-console-kit would fail to initialize, preventing daemon from 
starting.
+
+Make module-console-kit an optional build feature to allow opt-out.
+
+Part-of: 

+
+diff --git a/meson.build b/meson.build
+index d4cdbd6a5..c6db7e670 100644
+--- a/meson.build
 b/meson.build
+@@ -732,6 +732,10 @@ if get_option('daemon')
+ cdata.set('HAVE_SYSTEMD_LOGIN', 1)
+   endif
+ 
++  if get_option('consolekit').enabled()
++assert(dbus_dep.found(), 'ConsoleKit requires D-Bus support')
++  endif
++
+   tcpwrap_dep = cc.find_library('wrap', required: get_option('tcpwrap'))
+   if cc.has_header('tcpd.h') and cc.has_function('hosts_access', dependencies 
: tcpwrap_dep)
+ cdata.set('HAVE_LIBWRAP', 1)
+@@ -1001,6 +1005,7 @@ summary += [
+   '  Enable HAL->udev compat: @0@'.format(get_option('hal-compat')),
+   'Enable systemd units:  @0@'.format(systemd_dep.found()),
+   'Enable elogind:@0@'.format(libelogind_dep.found()),
++  'Enable ConsoleKit: @0@'.format(not 
get_option('consolekit').disabled() and dbus_dep.found()),
+   'Enable TCP Wrappers:   @0@'.format(tcpwrap_dep.found()),
+   'Enable OpenSSL (for Airtunes): @0@'.format(openssl_dep.found()),
+   'Database:  @0@'.format(get_option('database')),
+diff --git a/meson_options.txt b/meson_options.txt
+index b23210072..e7160a3a7 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -99,6 +99,9 @@ option('bluez5-native-headset',
+ option('bluez5-ofono-headset',
+type : 'boolean',
+description : 'Optional oFono headset backend support (BlueZ 5)')
++option('consolekit',
++   type : 'feature', value : 'auto',
++   description : 'Optional ConsoleKit support')
+ option('dbus',
+type : 'feature', value : 'auto',
+description : 'Optional D-Bus support')
+diff --git a/src/modules/meson.build b/src/modules/meson.build
+index cdf372c8e..1d8004300 100644
+--- a/src/modules/meson.build
 b/src/modules/meson.build
+@@ -130,7 +130,6 @@ endif
+ 
+ if dbus_dep.found()
+   all_modules += [
+-[ 'module-console-kit', 'module-console-kit.c', [], [], [dbus_dep] ],
+ [ 'module-dbus-protocol',
+   [ 'dbus/iface-card.c', 'dbus/iface-card.h',
+   'dbus/iface-card-profile.c', 'dbus/iface-card-profile.h',
+@@ -147,6 +146,12 @@ if dbus_dep.found()
+   [], [], [dbus_dep] ],
+ [ 'module-rygel-media-server', 'module-rygel-media-server.c', [], [], 
[dbus_dep], libprotocol_http ],
+   ]
++
++  if not get_option('consolekit').disabled()
++all_modules += [
++  [ 'module-console-kit', 'module-console-kit.c', [], [], [dbus_dep] ],
++]
++  endif
+ endif
+ 
+ if fftw_dep.found()

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index 9d8e52522d06..adf6cbbd994e 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -163,6 +163,7 @@ S="${WORKDIR}/${MY_P}"
 # patches merged upstream, to be removed with 16.1 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
+   "${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch
 )
 
 src_prepare() {
@@ -210,6 +211,7 @@ src_configure() {

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: 8d2998e0a0f52d6eeb91d254db44462fcaa89ab2
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun 14 19:58:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d2998e0

media-sound/pulseaudio-daemon: Drop IUSE gtk

Drop IUSE gtk from pulseaudio-daemon since gtk+/glib properties are only
considered by client apps via loaded libpulse implementation.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index adf6cbbd994e..960fa0f71668 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -32,7 +32,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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer ipv6 jack ldac lirc
 ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -90,7 +90,6 @@ COMMON_DEPEND="
gdbm? ( sys-libs/gdbm:= )
glib? ( >=dev-libs/glib-2.28.0:2 )
gstreamer? ( ${gstreamer_deps} )
-   gtk? ( x11-libs/gtk+:3 )
jack? ( virtual/jack )
ldac? ( ${gstreamer_deps} )
lirc? ( app-misc/lirc )
@@ -218,7 +217,7 @@ src_configure() {
$(meson_feature glib) # WARNING: toggling this likely changes 
ABI
$(meson_feature glib gsettings) # Supposedly correct?
$(meson_feature gstreamer)
-   $(meson_feature gtk)
+   -Dgtk=disabled
-Dhal-compat=true # Consider disabling on next revbump
$(meson_use ipv6)
$(meson_feature jack)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-12 Thread Agostino Sarubbo
commit: e88422d1ccb0724ceb13d4b832b271d98e4ad956
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 12 08:31:25 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 12 08:32:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88422d1

media-sound/pulseaudio-daemon: x86 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index 6824b043c144..ffb4e1a39881 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-12 Thread Agostino Sarubbo
commit: f47a2fb91707ff7f64771fd18d5aea7385477487
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 12 08:31:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 12 08:32:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47a2fb9

media-sound/pulseaudio: x86 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index bdf7a0afe104..55cd388d06be 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A networked sound server with an advanced plugin 
system"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-12 Thread Agostino Sarubbo
commit: 037f60ddc6c68caa1cd4c43336a113aa6ffb9a43
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 12 08:29:57 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 12 08:29:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037f60dd

media-sound/pulseaudio-daemon: arm64 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index bd4938358d89..6824b043c144 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-12 Thread Agostino Sarubbo
commit: 1f4b52567ff5741953271d86bc126f384ae29fe1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 12 08:29:52 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 12 08:29:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f4b5256

media-sound/pulseaudio: arm64 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index c68ea9e8181f..bdf7a0afe104 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A networked sound server with an advanced plugin 
system"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc 
~x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Agostino Sarubbo
commit: 029140887fa8c558546eaef9458f3a7d1a028d9f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:40:42 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:40:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02914088

media-sound/pulseaudio-daemon: sparc stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index 8ef12ee3112b..bd4938358d89 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-11 Thread Agostino Sarubbo
commit: a6ad0c077f599500d7dfd2cbe8dedc421f0c21ce
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:40:37 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:40:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ad0c07

media-sound/pulseaudio: sparc stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index 99290309d63d..c68ea9e8181f 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A networked sound server with an advanced plugin 
system"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc 
~x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Agostino Sarubbo
commit: e9ed64df1175891e3ce5079909f69384bc9fa7ba
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:40:04 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:40:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ed64df

media-sound/pulseaudio-daemon: ppc64 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index e8dd5e03d967..8ef12ee3112b 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-11 Thread Agostino Sarubbo
commit: dc3adbc8ca59d0a23bd7ddd2e1d2ecf6534b6951
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:39:58 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:40:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3adbc8

media-sound/pulseaudio: ppc64 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index dbe064822eba..99290309d63d 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A networked sound server with an advanced plugin 
system"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Agostino Sarubbo
commit: 55b975b03cb6aa30914a3d4d396af3b8dc1de986
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:38:12 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:39:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b975b0

media-sound/pulseaudio-daemon: ppc stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index fb8a6e6afb9c..e8dd5e03d967 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-11 Thread Agostino Sarubbo
commit: f7ce8e28b67e9987f8666d9a8cb9d007197e5bef
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:38:07 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:39:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ce8e28

media-sound/pulseaudio: ppc stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index 282a0eb5d453..dbe064822eba 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A networked sound server with an advanced plugin 
system"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-11 Thread Agostino Sarubbo
commit: 2b84bd05f01b49bb23fb6921ed738e4e14969d85
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:37:17 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:37:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b84bd05

media-sound/pulseaudio: arm stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index 17140fce13c1..282a0eb5d453 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A networked sound server with an advanced plugin 
system"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Agostino Sarubbo
commit: fa64762ffafb234a7002140c468b31add6b0d354
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:37:20 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:37:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa64762f

media-sound/pulseaudio-daemon: arm stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index 709d042af0bf..fb8a6e6afb9c 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Sam James
commit: 59612fc6b8f06931155ae3585bfb61ba751a850d
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 10 17:32:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 11 06:41:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59612fc6

media-sound/pulseaudio-daemon: Call udev_reload in pkg_postrm too

Closes: https://bugs.gentoo.org/851006
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25847
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index a54ff6c25597..709d042af0bf 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -379,4 +379,5 @@ pkg_postinst() {
 
 pkg_postrm() {
gnome2_schemas_update
+   use udev && udev_reload
 }



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: 6265ff2f9c2526d69ae28541be9b8dc411ca3320
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 10 08:09:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 08:09:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6265ff2f

media-sound/pulseaudio-daemon: Stabilize 16.0-r1 amd64, #850604

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index 776d8793399f..a54ff6c25597 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-10 Thread Sam James
commit: d67016e649d1e145a388e44ff9db7b3494089931
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 10 08:09:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 08:09:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d67016e6

media-sound/pulseaudio: Stabilize 16.0 amd64, #850604

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index 9faf47d9b03c..17140fce13c1 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A networked sound server with an advanced plugin 
system"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 SRC_URI=""
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 
 LICENSE="metapackage"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: 1dce7fa0f5c422de63ba13da2d3dd287f8d0206a
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun  7 06:12:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:58:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dce7fa0

media-sound/pulseaudio-daemon: Drop USE native-backend

Native backend supporting bluetooth HSP HS, HFP HF and HSP AG profiles
is now quite stable, unconditionally enable it if USE bluetooth
and drop USE native-backend from package.

If user wants to selectively disable pulseaudio handling of these bluetooth
profiles, this can be done via runtime configuration in /etc/pulse/default.pa
This is noted in added elog entries.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25456
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml   |  5 +
 ...-16.0.ebuild => pulseaudio-daemon-16.0-r1.ebuild} | 20 
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index d44e1ed3057b..5d81f9170193 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -68,11 +68,8 @@
   ConsoleKit.
 
 Compile in valgrind memory hints
-
-  Build with native HSP backend for bluez 5.
-
 
-  Build with oFono HFP backend for bluez 5, requires 
net-misc/ofono.
+  Build with optional oFono HFP backend for bluez 5, requires 
net-misc/ofono.
 
 
   Build GStreamer-based RTP protocol module which supports more advanced 
RTP features like OPUS payload encoding.

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
similarity index 93%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index b8c4907403b4..776d8793399f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -33,7 +33,7 @@ SLOT="0"
 # 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 aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
-native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev valgrind +webrtc-aec +X zeroconf"
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
 
@@ -47,7 +47,6 @@ REQUIRED_USE="
bluetooth? ( dbus )
equalizer? ( dbus )
ldac? ( bluetooth )
-   native-headset? ( bluetooth )
ofono-headset? ( bluetooth )
udev? ( || ( alsa oss ) )
zeroconf? ( dbus )
@@ -207,7 +206,7 @@ src_configure() {
$(meson_feature zeroconf avahi)
$(meson_feature bluetooth bluez5)
-Dbluez5-gstreamer=${enable_bluez5_gstreamer}
-   $(meson_use native-headset bluez5-native-headset)
+   $(meson_use bluetooth bluez5-native-headset)
$(meson_use ofono-headset bluez5-ofono-headset)
$(meson_feature dbus)
$(meson_feature elogind)
@@ -329,7 +328,20 @@ pkg_postinst() {
elog ""
fi
 
-   if use native-headset && use ofono-headset; then
+   if use bluetooth; then
+   elog "You have enabled bluetooth USE flag for pulseaudio. 
Daemon will now handle"
+   elog "bluetooth Headset (HSP HS and HSP AG) and Handsfree (HFP 
HF) profiles using"
+   elog "native headset backend by default. This can be 
selectively disabled"
+   elog "via runtime configuration arguments to 
module-bluetooth-discover"
+   elog "in /etc/pulse/default.pa"
+   elog "To disable HFP HF append enable_native_hfp_hf=false"
+   elog "To disable HSP HS append enable_native_hsp_hs=false"
+   elog "To disable HSP AG append headset=auto or headset=ofono"
+   elog "(note this does NOT require enabling USE ofono)"
+   elog ""
+   fi
+
+   if use ofono-headset; then
elog "You have enabled both native and ofono headset profiles. 
The runtime decision"
elog "which to use is done via the 'headset' argument of 
module-bluetooth-discover."
elog ""



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: 2f5b382a9d7a582b55c0ac3ddac16d710265b481
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Thu May 12 20:53:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:57:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5b382a

media-sound/pulseaudio-daemon: Untangle USE flags gstreamer, aptx and ldac

Require USE bluetooth for codecs selected via USE ldac or aptx, and pull
required gstreamer packages as build dependency but keep respective gstreamer
plugins runtime dependency.

Handle USE gstreamer to enable GStreamer-based RTP implementation only, and
suggest media-plugins/gst-plugins-opus for RTP OPUS payload.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml |  3 +-
 .../pulseaudio-daemon-16.0.ebuild  | 38 +++---
 2 files changed, 28 insertions(+), 13 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index b5cfb62ef6b2..07ca89f667d0 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -72,8 +72,7 @@
   Build with oFono HFP backend for bluez 5, requires 
net-misc/ofono.
 
 
-  Build with support for gstreamer including ability to use bluetooth 
codecs.
-  For bluetooth codecs see USE ldac and aptx.
+  Build GStreamer-based RTP protocol module which supports more advanced 
RTP features like OPUS payload encoding.
 
 
   aptX (HD) over Bluetooth (many Android compatible headphones), requires 
media-plugins/gst-plugins-openaptx.

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
index 17d8424a2b3e..3561766e33ac 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
@@ -32,7 +32,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 aptx +asyncns bluetooth dbus elogind equalizer +gdbm 
gstreamer +glib gtk ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer +gdbm 
+glib gstreamer gtk ipv6 jack ldac lirc
 native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -41,10 +41,12 @@ RESTRICT="!test? ( test )"
 # Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
 # We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
 REQUIRED_USE="
+   ?? ( elogind systemd )
alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
bluetooth? ( dbus )
-   ?? ( elogind systemd )
equalizer? ( dbus )
+   ldac? ( bluetooth )
native-headset? ( bluetooth )
ofono-headset? ( bluetooth )
udev? ( || ( alsa oss ) )
@@ -55,6 +57,10 @@ REQUIRED_USE="
 # - libpcre needed in some cases, bug #472228
 # - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
 # TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
 COMMON_DEPEND="
>=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd?,valgrind?,X?]
dev-libs/libatomic_ops
@@ -65,6 +71,7 @@ COMMON_DEPEND="
dev-libs/libpcre:3
)
alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
asyncns? ( >=net-libs/libasyncns-0.1 )
bluetooth? (
>=net-wireless/bluez-5
@@ -80,12 +87,10 @@ COMMON_DEPEND="
)
gdbm? ( sys-libs/gdbm:= )
glib? ( >=dev-libs/glib-2.28.0:2 )
-   gstreamer? (
-   media-libs/gst-plugins-base
-   >=media-libs/gstreamer-1.14
-   )
+   gstreamer? ( ${gstreamer_deps} )
gtk? ( x11-libs/gtk+:3 )
jack? ( virtual/jack )
+   ldac? ( ${gstreamer_deps} )
lirc? ( app-misc/lirc )
ofono-headset? ( >=net-misc/ofono-1.13 )
orc? ( >=dev-lang/orc-0.4.15 )
@@ -126,12 +131,11 @@ RDEPEND="
acct-group/pulse-access
)
bluetooth? (
-   gstreamer? (
-   ldac? ( media-plugins/gst-plugins-ldac )
-   aptx? ( media-plugins/gst-plugins-openaptx )
-   )
+   ldac? ( media-plugins/gst-plugins-ldac )
+   aptx? ( media-plugins/gst-plugins-openaptx )
)
 "
+unset gstreamer_deps
 
 # This is a PDEPEND to avoid a circular dep
 PDEPEND="
@@ 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: ba46ce03b945355d460941112183b7d53a0343eb
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Thu May 12 20:55:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:57:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba46ce03

media-sound/pulseaudio-daemon: Untangle USE equalizer and fftw

For USE equalizer pull required sci-libs/fftw as build and runtime dependency.

Add USE fftw to enable module-virtual-surround-sink.

Closes: https://bugs.gentoo.org/843131
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml |  5 -
 .../pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild| 14 +++---
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index 07ca89f667d0..d44e1ed3057b 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -44,7 +44,10 @@
 
 Use libasyncns for asynchronous name 
resolution.
 
-  Enable the equalizer module (requires sci-libs/fftw).
+  Enable the equalizer module (requires sci-libs/fftw and 
sys-apps/dbus).
+
+
+  Enable the virtual surround sink module (requires 
sci-libs/fftw).
 
 
   Use dev-libs/openssl to provide support for RAOP

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
index 3561766e33ac..b8c4907403b4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
@@ -32,7 +32,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 aptx +asyncns bluetooth dbus elogind equalizer +gdbm 
+glib gstreamer gtk ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
 native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -83,7 +83,10 @@ COMMON_DEPEND="
dbus? ( >=sys-apps/dbus-1.4.12 )
elogind? ( sys-auth/elogind )
equalizer? (
-   sci-libs/fftw:3.0
+   sci-libs/fftw:3.0=
+   )
+   fftw? (
+   sci-libs/fftw:3.0=
)
gdbm? ( sys-libs/gdbm:= )
glib? ( >=dev-libs/glib-2.28.0:2 )
@@ -173,6 +176,11 @@ src_configure() {
enable_bluez5_gstreamer="enabled"
fi
 
+   local enable_fftw="disabled"
+   if use equalizer || use fftw ; then
+   enable_fftw="enabled"
+   fi
+
local emesonargs=(
--localstatedir="${EPREFIX}"/var
 
@@ -203,7 +211,7 @@ src_configure() {
$(meson_use ofono-headset bluez5-ofono-headset)
$(meson_feature dbus)
$(meson_feature elogind)
-   $(meson_feature equalizer fftw)
+   -Dfftw=${enable_fftw}
$(meson_feature glib) # WARNING: toggling this likely changes 
ABI
$(meson_feature glib gsettings) # Supposedly correct?
$(meson_feature gstreamer)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/

2022-06-10 Thread Sam James
commit: 5b22aee51f9de289105b0810bb790714f152f65c
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun  7 06:36:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:57:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b22aee5

media-sound/pulseaudio: Drop USE native-backend

See media-sound/pulseaudio-daemon change dropping USE native-backend.
Metadata entry is still needed for package versions older than 16.0

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio/pulseaudio-16.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-sound/pulseaudio/pulseaudio-16.0.ebuild 
b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
index 8606be44c53b..9faf47d9b03c 100644
--- a/media-sound/pulseaudio/pulseaudio-16.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-16.0.ebuild
@@ -15,14 +15,14 @@ LICENSE="metapackage"
 
 SLOT="0"
 
-# NOTE: bluetooth, native-headset and ofono-headset are passed through to
+# NOTE: bluetooth and ofono-headset are passed through to
 # pulseaudio-daemon dependency to make sure users who have bluetooth enabled
 # just for pulseaudio package will also get these enabled via metapackage.
-IUSE="bluetooth +daemon +glib jack native-headset ofono-headset"
+IUSE="bluetooth +daemon +glib jack ofono-headset"
 
 RDEPEND="
>=media-libs/libpulse-${PV}[glib?,${MULTILIB_USEDEP}]
-   daemon? ( 
>=media-sound/pulseaudio-daemon-${PV}[bluetooth?,glib?,jack?,native-headset?,ofono-headset?]
 )
+   daemon? ( 
>=media-sound/pulseaudio-daemon-${PV}[bluetooth?,glib?,jack?,ofono-headset?] )
 "
 DEPEND="${RDEPEND}"
 



  1   2   3   4   >