[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-09 Thread Sam James
commit: eebba70c111780f1edfe906070dc5a7062759660
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 13:11:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 13:12:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eebba70c

media-video/pipewire: Stabilize 1.0.5 x86, #931629

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

 media-video/pipewire/pipewire-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5.ebuild
index 888713382924..0115d177525b 100644
--- a/media-video/pipewire/pipewire-1.0.5.ebuild
+++ b/media-video/pipewire/pipewire-1.0.5.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-09 Thread Sam James
commit: 86a83291d624a764860a7066959e3d50bfb603e4
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 13:11:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 13:12:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a83291

media-video/pipewire: Stabilize 1.0.5 ppc64, #931629

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

 media-video/pipewire/pipewire-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5.ebuild
index 1fdc9c065095..888713382924 100644
--- a/media-video/pipewire/pipewire-1.0.5.ebuild
+++ b/media-video/pipewire/pipewire-1.0.5.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-09 Thread Sam James
commit: c5bc2cd536c1ac8f6f05d6a0831fe4653f252237
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 13:11:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 13:12:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bc2cd5

media-video/pipewire: Stabilize 1.0.5 arm64, #931629

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

 media-video/pipewire/pipewire-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5.ebuild
index 0a748c087d79..e175587507ee 100644
--- a/media-video/pipewire/pipewire-1.0.5.ebuild
+++ b/media-video/pipewire/pipewire-1.0.5.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 ~arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-09 Thread Sam James
commit: a5884eb855853442aff520911b90fbfe98e7a4a2
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 13:11:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 13:12:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5884eb8

media-video/pipewire: Stabilize 1.0.5 arm, #931629

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

 media-video/pipewire/pipewire-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5.ebuild
index e175587507ee..1fdc9c065095 100644
--- a/media-video/pipewire/pipewire-1.0.5.ebuild
+++ b/media-video/pipewire/pipewire-1.0.5.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 ~arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-09 Thread Sam James
commit: 3a207ffed4f3c5eab1a147a25d4002c4069a14a6
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 13:11:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 13:12:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a207ffe

media-video/pipewire: Stabilize 1.0.5 amd64, #931629

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

 media-video/pipewire/pipewire-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5.ebuild
index 88312367a689..c80ac7d9d46e 100644
--- a/media-video/pipewire/pipewire-1.0.5.ebuild
+++ b/media-video/pipewire/pipewire-1.0.5.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-09 Thread Sam James
commit: b528a67d830d2601550b2fc52920ce7cbccb6363
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 13:11:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 13:12:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b528a67d

media-video/pipewire: Stabilize 1.0.5 ppc, #931629

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

 media-video/pipewire/pipewire-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5.ebuild
index c80ac7d9d46e..0a748c087d79 100644
--- a/media-video/pipewire/pipewire-1.0.5.ebuild
+++ b/media-video/pipewire/pipewire-1.0.5.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-09 Thread Sam James
commit: 9bc408e7aec4a4aabc1594c529d73f99deeff416
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 12:30:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 12:30:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc408e7

media-video/pipewire: add 1.0.6

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

 media-video/pipewire/Manifest  |   1 +
 media-video/pipewire/pipewire-1.0.6.ebuild | 502 +
 2 files changed, 503 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 2d23ecda5dcc..b9a98a797c56 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,3 +1,4 @@
 DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
 DIST pipewire-1.0.4.tar.bz2 1698660 BLAKE2B 
0842a5fca65c8a91eadd9f0594864ae0f0d428b3c03d2c5fecc3b7f62ff6f5d24fc1190eb351279c002e26596148b23b4b576551502be21beb2eeaa0d2ad4dac
 SHA512 
42e8e28b1fd497f5329b5966abd5cfb7d7976fb0ca9f8f39bccf44195dd11f227cdec2448ba7db4559e866ea2dccf64b8172a2ae069c5204cd8f66c0f8a9e2d9
 DIST pipewire-1.0.5.tar.bz2 1698291 BLAKE2B 
0f919a01b5f84060fb2ce560a7790a0d59374671f52a941492930fe21ac39178688f27f00cad649d239901f88b392e16895648efae2ec2785c394c1f6d186ddf
 SHA512 
18fbbe36c8752eb0f1df5ee3f3fffee279addcec9825281bd165ad8316f17af7e91bb5759f63c16139c074b03e5a77ef9d596a87f584d1580bbb754101b70a0f
+DIST pipewire-1.0.6.tar.bz2 1698889 BLAKE2B 
f782efa2aa8fa0976fd3025f58041f450505c63acd9028c3d79368d0c41465a51b4472059a1c13092aa72dc6110fc12589b03de653d7eac3c93bc5498cc17154
 SHA512 
09e5c951c835dcc2654ec284d6be4254744e943f95556c494cd22a4fc67bdc481982856f2aa439e33ec84e7fbdb6df45a1d4b9ced261b01cd91b0ee4d2ed

diff --git a/media-video/pipewire/pipewire-1.0.6.ebuild 
b/media-video/pipewire/pipewire-1.0.6.ebuild
new file mode 100644
index ..1373789d2b11
--- /dev/null
+++ b/media-video/pipewire/pipewire-1.0.6.ebuild
@@ -0,0 +1,502 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+# TODO: Maybe get upstream to produce `meson dist` tarballs:
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
+#
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${PIPEWIRE_DOCS_PREBUILT:=1}
+
+PIPEWIRE_DOCS_PREBUILT_DEV=sam
+PIPEWIRE_DOCS_VERSION=$(ver_cut 1-2).0
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+PIPEWIRE_DOCS_USEFLAG="+man"
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !man? ( 
https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz
 )"
+   PIPEWIRE_DOCS_USEFLAG="man"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg 
flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl 
system-service 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/1.0.0/, media-video/pipewire/

2024-05-08 Thread Sam James
commit: cb79a335075316bce5e7a8646fd8ae866392af2c
Author: Sam James  gentoo  org>
AuthorDate: Wed May  8 22:17:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  8 22:17:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb79a335

media-video/pipewire: drop 1.0.0-r1, 1.0.3

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

 media-video/pipewire/Manifest  |   2 -
 .../1.0.0/0001-fix-compile-with-no-examples.patch  |  59 ---
 .../files/1.0.0/0002-fix-x11-bell-segfault.patch   |  29 --
 media-video/pipewire/pipewire-1.0.0-r1.ebuild  | 509 -
 media-video/pipewire/pipewire-1.0.3.ebuild | 506 
 5 files changed, 1105 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 575861ba7b97..2d23ecda5dcc 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,5 +1,3 @@
 DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
-DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1
-DIST pipewire-1.0.3.tar.bz2 1682330 BLAKE2B 
cf7f69ee8db703b3e441b6ca34aec4e41cc9cd5c0a21344adee2adcbf5b1b9d5fc3913dece88946e34cf7081402d21ea617cfcd0d09bc2780394bc20a5149296
 SHA512 
e568b9eb328d701c06a93c4f1556bf8db6e972877a7f2a5776fe77a20130a63972b3f78d52da66ccb1b2ee9df5451a403ab83aef5662dc5d93a6dfbedb23f66a
 DIST pipewire-1.0.4.tar.bz2 1698660 BLAKE2B 
0842a5fca65c8a91eadd9f0594864ae0f0d428b3c03d2c5fecc3b7f62ff6f5d24fc1190eb351279c002e26596148b23b4b576551502be21beb2eeaa0d2ad4dac
 SHA512 
42e8e28b1fd497f5329b5966abd5cfb7d7976fb0ca9f8f39bccf44195dd11f227cdec2448ba7db4559e866ea2dccf64b8172a2ae069c5204cd8f66c0f8a9e2d9
 DIST pipewire-1.0.5.tar.bz2 1698291 BLAKE2B 
0f919a01b5f84060fb2ce560a7790a0d59374671f52a941492930fe21ac39178688f27f00cad649d239901f88b392e16895648efae2ec2785c394c1f6d186ddf
 SHA512 
18fbbe36c8752eb0f1df5ee3f3fffee279addcec9825281bd165ad8316f17af7e91bb5759f63c16139c074b03e5a77ef9d596a87f584d1580bbb754101b70a0f

diff --git 
a/media-video/pipewire/files/1.0.0/0001-fix-compile-with-no-examples.patch 
b/media-video/pipewire/files/1.0.0/0001-fix-compile-with-no-examples.patch
deleted file mode 100644
index fee0ac1bc328..
--- a/media-video/pipewire/files/1.0.0/0001-fix-compile-with-no-examples.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3675
-https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1790
-
-From 6b4cdab57a0678e88992fb4e5b216e481b051808 Mon Sep 17 00:00:00 2001
-From: Pauli Virtanen 
-Date: Sun, 26 Nov 2023 18:31:43 +0200
-Subject: [PATCH] meson.build: fix compile with -Dexamples=disabled
-
 a/spa/examples/meson.build
-+++ b/spa/examples/meson.build
-@@ -6,6 +6,10 @@ spa_examples = [
-   'local-v4l2',
- ]
- 
-+if not get_option('examples').allowed()
-+  subdir_done()
-+endif
-+
- spa_examples_extra_deps = {
-   'local-v4l2': [sdl_dep],
-   'local-libcamera': [sdl_dep, libcamera_dep],
 a/spa/meson.build
-+++ b/spa/meson.build
-@@ -113,6 +113,4 @@ endif
- 
- subdir('tools')
- subdir('tests')
--if get_option('examples').allowed()
--  subdir('examples')
--endif
-+subdir('examples')
 a/src/examples/meson.build
-+++ b/src/examples/meson.build
-@@ -22,6 +22,10 @@ examples = [
-   'local-v4l2',
- ]
- 
-+if not get_option('examples').allowed()
-+  subdir_done()
-+endif
-+
- examples_extra_deps = {
-   'video-src-fixate': [drm_dep],
-   'video-play': [sdl_dep],
 a/src/meson.build
-+++ b/src/meson.build
-@@ -3,9 +3,7 @@ subdir('pipewire')
- subdir('daemon')
- subdir('tools')
- subdir('modules')
--if get_option('examples').allowed()
--  subdir('examples')
--endif
-+subdir('examples')
- if get_option('tests').allowed()
-   subdir('tests')
- endif
--- 
-GitLab

diff --git a/media-video/pipewire/files/1.0.0/0002-fix-x11-bell-segfault.patch 
b/media-video/pipewire/files/1.0.0/0002-fix-x11-bell-segfault.patch
deleted file mode 100644
index ecf7ded220f4..
--- a/media-video/pipewire/files/1.0.0/0002-fix-x11-bell-segfault.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-https://bugs.gentoo.org/919133
-https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3688
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/8ecc61e1177c94e78fa171ee359cfbbd239942bc
-
-From 8ecc61e1177c94e78fa171ee359cfbbd239942bc Mon Sep 17 00:00:00 2001
-From: Wim Taymans 
-Date: Tue, 5 Dec 2023 16:18:30 +0100
-Subject: [PATCH] module-x11-bell: force pulse backend
-
-The libcanberra 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-06 Thread Sam James
commit: 273fb35cc71168b451dd1e0426f473ed5b598082
Author: Sam James  gentoo  org>
AuthorDate: Mon May  6 07:24:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  6 07:24:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=273fb35c

media-video/pipewire: restore 1.0.5

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

 media-video/pipewire/pipewire-1.0.5.ebuild | 512 +
 1 file changed, 512 insertions(+)

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5.ebuild
new file mode 100644
index ..88312367a689
--- /dev/null
+++ b/media-video/pipewire/pipewire-1.0.5.ebuild
@@ -0,0 +1,512 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+# TODO: Maybe get upstream to produce `meson dist` tarballs:
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
+#
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${PIPEWIRE_DOCS_PREBUILT:=1}
+
+PIPEWIRE_DOCS_PREBUILT_DEV=sam
+PIPEWIRE_DOCS_VERSION=$(ver_cut 1-2).0
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+PIPEWIRE_DOCS_USEFLAG="+man"
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !man? ( 
https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz
 )"
+   PIPEWIRE_DOCS_USEFLAG="man"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg 
flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl 
system-service systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
+#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled unconditionally.
+# - ffmpeg is only used for pw-cat. We don't build the spa plugin which 
receives barely any activity.
+REQUIRED_USE="
+   ffmpeg? ( extra )
+   bluetooth? ( dbus )
+   jack-sdk? ( !jack-client )
+   modemmanager? ( bluetooth )
+   system-service? ( systemd )
+   !sound-server? ( !pipewire-alsa )
+   jack-client? ( dbus )
+"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   >=dev-build/meson-0.59
+   virtual/pkgconfig
+   dbus? ( dev-util/gdbus-codegen )
+   doc? (
+   ${PYTHON_DEPS}
+   >=app-text/doxygen-1.9.8
+   media-gfx/graphviz
+   )
+   

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-05-06 Thread Sam James
commit: 8f2c2d8d543dbf3cc060b82d060b699e8575dd49
Author: James Calligeros  gmail  com>
AuthorDate: Wed May  1 08:09:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  6 07:23:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f2c2d8d

media-video/pipewire: revbump for media-video/wireplumber-0.5.2

WirePlumber 0.5 has completely changed the way its configuration
and scripting are managed. Thus, we can no longer insert Lua
scripts into /etc/{pipewire,wireplumber}/ for sound-server
handling.

Furthermore, /etc/pipewire/ is not a valid or checked location
for the new-style WirePlumber config, so we need to install
the new-style sound-server handling to /etc/wireplumber/wireplumber.conf.d
instead.

Bug: https://bugs.gentoo.org/921393
Signed-off-by: James Calligeros  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../{pipewire-1.0.5.ebuild => pipewire-1.0.5-r1.ebuild}  | 16 +++-
 media-video/pipewire/pipewire-.ebuild| 16 +++-
 2 files changed, 6 insertions(+), 26 deletions(-)

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5-r1.ebuild
similarity index 95%
rename from media-video/pipewire/pipewire-1.0.5.ebuild
rename to media-video/pipewire/pipewire-1.0.5-r1.ebuild
index 88312367a689..1373789d2b11 100644
--- a/media-video/pipewire/pipewire-1.0.5.ebuild
+++ b/media-video/pipewire/pipewire-1.0.5-r1.ebuild
@@ -162,9 +162,7 @@ RDEPEND="
 
 DEPEND="${RDEPEND}"
 
-# TODO: Consider use cases where pipewire is not used for driving audio
-# Doing so with WirePlumber currently involves editing Lua scripts
-PDEPEND=">=media-video/wireplumber-0.4.8-r3"
+PDEPEND=">=media-video/wireplumber-0.5.2"
 
 # Present RDEPEND that are currently always disabled due to the PW
 # code using them being required to be disabled by Gentoo guidelines
@@ -313,16 +311,8 @@ multilib_src_install_all() {
 
# Enable required wireplumber alsa and bluez monitors
if use sound-server; then
-   # Install sound-server enabler, alsa part, wireplumber 0.4.15 
syntax, clean this up with wireplumber dep bump
-   dodir /etc/wireplumber/main.lua.d
-   echo "alsa_monitor.enabled = true" > 
"${ED}"/etc/wireplumber/main.lua.d/89-gentoo-sound-server-enable-alsa-monitor.lua
 || die
-
-   # Install sound-server enabler, bluetooth part, wireplumber 
0.4.15 syntax, clean this up with wireplumber dep bump
-   dodir /etc/wireplumber/bluetooth.lua.d
-   echo "bluez_monitor.enabled = true" > 
"${ED}"/etc/wireplumber/bluetooth.lua.d/89-gentoo-sound-server-enable-bluez-monitor.lua
 || die
-
-   # Install sound-server enabler for wireplumber 0.4.81+ conf 
syntax
-   insinto /etc/pipewire/wireplumber.conf.d
+   # Install sound-server enabler for wireplumber 0.5.0+ conf 
syntax
+   insinto /etc/wireplumber/wireplumber.conf.d
doins 
"${FILESDIR}"/gentoo-sound-server-enable-audio-bluetooth.conf
fi
 

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index b792e5bf1639..0e1cb10820aa 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -162,9 +162,7 @@ RDEPEND="
 
 DEPEND="${RDEPEND}"
 
-# TODO: Consider use cases where pipewire is not used for driving audio
-# Doing so with WirePlumber currently involves editing Lua scripts
-PDEPEND=">=media-video/wireplumber-0.4.8-r3"
+PDEPEND=">=media-video/wireplumber-0.5.2"
 
 # Present RDEPEND that are currently always disabled due to the PW
 # code using them being required to be disabled by Gentoo guidelines
@@ -313,16 +311,8 @@ multilib_src_install_all() {
 
# Enable required wireplumber alsa and bluez monitors
if use sound-server; then
-   # Install sound-server enabler, alsa part, wireplumber 0.4.15 
syntax, clean this up with wireplumber dep bump
-   dodir /etc/wireplumber/main.lua.d
-   echo "alsa_monitor.enabled = true" > 
"${ED}"/etc/wireplumber/main.lua.d/89-gentoo-sound-server-enable-alsa-monitor.lua
 || die
-
-   # Install sound-server enabler, bluetooth part, wireplumber 
0.4.15 syntax, clean this up with wireplumber dep bump
-   dodir /etc/wireplumber/bluetooth.lua.d
-   echo "bluez_monitor.enabled = true" > 
"${ED}"/etc/wireplumber/bluetooth.lua.d/89-gentoo-sound-server-enable-bluez-monitor.lua
 || die
-
-   # Install sound-server enabler for wireplumber 0.4.81+ conf 
syntax
-   insinto /etc/pipewire/wireplumber.conf.d
+   # Install sound-server enabler for wireplumber 0.5.0+ conf 
syntax
+   insinto /etc/wireplumber/wireplumber.conf.d
doins 
"${FILESDIR}"/gentoo-sound-server-enable-audio-bluetooth.conf
fi
 



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-04-29 Thread Sam James
commit: 625d8db99ccada7b6279c4914750de567a78065c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 29 13:40:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 29 13:40:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625d8db9

media-video/pipewire: Stabilize 1.0.4 amd64, #930883

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

 media-video/pipewire/pipewire-1.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.4.ebuild 
b/media-video/pipewire/pipewire-1.0.4.ebuild
index 4ab68f900d51..0115d177525b 100644
--- a/media-video/pipewire/pipewire-1.0.4.ebuild
+++ b/media-video/pipewire/pipewire-1.0.4.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-04-29 Thread Sam James
commit: 04fd66987738057fbc42f5b48c03171cabff12dd
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 29 13:40:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 29 13:40:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04fd6698

media-video/pipewire: Stabilize 1.0.4 x86, #930883

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

 media-video/pipewire/pipewire-1.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.4.ebuild 
b/media-video/pipewire/pipewire-1.0.4.ebuild
index b03c06b3e9af..4ab68f900d51 100644
--- a/media-video/pipewire/pipewire-1.0.4.ebuild
+++ b/media-video/pipewire/pipewire-1.0.4.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-04-29 Thread Arthur Zamarin
commit: 0a316a129aaea24e441f8138567913ded19b25cb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 29 08:05:13 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 29 08:05:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a316a12

media-video/pipewire: Stabilize 1.0.4 arm, #930883

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

 media-video/pipewire/pipewire-1.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.4.ebuild 
b/media-video/pipewire/pipewire-1.0.4.ebuild
index 4d2e8edad22a..5fdc25e627ae 100644
--- a/media-video/pipewire/pipewire-1.0.4.ebuild
+++ b/media-video/pipewire/pipewire-1.0.4.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-04-29 Thread Arthur Zamarin
commit: d9c5016b90287a78ec07f4e79c5ea838cdeb4885
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 29 08:05:14 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 29 08:05:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c5016b

media-video/pipewire: Stabilize 1.0.4 arm64, #930883

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

 media-video/pipewire/pipewire-1.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.4.ebuild 
b/media-video/pipewire/pipewire-1.0.4.ebuild
index 5fdc25e627ae..b03c06b3e9af 100644
--- a/media-video/pipewire/pipewire-1.0.4.ebuild
+++ b/media-video/pipewire/pipewire-1.0.4.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 arm ~arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-04-29 Thread Arthur Zamarin
commit: 0350e0e398f3aba20f72dc99d59ba18d61562e8b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 29 08:05:12 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 29 08:05:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0350e0e3

media-video/pipewire: Stabilize 1.0.4 ppc64, #930883

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

 media-video/pipewire/pipewire-1.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.4.ebuild 
b/media-video/pipewire/pipewire-1.0.4.ebuild
index 137586b01189..4d2e8edad22a 100644
--- a/media-video/pipewire/pipewire-1.0.4.ebuild
+++ b/media-video/pipewire/pipewire-1.0.4.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-04-15 Thread Sam James
commit: a2418308084fef54f20f443e14e7adb4e64277a1
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 15 23:06:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 15 23:08:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2418308

media-video/pipewire: add 1.0.5

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

 media-video/pipewire/Manifest  |   1 +
 media-video/pipewire/pipewire-1.0.5.ebuild | 512 +
 2 files changed, 513 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 5b471210b019..575861ba7b97 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -2,3 +2,4 @@ DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbd
 DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1
 DIST pipewire-1.0.3.tar.bz2 1682330 BLAKE2B 
cf7f69ee8db703b3e441b6ca34aec4e41cc9cd5c0a21344adee2adcbf5b1b9d5fc3913dece88946e34cf7081402d21ea617cfcd0d09bc2780394bc20a5149296
 SHA512 
e568b9eb328d701c06a93c4f1556bf8db6e972877a7f2a5776fe77a20130a63972b3f78d52da66ccb1b2ee9df5451a403ab83aef5662dc5d93a6dfbedb23f66a
 DIST pipewire-1.0.4.tar.bz2 1698660 BLAKE2B 
0842a5fca65c8a91eadd9f0594864ae0f0d428b3c03d2c5fecc3b7f62ff6f5d24fc1190eb351279c002e26596148b23b4b576551502be21beb2eeaa0d2ad4dac
 SHA512 
42e8e28b1fd497f5329b5966abd5cfb7d7976fb0ca9f8f39bccf44195dd11f227cdec2448ba7db4559e866ea2dccf64b8172a2ae069c5204cd8f66c0f8a9e2d9
+DIST pipewire-1.0.5.tar.bz2 1698291 BLAKE2B 
0f919a01b5f84060fb2ce560a7790a0d59374671f52a941492930fe21ac39178688f27f00cad649d239901f88b392e16895648efae2ec2785c394c1f6d186ddf
 SHA512 
18fbbe36c8752eb0f1df5ee3f3fffee279addcec9825281bd165ad8316f17af7e91bb5759f63c16139c074b03e5a77ef9d596a87f584d1580bbb754101b70a0f

diff --git a/media-video/pipewire/pipewire-1.0.5.ebuild 
b/media-video/pipewire/pipewire-1.0.5.ebuild
new file mode 100644
index ..88312367a689
--- /dev/null
+++ b/media-video/pipewire/pipewire-1.0.5.ebuild
@@ -0,0 +1,512 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+# TODO: Maybe get upstream to produce `meson dist` tarballs:
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
+#
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${PIPEWIRE_DOCS_PREBUILT:=1}
+
+PIPEWIRE_DOCS_PREBUILT_DEV=sam
+PIPEWIRE_DOCS_VERSION=$(ver_cut 1-2).0
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+PIPEWIRE_DOCS_USEFLAG="+man"
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !man? ( 
https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz
 )"
+   PIPEWIRE_DOCS_USEFLAG="man"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg 
flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/

2024-03-18 Thread Sam James
commit: bdd56b3bcecf86106aaf77a79b3d369ea6d45f9a
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Feb  3 06:42:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 19 05:47:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd56b3b

media-video/pipewire: Add another sound-server part for updated wireplumber 
conf syntax

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

 .../pipewire/files/gentoo-sound-server-enable-audio-bluetooth.conf  | 6 ++
 media-video/pipewire/pipewire-1.0.4.ebuild  | 6 ++
 media-video/pipewire/pipewire-.ebuild   | 6 ++
 3 files changed, 18 insertions(+)

diff --git 
a/media-video/pipewire/files/gentoo-sound-server-enable-audio-bluetooth.conf 
b/media-video/pipewire/files/gentoo-sound-server-enable-audio-bluetooth.conf
new file mode 100644
index ..c5b4f8036b54
--- /dev/null
+++ b/media-video/pipewire/files/gentoo-sound-server-enable-audio-bluetooth.conf
@@ -0,0 +1,6 @@
+wireplumber.profiles = {
+  main = {
+hardware.audio = required
+hardware.bluetooth = required
+  }
+}

diff --git a/media-video/pipewire/pipewire-1.0.4.ebuild 
b/media-video/pipewire/pipewire-1.0.4.ebuild
index 1bdcaea902f0..88312367a689 100644
--- a/media-video/pipewire/pipewire-1.0.4.ebuild
+++ b/media-video/pipewire/pipewire-1.0.4.ebuild
@@ -313,11 +313,17 @@ multilib_src_install_all() {
 
# Enable required wireplumber alsa and bluez monitors
if use sound-server; then
+   # Install sound-server enabler, alsa part, wireplumber 0.4.15 
syntax, clean this up with wireplumber dep bump
dodir /etc/wireplumber/main.lua.d
echo "alsa_monitor.enabled = true" > 
"${ED}"/etc/wireplumber/main.lua.d/89-gentoo-sound-server-enable-alsa-monitor.lua
 || die
 
+   # Install sound-server enabler, bluetooth part, wireplumber 
0.4.15 syntax, clean this up with wireplumber dep bump
dodir /etc/wireplumber/bluetooth.lua.d
echo "bluez_monitor.enabled = true" > 
"${ED}"/etc/wireplumber/bluetooth.lua.d/89-gentoo-sound-server-enable-bluez-monitor.lua
 || die
+
+   # Install sound-server enabler for wireplumber 0.4.81+ conf 
syntax
+   insinto /etc/pipewire/wireplumber.conf.d
+   doins 
"${FILESDIR}"/gentoo-sound-server-enable-audio-bluetooth.conf
fi
 
if use system-service; then

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 1faa8aec874a..b792e5bf1639 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -313,11 +313,17 @@ multilib_src_install_all() {
 
# Enable required wireplumber alsa and bluez monitors
if use sound-server; then
+   # Install sound-server enabler, alsa part, wireplumber 0.4.15 
syntax, clean this up with wireplumber dep bump
dodir /etc/wireplumber/main.lua.d
echo "alsa_monitor.enabled = true" > 
"${ED}"/etc/wireplumber/main.lua.d/89-gentoo-sound-server-enable-alsa-monitor.lua
 || die
 
+   # Install sound-server enabler, bluetooth part, wireplumber 
0.4.15 syntax, clean this up with wireplumber dep bump
dodir /etc/wireplumber/bluetooth.lua.d
echo "bluez_monitor.enabled = true" > 
"${ED}"/etc/wireplumber/bluetooth.lua.d/89-gentoo-sound-server-enable-bluez-monitor.lua
 || die
+
+   # Install sound-server enabler for wireplumber 0.4.81+ conf 
syntax
+   insinto /etc/pipewire/wireplumber.conf.d
+   doins 
"${FILESDIR}"/gentoo-sound-server-enable-audio-bluetooth.conf
fi
 
if use system-service; then



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-03-14 Thread Arthur Zamarin
commit: 68bb6e86fc3a572ebe0701296385aa3ab9fe67ac
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 14 07:42:10 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 14 07:42:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68bb6e86

media-video/pipewire: Stabilize 1.0.3 ppc64, #925412

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

 media-video/pipewire/pipewire-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.3.ebuild 
b/media-video/pipewire/pipewire-1.0.3.ebuild
index 96f7faeb507c..ddb46df4ee73 100644
--- a/media-video/pipewire/pipewire-1.0.3.ebuild
+++ b/media-video/pipewire/pipewire-1.0.3.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-03-13 Thread Sam James
commit: 1cb2b50bc3fcca63fd985ff0b462abb3a1a8a33a
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 13 23:56:19 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 13 23:56:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb2b50b

media-video/pipewire: add 1.0.4

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

 media-video/pipewire/Manifest  |   1 +
 media-video/pipewire/pipewire-1.0.4.ebuild | 506 +
 2 files changed, 507 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index f768628cc15b..5b471210b019 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,3 +1,4 @@
 DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
 DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1
 DIST pipewire-1.0.3.tar.bz2 1682330 BLAKE2B 
cf7f69ee8db703b3e441b6ca34aec4e41cc9cd5c0a21344adee2adcbf5b1b9d5fc3913dece88946e34cf7081402d21ea617cfcd0d09bc2780394bc20a5149296
 SHA512 
e568b9eb328d701c06a93c4f1556bf8db6e972877a7f2a5776fe77a20130a63972b3f78d52da66ccb1b2ee9df5451a403ab83aef5662dc5d93a6dfbedb23f66a
+DIST pipewire-1.0.4.tar.bz2 1698660 BLAKE2B 
0842a5fca65c8a91eadd9f0594864ae0f0d428b3c03d2c5fecc3b7f62ff6f5d24fc1190eb351279c002e26596148b23b4b576551502be21beb2eeaa0d2ad4dac
 SHA512 
42e8e28b1fd497f5329b5966abd5cfb7d7976fb0ca9f8f39bccf44195dd11f227cdec2448ba7db4559e866ea2dccf64b8172a2ae069c5204cd8f66c0f8a9e2d9

diff --git a/media-video/pipewire/pipewire-1.0.4.ebuild 
b/media-video/pipewire/pipewire-1.0.4.ebuild
new file mode 100644
index ..1bdcaea902f0
--- /dev/null
+++ b/media-video/pipewire/pipewire-1.0.4.ebuild
@@ -0,0 +1,506 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+# TODO: Maybe get upstream to produce `meson dist` tarballs:
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
+#
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${PIPEWIRE_DOCS_PREBUILT:=1}
+
+PIPEWIRE_DOCS_PREBUILT_DEV=sam
+PIPEWIRE_DOCS_VERSION=$(ver_cut 1-2).0
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+PIPEWIRE_DOCS_USEFLAG="+man"
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !man? ( 
https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz
 )"
+   PIPEWIRE_DOCS_USEFLAG="man"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg 
flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl 
system-service 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

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

media-video/pipewire: Stabilize 1.0.3 ppc, #925412

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

 media-video/pipewire/pipewire-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.3.ebuild 
b/media-video/pipewire/pipewire-1.0.3.ebuild
index a172957af2e2..96f7faeb507c 100644
--- a/media-video/pipewire/pipewire-1.0.3.ebuild
+++ b/media-video/pipewire/pipewire-1.0.3.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-03-02 Thread Arthur Zamarin
commit: 679d6d909928dd1f0326becd31f4f753461fec3d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  2 12:04:49 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  2 12:04:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679d6d90

media-video/pipewire: Stabilize 1.0.3 arm64, #925412

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

 media-video/pipewire/pipewire-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.3.ebuild 
b/media-video/pipewire/pipewire-1.0.3.ebuild
index 0f1e610383dc..a172957af2e2 100644
--- a/media-video/pipewire/pipewire-1.0.3.ebuild
+++ b/media-video/pipewire/pipewire-1.0.3.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-03-02 Thread Arthur Zamarin
commit: cdfe7a1616a612067970b76b0ab697e2790ee9e1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  2 12:04:46 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  2 12:04:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdfe7a16

media-video/pipewire: Stabilize 1.0.3 arm, #925412

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

 media-video/pipewire/pipewire-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.3.ebuild 
b/media-video/pipewire/pipewire-1.0.3.ebuild
index f5f91b8b7356..0f1e610383dc 100644
--- a/media-video/pipewire/pipewire-1.0.3.ebuild
+++ b/media-video/pipewire/pipewire-1.0.3.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-02-24 Thread Jakov Smolić
commit: 1236ed6fdb73e7ba7b7080b180c18dfb00bb0313
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 25 02:52:42 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 25 02:52:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1236ed6f

media-video/pipewire: Stabilize 1.0.3 x86, #925412

Signed-off-by: Jakov Smolić  gentoo.org>

 media-video/pipewire/pipewire-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.3.ebuild 
b/media-video/pipewire/pipewire-1.0.3.ebuild
index 1058431f074f..f5f91b8b7356 100644
--- a/media-video/pipewire/pipewire-1.0.3.ebuild
+++ b/media-video/pipewire/pipewire-1.0.3.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-02-24 Thread Arthur Zamarin
commit: a3eace25b6f6eaf85dbb25b619e2439f4141852a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 24 20:02:42 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 24 20:02:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3eace25

media-video/pipewire: Stabilize 1.0.3 amd64, #925412

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

 media-video/pipewire/pipewire-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.3.ebuild 
b/media-video/pipewire/pipewire-1.0.3.ebuild
index 1bdcaea902f0..1058431f074f 100644
--- a/media-video/pipewire/pipewire-1.0.3.ebuild
+++ b/media-video/pipewire/pipewire-1.0.3.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/1.0.2/, media-video/pipewire/

2024-02-24 Thread Sam James
commit: 3b032870cde585a2ac7314eb902f916810948852
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 24 10:17:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 24 10:17:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b032870

media-video/pipewire: drop 1.0.1, 1.0.2-r1

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

 media-video/pipewire/Manifest  |   2 -
 .../files/1.0.2/0001-alsa-version-check.patch  |  23 -
 media-video/pipewire/pipewire-1.0.1.ebuild | 506 -
 media-video/pipewire/pipewire-1.0.2-r1.ebuild  | 506 -
 4 files changed, 1037 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index f073f1139d83..f768628cc15b 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,5 +1,3 @@
 DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
 DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1
-DIST pipewire-1.0.1.tar.bz2 1681917 BLAKE2B 
8d0aacf55e6adf9aee4e5fcb5995939db3f901bfe2b9c43d5690df58a2186c4790b89e53c358a532a95627022ef5ff9b4b97a99acea562d3ceda68ee88dd8bb7
 SHA512 
434ff80ca99aa68553b6b404cb756c3bf11231654f9dde0d4a971dd0876489468df45be9275794746682c73bb03c51e1112e6d9b8aafe12468a4c5b0be16ac4d
-DIST pipewire-1.0.2.tar.bz2 1682351 BLAKE2B 
eebc3fddc47b8fbc89a27f8f55d030faa12fa854851fbf42543067c7d0cc04b45742c378f79a77e69498b2c37cae651dca38aca7ac93ee50440568e4985b7996
 SHA512 
c245cbd7c887ef5cb63ef4d95a80e6e2eeb23dc8c662be105217ad7185a5310aad4d252bae3443f4f15a5f0e22e23e16870f0366bf0cc165758eedf83e13adac
 DIST pipewire-1.0.3.tar.bz2 1682330 BLAKE2B 
cf7f69ee8db703b3e441b6ca34aec4e41cc9cd5c0a21344adee2adcbf5b1b9d5fc3913dece88946e34cf7081402d21ea617cfcd0d09bc2780394bc20a5149296
 SHA512 
e568b9eb328d701c06a93c4f1556bf8db6e972877a7f2a5776fe77a20130a63972b3f78d52da66ccb1b2ee9df5451a403ab83aef5662dc5d93a6dfbedb23f66a

diff --git a/media-video/pipewire/files/1.0.2/0001-alsa-version-check.patch 
b/media-video/pipewire/files/1.0.2/0001-alsa-version-check.patch
deleted file mode 100644
index 563ee9711bfe..
--- a/media-video/pipewire/files/1.0.2/0001-alsa-version-check.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3830
-https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3711
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/1e763b928f3cbf1a479974b6833706cc7b2e66d4
-
-From 1e763b928f3cbf1a479974b6833706cc7b2e66d4 Mon Sep 17 00:00:00 2001
-From: Wim Taymans 
-Date: Thu, 1 Feb 2024 21:42:07 +0100
-Subject: [PATCH] alsa: fix version check
-
-See #3711
 a/pipewire-alsa/alsa-plugins/pcm_pipewire.c
-+++ b/pipewire-alsa/alsa-plugins/pcm_pipewire.c
-@@ -1298,7 +1298,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(pipewire)
-   int err;
- 
-   pw_init(NULL, NULL);
--  if (strstr(pw_get_library_version(), "0.2") != NULL)
-+  if (spa_strstartswith(pw_get_library_version(), "0.2"))
-   return -ENOTSUP;
- 
-   props = pw_properties_new(NULL, NULL);
--- 
-GitLab

diff --git a/media-video/pipewire/pipewire-1.0.1.ebuild 
b/media-video/pipewire/pipewire-1.0.1.ebuild
deleted file mode 100644
index 1bdcaea902f0..
--- a/media-video/pipewire/pipewire-1.0.1.ebuild
+++ /dev/null
@@ -1,506 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# 1. Please regularly check (even at the point of bumping) Fedora's packaging
-# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
-#
-# 2. Upstream also sometimes amend release notes for the previous release to 
mention
-# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
-#
-# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
-# continue to move quickly. It's not uncommon for fixes to be made shortly
-# after releases.
-
-# TODO: Maybe get upstream to produce `meson dist` tarballs:
-# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
-# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
-#
-# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
-# Set to 1 if prebuilt, 0 if not
-# (the construct below is to allow overriding from env for script)
-: ${PIPEWIRE_DOCS_PREBUILT:=1}
-
-PIPEWIRE_DOCS_PREBUILT_DEV=sam

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-02-02 Thread Sam James
commit: 944208aecfa7b9e52a10896d68034d35c63f4214
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 22:44:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 22:44:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=944208ae

media-video/pipewire: add 1.0.3

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

 media-video/pipewire/Manifest  |   1 +
 media-video/pipewire/pipewire-1.0.3.ebuild | 506 +
 2 files changed, 507 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 098787e061b1..f073f1139d83 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -2,3 +2,4 @@ DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbd
 DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1
 DIST pipewire-1.0.1.tar.bz2 1681917 BLAKE2B 
8d0aacf55e6adf9aee4e5fcb5995939db3f901bfe2b9c43d5690df58a2186c4790b89e53c358a532a95627022ef5ff9b4b97a99acea562d3ceda68ee88dd8bb7
 SHA512 
434ff80ca99aa68553b6b404cb756c3bf11231654f9dde0d4a971dd0876489468df45be9275794746682c73bb03c51e1112e6d9b8aafe12468a4c5b0be16ac4d
 DIST pipewire-1.0.2.tar.bz2 1682351 BLAKE2B 
eebc3fddc47b8fbc89a27f8f55d030faa12fa854851fbf42543067c7d0cc04b45742c378f79a77e69498b2c37cae651dca38aca7ac93ee50440568e4985b7996
 SHA512 
c245cbd7c887ef5cb63ef4d95a80e6e2eeb23dc8c662be105217ad7185a5310aad4d252bae3443f4f15a5f0e22e23e16870f0366bf0cc165758eedf83e13adac
+DIST pipewire-1.0.3.tar.bz2 1682330 BLAKE2B 
cf7f69ee8db703b3e441b6ca34aec4e41cc9cd5c0a21344adee2adcbf5b1b9d5fc3913dece88946e34cf7081402d21ea617cfcd0d09bc2780394bc20a5149296
 SHA512 
e568b9eb328d701c06a93c4f1556bf8db6e972877a7f2a5776fe77a20130a63972b3f78d52da66ccb1b2ee9df5451a403ab83aef5662dc5d93a6dfbedb23f66a

diff --git a/media-video/pipewire/pipewire-1.0.3.ebuild 
b/media-video/pipewire/pipewire-1.0.3.ebuild
new file mode 100644
index ..1bdcaea902f0
--- /dev/null
+++ b/media-video/pipewire/pipewire-1.0.3.ebuild
@@ -0,0 +1,506 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+# TODO: Maybe get upstream to produce `meson dist` tarballs:
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
+#
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${PIPEWIRE_DOCS_PREBUILT:=1}
+
+PIPEWIRE_DOCS_PREBUILT_DEV=sam
+PIPEWIRE_DOCS_VERSION=$(ver_cut 1-2).0
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+PIPEWIRE_DOCS_USEFLAG="+man"
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !man? ( 
https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz
 )"
+   PIPEWIRE_DOCS_USEFLAG="man"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg 
flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/0.3.80/

2024-02-01 Thread Sam James
commit: dc07fcf7d05ac3ff5abf9888e9ad5976383ab6a2
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 03:46:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 03:46:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc07fcf7

media-video/pipewire: drop 0.3.80

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

 media-video/pipewire/Manifest  |   1 -
 .../0001-aes-support-both-webrtc-versions.patch| 233 --
 media-video/pipewire/pipewire-0.3.80.ebuild| 475 -
 3 files changed, 709 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 61baf2e7e19b..098787e061b1 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,4 +1,3 @@
-DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
 DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
 DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1
 DIST pipewire-1.0.1.tar.bz2 1681917 BLAKE2B 
8d0aacf55e6adf9aee4e5fcb5995939db3f901bfe2b9c43d5690df58a2186c4790b89e53c358a532a95627022ef5ff9b4b97a99acea562d3ceda68ee88dd8bb7
 SHA512 
434ff80ca99aa68553b6b404cb756c3bf11231654f9dde0d4a971dd0876489468df45be9275794746682c73bb03c51e1112e6d9b8aafe12468a4c5b0be16ac4d

diff --git 
a/media-video/pipewire/files/0.3.80/0001-aes-support-both-webrtc-versions.patch 
b/media-video/pipewire/files/0.3.80/0001-aes-support-both-webrtc-versions.patch
deleted file mode 100644
index f2afdde4f4be..
--- 
a/media-video/pipewire/files/0.3.80/0001-aes-support-both-webrtc-versions.patch
+++ /dev/null
@@ -1,233 +0,0 @@
-https://bugs.gentoo.org/913693
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/1f1c308c9766312e684f0b53fc2d1422c7414d31
-
-From 1f1c308c9766312e684f0b53fc2d1422c7414d31 Mon Sep 17 00:00:00 2001
-From: Wim Taymans 
-Date: Thu, 14 Sep 2023 15:35:40 +0200
-Subject: [PATCH] aec: support both webrtc versions
-
-Version 1 does not seem to be packaged in many distros and so they would
-need to revert the patch or disable AEC. Enabling both allows for things
-to move forwards gracefully.
 a/meson.build
-+++ b/meson.build
-@@ -377,9 +377,17 @@ cdata.set('HAVE_GSTREAMER_DEVICE_PROVIDER', 
get_option('gstreamer-device-provide
- 
- webrtc_dep = dependency('webrtc-audio-processing-1',
-   version : ['>= 1.2' ],
--  required : get_option('echo-cancel-webrtc'))
--summary({'WebRTC Echo Canceling': webrtc_dep.found()}, bool_yn: true, 
section: 'Misc dependencies')
--cdata.set('HAVE_WEBRTC', webrtc_dep.found())
-+  required : false)
-+cdata.set('HAVE_WEBRTC1', webrtc_dep.found())
-+if webrtc_dep.found()
-+  summary({'WebRTC Echo Canceling >= 1.2': webrtc_dep.found()}, bool_yn: 
true, section: 'Misc dependencies')
-+else
-+  webrtc_dep = dependency('webrtc-audio-processing',
-+version : ['>= 0.2', '< 1.0'],
-+required : get_option('echo-cancel-webrtc'))
-+  cdata.set('HAVE_WEBRTC', webrtc_dep.found())
-+  summary({'WebRTC Echo Canceling < 1.0': webrtc_dep.found()}, bool_yn: true, 
section: 'Misc dependencies')
-+endif
- 
- # On FreeBSD and MidnightBSD, epoll-shim library is required for eventfd() 
and timerfd()
- epoll_shim_dep = (host_machine.system() == 'freebsd' or host_machine.system() 
== 'midnightbsd'
 a/spa/plugins/aec/aec-webrtc.cpp
-+++ b/spa/plugins/aec/aec-webrtc.cpp
-@@ -3,6 +3,8 @@
- /* SPDX-FileCopyrightText: Copyright © 2021 Arun Raghavan 
 */
- /* SPDX-License-Identifier: MIT */
- 
-+#include "config.h"
-+
- #include 
- #include 
- 
-@@ -13,7 +15,13 @@
- #include 
- #include 
- 
-+#ifdef HAVE_WEBRTC
-+#include 
-+#include 
-+#include 
-+#else
- #include 
-+#endif
- 
- struct impl_data {
-   struct spa_handle handle;
-@@ -39,6 +47,54 @@ static bool webrtc_get_spa_bool(const struct spa_dict 
*args, const char *key, bo
-   return default_value;
- }
- 
-+#ifdef HAVE_WEBRTC
-+/* [ f0 f1 f2 ] */
-+static int parse_point(struct spa_json *it, float ()[3])
-+{
-+  struct spa_json arr;
-+  int i, res;
-+
-+  if (spa_json_enter_array(it, ) <= 0)
-+  return -EINVAL;
-+
-+  for (i = 0; i < 3; i++) {
-+  if ((res = spa_json_get_float(, [i])) <= 0)
-+  return 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/1.0.2/, media-video/pipewire/

2024-02-01 Thread Sam James
commit: 4966263156f2f8ec013eb3be118aa59b05a4dedf
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 03:24:36 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 03:25:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49662631

media-video/pipewire: fix alsa version check for 1.0.2

See https://forums.gentoo.org/viewtopic-t-1167195.html.

Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3711 (see 
comment)
Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3830
Signed-off-by: Sam James  gentoo.org>

 .../files/1.0.2/0001-alsa-version-check.patch  | 23 ++
 ...ewire-1.0.2.ebuild => pipewire-1.0.2-r1.ebuild} |  0
 2 files changed, 23 insertions(+)

diff --git a/media-video/pipewire/files/1.0.2/0001-alsa-version-check.patch 
b/media-video/pipewire/files/1.0.2/0001-alsa-version-check.patch
new file mode 100644
index ..563ee9711bfe
--- /dev/null
+++ b/media-video/pipewire/files/1.0.2/0001-alsa-version-check.patch
@@ -0,0 +1,23 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3830
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3711
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/1e763b928f3cbf1a479974b6833706cc7b2e66d4
+
+From 1e763b928f3cbf1a479974b6833706cc7b2e66d4 Mon Sep 17 00:00:00 2001
+From: Wim Taymans 
+Date: Thu, 1 Feb 2024 21:42:07 +0100
+Subject: [PATCH] alsa: fix version check
+
+See #3711
+--- a/pipewire-alsa/alsa-plugins/pcm_pipewire.c
 b/pipewire-alsa/alsa-plugins/pcm_pipewire.c
+@@ -1298,7 +1298,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(pipewire)
+   int err;
+ 
+   pw_init(NULL, NULL);
+-  if (strstr(pw_get_library_version(), "0.2") != NULL)
++  if (spa_strstartswith(pw_get_library_version(), "0.2"))
+   return -ENOTSUP;
+ 
+   props = pw_properties_new(NULL, NULL);
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-1.0.2.ebuild 
b/media-video/pipewire/pipewire-1.0.2-r1.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-1.0.2.ebuild
rename to media-video/pipewire/pipewire-1.0.2-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-31 Thread Sam James
commit: b3cf3648b48d6f4294b8cda84ddb0bade61a1a9c
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 31 20:03:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 31 20:34:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3cf3648

media-video/pipewire: add 1.0.2

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

 media-video/pipewire/Manifest  |   1 +
 media-video/pipewire/pipewire-1.0.2.ebuild | 506 +
 2 files changed, 507 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index e0a71fac5298..61baf2e7e19b 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -2,3 +2,4 @@ DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f
 DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
 DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1
 DIST pipewire-1.0.1.tar.bz2 1681917 BLAKE2B 
8d0aacf55e6adf9aee4e5fcb5995939db3f901bfe2b9c43d5690df58a2186c4790b89e53c358a532a95627022ef5ff9b4b97a99acea562d3ceda68ee88dd8bb7
 SHA512 
434ff80ca99aa68553b6b404cb756c3bf11231654f9dde0d4a971dd0876489468df45be9275794746682c73bb03c51e1112e6d9b8aafe12468a4c5b0be16ac4d
+DIST pipewire-1.0.2.tar.bz2 1682351 BLAKE2B 
eebc3fddc47b8fbc89a27f8f55d030faa12fa854851fbf42543067c7d0cc04b45742c378f79a77e69498b2c37cae651dca38aca7ac93ee50440568e4985b7996
 SHA512 
c245cbd7c887ef5cb63ef4d95a80e6e2eeb23dc8c662be105217ad7185a5310aad4d252bae3443f4f15a5f0e22e23e16870f0366bf0cc165758eedf83e13adac

diff --git a/media-video/pipewire/pipewire-1.0.2.ebuild 
b/media-video/pipewire/pipewire-1.0.2.ebuild
new file mode 100644
index ..1bdcaea902f0
--- /dev/null
+++ b/media-video/pipewire/pipewire-1.0.2.ebuild
@@ -0,0 +1,506 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+# TODO: Maybe get upstream to produce `meson dist` tarballs:
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
+#
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${PIPEWIRE_DOCS_PREBUILT:=1}
+
+PIPEWIRE_DOCS_PREBUILT_DEV=sam
+PIPEWIRE_DOCS_VERSION=$(ver_cut 1-2).0
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+PIPEWIRE_DOCS_USEFLAG="+man"
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !man? ( 
https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz
 )"
+   PIPEWIRE_DOCS_USEFLAG="man"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg 
flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-23 Thread Ionen Wolkens
commit: dc936c54c46560d154a94aed9de83b66fbf4b7c0
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Jan 23 18:39:12 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Jan 24 04:56:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc936c54

media-video/pipewire: Stabilize 1.0.0-r1 ppc, #921086

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

 media-video/pipewire/pipewire-1.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.0-r1.ebuild 
b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
index e8f8f8ce1736..2a642ac6f537 100644
--- a/media-video/pipewire/pipewire-1.0.0-r1.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-18 Thread Sam James
commit: 3e7d826a1a49d21a83ab8ff4858582340b5f4d76
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 18 17:46:54 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 18 17:48:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e7d826a

media-video/pipewire: drop filter-flags for -fno-semantic-interposition

I'd completely forgot about the relationship between this bug and the one
I filed upstream a while ago.

Bug: https://bugs.gentoo.org/838301
Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2526
Signed-off-by: Sam James  gentoo.org>

 media-video/pipewire/pipewire-1.0.1.ebuild | 5 +
 media-video/pipewire/pipewire-.ebuild  | 5 +
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/media-video/pipewire/pipewire-1.0.1.ebuild 
b/media-video/pipewire/pipewire-1.0.1.ebuild
index c814988096fe..1bdcaea902f0 100644
--- a/media-video/pipewire/pipewire-1.0.1.ebuild
+++ b/media-video/pipewire/pipewire-1.0.1.ebuild
@@ -27,7 +27,7 @@ PIPEWIRE_DOCS_VERSION=$(ver_cut 1-2).0
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 PIPEWIRE_DOCS_USEFLAG="+man"
 PYTHON_COMPAT=( python3_{10..12} )
-inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev
 
 if [[ ${PV} ==  ]]; then
PIPEWIRE_DOCS_PREBUILT=0
@@ -193,9 +193,6 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-   # https://bugs.gentoo.org/838301
-   filter-flags -fno-semantic-interposition
-
local emesonargs=(
-Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
 

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 5caf125df36d..1faa8aec874a 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -27,7 +27,7 @@ PIPEWIRE_DOCS_VERSION="${PV}"
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
 PIPEWIRE_DOCS_USEFLAG="+man"
 PYTHON_COMPAT=( python3_{10..12} )
-inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev
 
 if [[ ${PV} ==  ]]; then
PIPEWIRE_DOCS_PREBUILT=0
@@ -193,9 +193,6 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-   # https://bugs.gentoo.org/838301
-   filter-flags -fno-semantic-interposition
-
local emesonargs=(
-Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
 



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-13 Thread Sam James
commit: 5d132b5f0cc6704bcc1a350e489e65e1574c044e
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 13 18:33:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 13 18:33:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d132b5f

media-video/pipewire: add 1.0.1

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

 media-video/pipewire/Manifest  |   1 +
 media-video/pipewire/pipewire-1.0.1.ebuild | 509 +
 2 files changed, 510 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 962eb5372c13..e0a71fac5298 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,3 +1,4 @@
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
 DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
 DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1
+DIST pipewire-1.0.1.tar.bz2 1681917 BLAKE2B 
8d0aacf55e6adf9aee4e5fcb5995939db3f901bfe2b9c43d5690df58a2186c4790b89e53c358a532a95627022ef5ff9b4b97a99acea562d3ceda68ee88dd8bb7
 SHA512 
434ff80ca99aa68553b6b404cb756c3bf11231654f9dde0d4a971dd0876489468df45be9275794746682c73bb03c51e1112e6d9b8aafe12468a4c5b0be16ac4d

diff --git a/media-video/pipewire/pipewire-1.0.1.ebuild 
b/media-video/pipewire/pipewire-1.0.1.ebuild
new file mode 100644
index ..4db92dd55c55
--- /dev/null
+++ b/media-video/pipewire/pipewire-1.0.1.ebuild
@@ -0,0 +1,509 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+# TODO: Maybe get upstream to produce `meson dist` tarballs:
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
+#
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${PIPEWIRE_DOCS_PREBUILT:=1}
+
+PIPEWIRE_DOCS_PREBUILT_DEV=sam
+PIPEWIRE_DOCS_VERSION=$(ver_cut 1-2).0
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+PIPEWIRE_DOCS_USEFLAG="+man"
+PYTHON_COMPAT=( python3_{10..12} )
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !man? ( 
https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz
 )"
+   PIPEWIRE_DOCS_USEFLAG="man"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg 
flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-12 Thread Arthur Zamarin
commit: 5aa6c61486773aa1de74963884642f288aa528bd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 12 08:29:46 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 12 08:29:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa6c614

media-video/pipewire: Stabilize 1.0.0-r1 x86, #921086

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

 media-video/pipewire/pipewire-1.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.0-r1.ebuild 
b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
index 60e55cfeb747..773f17549759 100644
--- a/media-video/pipewire/pipewire-1.0.0-r1.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-11 Thread Sam James
commit: 37b23281424448052588c3a3c0b960b4b43c569a
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 11 12:03:37 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 11 12:03:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37b23281

media-video/pipewire: Stabilize 1.0.0-r1 ppc64, #921086

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

 media-video/pipewire/pipewire-1.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.0-r1.ebuild 
b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
index df0f6c468965..60e55cfeb747 100644
--- a/media-video/pipewire/pipewire-1.0.0-r1.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-11 Thread Sam James
commit: 97cb77bad9ea4e36581dba0e0cdbee33e7bcfe9f
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 11 10:31:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 11 10:31:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cb77ba

media-video/pipewire: Stabilize 1.0.0-r1 arm64, #921086

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

 media-video/pipewire/pipewire-1.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.0-r1.ebuild 
b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
index f1da9a732dbe..5cdb6840511b 100644
--- a/media-video/pipewire/pipewire-1.0.0-r1.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-11 Thread Sam James
commit: cf5227574b97aac07b45535ebb739ed157eb2797
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 11 10:31:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 11 10:31:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf522757

media-video/pipewire: Stabilize 1.0.0-r1 arm, #921086

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

 media-video/pipewire/pipewire-1.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.0-r1.ebuild 
b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
index 5cdb6840511b..df0f6c468965 100644
--- a/media-video/pipewire/pipewire-1.0.0-r1.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2024-01-02 Thread Sam James
commit: 20ac63baba925846679a861ec20a42f50baf0b8d
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan  2 08:12:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan  2 08:12:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ac63ba

media-video/pipewire: Stabilize 1.0.0-r1 amd64, #921086

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

 media-video/pipewire/pipewire-1.0.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/pipewire/pipewire-1.0.0-r1.ebuild 
b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
index 4b5c9b07aa07..f1da9a732dbe 100644
--- a/media-video/pipewire/pipewire-1.0.0-r1.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/

2023-12-30 Thread Conrad Kostecki
commit: d2e9319faebd8b2fda63cb4edc12b0d63be510f0
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri Dec 29 14:08:27 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Dec 31 02:37:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e9319f

media-video/pipewire: remove unused file

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/34533
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../pipewire/files/gentoo-pipewire-launcher.in-r2  | 77 --
 1 file changed, 77 deletions(-)

diff --git a/media-video/pipewire/files/gentoo-pipewire-launcher.in-r2 
b/media-video/pipewire/files/gentoo-pipewire-launcher.in-r2
deleted file mode 100644
index a149b0d326c3..
--- a/media-video/pipewire/files/gentoo-pipewire-launcher.in-r2
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-# PipeWire launcher script for XDG compliant desktops on OpenRC.
-#
-# systemd users are very _STRONGLY_ advised to use the much
-# more reliable and predictable user units instead.
-
-# WARNING: This script assumes being run inside XDG compliant session,
-# which means D-Bus session instance is expected to be correctly set up
-# prior to this script starting. If that is not true, things may break!
-
-DATE_FORMAT='+%Y-%m-%dT%H:%M:%S%Z'
-
-CONF="${XDG_CONFIG_HOME:-${HOME}/.config}/gentoo-pipewire-launcher.conf"
-if [ -f "${CONF}" ]
-then
-. "${CONF}"
-else
-GENTOO_PIPEWIRE_LOG='/dev/null'
-GENTOO_PIPEWIRE_PULSE_LOG='/dev/null'
-GENTOO_WIREPLUMBER_LOG='/dev/null'
-fi
-for L in \
-"${GENTOO_PIPEWIRE_LOG}" \
-"${GENTOO_PIPEWIRE_PULSE_LOG}" \
-"${GENTOO_WIREPLUMBER_LOG}"
-do
-   if [ ! -e "${L}" ]
-   then
-   touch "${L}"
-   fi
-done
-
-restart () {
-echo "Terminating PipeWire processes ..."
-pkill -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1
-pwait -u "${USER}" -x pipewire\|wireplumber
-echo "PipeWire terminated."
-}
-
-if [ "${#}" -gt 0 ]
-then
-if [ "${1}" = 'restart' ]
-then
-   restart
-else
-echo "Unrecognised argument." >&2
-echo "Usage: gentoo-pipewire-launcher [restart]" >&2
-   exit 1
-fi
-fi
-
-if pgrep -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1
-then
-echo "PipeWire already running, exiting." >&2
-echo "(Use 'gentoo-pipewire-launcher restart' to restart PipeWire and 
WirePlumber.)" >&2
-exit 1
-fi
-
-# The core daemon which by itself does probably nothing.
-echo "[$(@GENTOO_PORTAGE_EPREFIX@/bin/date ${DATE_FORMAT})] Starting 
PipeWire." 1>>"${GENTOO_PIPEWIRE_LOG}"
-@GENTOO_PORTAGE_EPREFIX@/usr/bin/pipewire 1>>"${GENTOO_PIPEWIRE_LOG}" 2>&1 &
-
-# The so called pipewire-pulse daemon used for PulseAudio compatibility.
-# Commenting this out will stop the PA proxying daemon from starting,
-# however ALSA (with pipewire-alsa), JACK (with jack-sdk) and PW API using
-# clients will still have access to audio and may end up clashing with
-# non-PW apps over HW control (most notably, /usr/bin/pulseaudio daemon).
-echo "[$(@GENTOO_PORTAGE_EPREFIX@/bin/date ${DATE_FORMAT})] Starting 
PipeWire-Pulse." 1>>"${GENTOO_PIPEWIRE_PULSE_LOG}"
-@GENTOO_PORTAGE_EPREFIX@/usr/bin/pipewire -c pipewire-pulse.conf 
1>>"${GENTOO_PIPEWIRE_PULSE_LOG}" 2>&1 &
-
-# Hack for bug #822498
-sleep 1
-
-# Finally a session manager is required for PipeWire to do anything.
-echo "[$(@GENTOO_PORTAGE_EPREFIX@/bin/date ${DATE_FORMAT})] Starting 
WirePlumber." 1>>"${GENTOO_WIREPLUMBER_LOG}"
-exec @GENTOO_PORTAGE_EPREFIX@/usr/bin/wireplumber 
1>>"${GENTOO_WIREPLUMBER_LOG}" 2>&1



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.77/, media-video/pipewire/

2023-12-27 Thread Sam James
commit: f2060f5f7834e6a29e6fce4e7ae6b6aa4c9e9521
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 28 03:32:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 28 03:32:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2060f5f

media-video/pipewire: drop 0.3.77-r2, 0.3.85

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

 media-video/pipewire/Manifest  |   2 -
 ...st-prevent-crash-stopping-device-provider.patch |  34 --
 .../0.3.77/0002-pulse-prevent-duplicates.patch |  28 --
 media-video/pipewire/pipewire-0.3.77-r2.ebuild | 473 
 media-video/pipewire/pipewire-0.3.85.ebuild| 480 -
 5 files changed, 1017 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index e51ed91f9c38..962eb5372c13 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,5 +1,3 @@
-DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
-DIST pipewire-0.3.85.tar.bz2 1675916 BLAKE2B 
a245ebeebdb283ce920d85a2d877ce27756a5fd5505ca6f4d5df1b83120272dfb1be36233a3b2a2cbe96dcc9fc06fae42198108c4e0dbe866836449b422e320c
 SHA512 
5613b41a98db45305aad8f9a84ef0a11b858815f45c6242bb648630e41a3ae5805bb605a543585b46e60d472086919d64e7d8c396ab6cc126d9889f92320f375
 DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
 DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1

diff --git 
a/media-video/pipewire/files/0.3.77/0001-gst-prevent-crash-stopping-device-provider.patch
 
b/media-video/pipewire/files/0.3.77/0001-gst-prevent-crash-stopping-device-provider.patch
deleted file mode 100644
index 9b6373da1390..
--- 
a/media-video/pipewire/files/0.3.77/0001-gst-prevent-crash-stopping-device-provider.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/140374d2071e6204fded4ca65645d4e9a3dd053e
-https://bugs.webkit.org/show_bug.cgi?id=259735
-
-From 140374d2071e6204fded4ca65645d4e9a3dd053e Mon Sep 17 00:00:00 2001
-From: Philippe Normand 
-Date: Fri, 4 Aug 2023 10:01:07 +0100
-Subject: [PATCH] gst: Prevent a crash when stopping device provider
-
-The provider might fail to connect to the PipeWire core when starting up, so
-when stopping we need to check the core is valid before attempting to acquire a
-mutex on its loop.
 a/src/gst/gstpipewiredeviceprovider.c
-+++ b/src/gst/gstpipewiredeviceprovider.c
-@@ -665,11 +665,16 @@ gst_pipewire_device_provider_stop (GstDeviceProvider * 
provider)
- {
-   GstPipeWireDeviceProvider *self = GST_PIPEWIRE_DEVICE_PROVIDER (provider);
- 
--  pw_thread_loop_lock (self->core->loop);
-+  /* core might be NULL if we failed to connect in _start. */
-+  if (self->core != NULL) {
-+pw_thread_loop_lock (self->core->loop);
-+  }
-   GST_DEBUG_OBJECT (self, "stopping provider");
- 
-   g_clear_pointer ((struct pw_proxy**)>registry, pw_proxy_destroy);
--  pw_thread_loop_unlock (self->core->loop);
-+  if (self->core != NULL) {
-+pw_thread_loop_unlock (self->core->loop);
-+  }
-   g_clear_pointer (>core, gst_pipewire_core_release);
- }
- 
--- 
-GitLab

diff --git 
a/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch 
b/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch
deleted file mode 100644
index 5a0fcde67fed..
--- a/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/820ca90705ae78124958f1b96de3bdc7889c2d1e
-https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3414
-
-From 820ca90705ae78124958f1b96de3bdc7889c2d1e Mon Sep 17 00:00:00 2001
-From: Wim Taymans 
-Date: Tue, 8 Aug 2023 13:01:30 +0200
-Subject: [PATCH] pulse-server: set all change_mask flags when removing
-
-So that the logic to emit events will select sink and source objects.
-
-Fixes #3414

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/1.0.0/, media-video/pipewire/

2023-12-09 Thread Sam James
commit: b46eb64181a50d28f6857949209ab7b12ccf77d8
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  9 18:30:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  9 18:41:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46eb641

media-video/pipewire: backport bell segfault fix

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

 .../files/1.0.0/0002-fix-x11-bell-segfault.patch   | 29 ++
 ...ewire-1.0.0.ebuild => pipewire-1.0.0-r1.ebuild} |  0
 2 files changed, 29 insertions(+)

diff --git a/media-video/pipewire/files/1.0.0/0002-fix-x11-bell-segfault.patch 
b/media-video/pipewire/files/1.0.0/0002-fix-x11-bell-segfault.patch
new file mode 100644
index ..ecf7ded220f4
--- /dev/null
+++ b/media-video/pipewire/files/1.0.0/0002-fix-x11-bell-segfault.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/919133
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3688
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/8ecc61e1177c94e78fa171ee359cfbbd239942bc
+
+From 8ecc61e1177c94e78fa171ee359cfbbd239942bc Mon Sep 17 00:00:00 2001
+From: Wim Taymans 
+Date: Tue, 5 Dec 2023 16:18:30 +0100
+Subject: [PATCH] module-x11-bell: force pulse backend
+
+The libcanberra ALSA backend has some races and causes crashes, we
+should try to not use that one.
+
+Fixes #3688
+--- a/src/modules/module-x11-bell.c
 b/src/modules/module-x11-bell.c
+@@ -104,6 +104,11 @@ static int play_sample(struct impl *impl)
+   res = -EIO;
+   goto exit;
+   }
++  if ((res = ca_context_set_driver(ca, "pulse")) < 0) {
++  pw_log_error("canberra context set backend error: %s", 
ca_strerror(res));
++  res = -EIO;
++  goto exit_destroy;
++  }
+   if ((res = ca_context_open(ca)) < 0) {
+   pw_log_error("canberra context open error: %s", 
ca_strerror(res));
+   res = -EIO;
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-1.0.0.ebuild 
b/media-video/pipewire/pipewire-1.0.0-r1.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-1.0.0.ebuild
rename to media-video/pipewire/pipewire-1.0.0-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-12-05 Thread Arthur Zamarin
commit: da74b5a04e147bcc5867825bdd4f60a1b647ce3d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Dec  5 19:54:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Dec  5 19:54:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da74b5a0

media-video/pipewire: Stabilize 0.3.80 ppc, #914776

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

 media-video/pipewire/pipewire-0.3.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.80.ebuild 
b/media-video/pipewire/pipewire-0.3.80.ebuild
index 258d81dbaec7..ecce48605a64 100644
--- a/media-video/pipewire/pipewire-0.3.80.ebuild
+++ b/media-video/pipewire/pipewire-0.3.80.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-12-04 Thread Sam James
commit: 7b615b66fd28cde92ef0315eac89eec753332af8
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec  4 11:26:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  4 12:37:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b615b66

media-video/pipewire: sync live

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

 media-video/pipewire/pipewire-1.0.0.ebuild | 1 +
 media-video/pipewire/pipewire-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-1.0.0.ebuild 
b/media-video/pipewire/pipewire-1.0.0.ebuild
index ffc1849db73f..4b5c9b07aa07 100644
--- a/media-video/pipewire/pipewire-1.0.0.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0.ebuild
@@ -30,6 +30,7 @@ PYTHON_COMPAT=( python3_{10..12} )
 inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
 
 if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
inherit git-r3
 else

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 7d306ba4bd79..4b5c9b07aa07 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -47,7 +47,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-11-27 Thread Sam James
commit: 19fafc12c2f6cda0d76182788710df8e1cdfbbb1
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 27 23:27:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 27 23:27:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19fafc12

media-video/pipewire: no pre-built docs for 

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

 media-video/pipewire/pipewire-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index d217a185d393..7d306ba4bd79 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -30,6 +30,7 @@ PYTHON_COMPAT=( python3_{10..12} )
 inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
 
 if [[ ${PV} ==  ]]; then
+   PIPEWIRE_DOCS_PREBUILT=0
EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
inherit git-r3
 else



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-11-27 Thread Sam James
commit: 0ea8bb6367f842e3d5a484cd72c836b7cea72ad0
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 27 11:24:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 27 11:24:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ea8bb63

media-video/pipewire: sync live

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

 media-video/pipewire/pipewire-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 5bf02d0ee581..d217a185d393 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -46,7 +46,7 @@ else
PIPEWIRE_DOCS_USEFLAG="man"
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-11-26 Thread Sam James
commit: e3a3c290408257b5fd6730b8066c54a1cc3e1d8c
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 27 01:27:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 27 01:27:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a3c290

media-video/pipewire: fix leftover man line

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

 media-video/pipewire/pipewire-1.0.0.ebuild | 1 -
 media-video/pipewire/pipewire-.ebuild  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/media-video/pipewire/pipewire-1.0.0.ebuild 
b/media-video/pipewire/pipewire-1.0.0.ebuild
index 72c84d9fb328..5bf02d0ee581 100644
--- a/media-video/pipewire/pipewire-1.0.0.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0.ebuild
@@ -203,7 +203,6 @@ multilib_src_configure() {
$(meson_native_use_feature doc docs)
$(meson_native_use_feature man)
$(meson_native_enabled examples) # TODO: Figure out if this is 
still important now that media-session gone
-   $(meson_native_enabled man)
$(meson_feature test tests)
-Dinstalled_tests=disabled # Matches upstream; Gentoo never 
installs tests
$(meson_feature ieee1394 libffado)

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 72c84d9fb328..5bf02d0ee581 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -203,7 +203,6 @@ multilib_src_configure() {
$(meson_native_use_feature doc docs)
$(meson_native_use_feature man)
$(meson_native_enabled examples) # TODO: Figure out if this is 
still important now that media-session gone
-   $(meson_native_enabled man)
$(meson_feature test tests)
-Dinstalled_tests=disabled # Matches upstream; Gentoo never 
installs tests
$(meson_feature ieee1394 libffado)



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/1.0.0/

2023-11-26 Thread Sam James
commit: 740f2103f4637da2421ff3a5bafe0c5085a36678
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 26 23:33:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 26 23:33:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740f2103

media-video/pipewire: fix build w/ USE=-examples

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

 .../1.0.0/0001-fix-compile-with-no-examples.patch  | 59 ++
 1 file changed, 59 insertions(+)

diff --git 
a/media-video/pipewire/files/1.0.0/0001-fix-compile-with-no-examples.patch 
b/media-video/pipewire/files/1.0.0/0001-fix-compile-with-no-examples.patch
new file mode 100644
index ..fee0ac1bc328
--- /dev/null
+++ b/media-video/pipewire/files/1.0.0/0001-fix-compile-with-no-examples.patch
@@ -0,0 +1,59 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3675
+https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1790
+
+From 6b4cdab57a0678e88992fb4e5b216e481b051808 Mon Sep 17 00:00:00 2001
+From: Pauli Virtanen 
+Date: Sun, 26 Nov 2023 18:31:43 +0200
+Subject: [PATCH] meson.build: fix compile with -Dexamples=disabled
+
+--- a/spa/examples/meson.build
 b/spa/examples/meson.build
+@@ -6,6 +6,10 @@ spa_examples = [
+   'local-v4l2',
+ ]
+ 
++if not get_option('examples').allowed()
++  subdir_done()
++endif
++
+ spa_examples_extra_deps = {
+   'local-v4l2': [sdl_dep],
+   'local-libcamera': [sdl_dep, libcamera_dep],
+--- a/spa/meson.build
 b/spa/meson.build
+@@ -113,6 +113,4 @@ endif
+ 
+ subdir('tools')
+ subdir('tests')
+-if get_option('examples').allowed()
+-  subdir('examples')
+-endif
++subdir('examples')
+--- a/src/examples/meson.build
 b/src/examples/meson.build
+@@ -22,6 +22,10 @@ examples = [
+   'local-v4l2',
+ ]
+ 
++if not get_option('examples').allowed()
++  subdir_done()
++endif
++
+ examples_extra_deps = {
+   'video-src-fixate': [drm_dep],
+   'video-play': [sdl_dep],
+--- a/src/meson.build
 b/src/meson.build
+@@ -3,9 +3,7 @@ subdir('pipewire')
+ subdir('daemon')
+ subdir('tools')
+ subdir('modules')
+-if get_option('examples').allowed()
+-  subdir('examples')
+-endif
++subdir('examples')
+ if get_option('tests').allowed()
+   subdir('tests')
+ endif
+-- 
+GitLab



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-11-26 Thread Sam James
commit: 39b8794e59a013d848def9283e8b40e65f8f3cfc
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 26 22:52:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 26 23:18:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b8794e

media-video/pipewire: add 1.0.0

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

 media-video/pipewire/Manifest  |  2 +
 ...{pipewire-.ebuild => pipewire-1.0.0.ebuild} | 51 +-
 media-video/pipewire/pipewire-.ebuild  | 51 +-
 3 files changed, 82 insertions(+), 22 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index e092a0c05d17..e51ed91f9c38 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,3 +1,5 @@
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
 DIST pipewire-0.3.85.tar.bz2 1675916 BLAKE2B 
a245ebeebdb283ce920d85a2d877ce27756a5fd5505ca6f4d5df1b83120272dfb1be36233a3b2a2cbe96dcc9fc06fae42198108c4e0dbe866836449b422e320c
 SHA512 
5613b41a98db45305aad8f9a84ef0a11b858815f45c6242bb648630e41a3ae5805bb605a543585b46e60d472086919d64e7d8c396ab6cc126d9889f92320f375
+DIST pipewire-1.0.0-docs.tar.xz 33632 BLAKE2B 
be06aa7242f7d2f8627b3bf2a2ae491dbda456a24811a767218eb89b1fd5961a461697e5d8ae2782323fdb927985fa4fd5dd40c21268b1c7939f4cd3c9e1a9ab
 SHA512 
14f794c4152d7d9a4a7d9d4d5c2ff381c2a8262deaff034f993c4d28629fca8cc3d71d3a7c02982703e449fae5f58257fea0c20db02bf95b5aed88a4d99d2c58
+DIST pipewire-1.0.0.tar.bz2 1682155 BLAKE2B 
de48de0f486a530ee060acdc6d35e27bf298e195e2c3d21a9444da7459ef02b44d97147b3bd3a820bdf28ebffbee910f77306a28ffb1b12eeaf8ce37f8d97a6f
 SHA512 
8955bd16ba8508d5838e960ae8c089efaeb9dab0c08719baea8f8f8047cd53b84a46b2459ecd7f000f21b0025a52e93f052025e71c07dc4a2aef89237c5c87f1

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-1.0.0.ebuild
similarity index 91%
copy from media-video/pipewire/pipewire-.ebuild
copy to media-video/pipewire/pipewire-1.0.0.ebuild
index 3bcdfec7f60f..72c84d9fb328 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-1.0.0.ebuild
@@ -13,8 +13,20 @@ EAPI=8
 # continue to move quickly. It's not uncommon for fixes to be made shortly
 # after releases.
 
+# TODO: Maybe get upstream to produce `meson dist` tarballs:
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3663
+# - https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1788
+#
+# Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pipewire-docs
+# Set to 1 if prebuilt, 0 if not
+# (the construct below is to allow overriding from env for script)
+: ${PIPEWIRE_DOCS_PREBUILT:=1}
+
+PIPEWIRE_DOCS_PREBUILT_DEV=sam
+PIPEWIRE_DOCS_VERSION="${PV}"
+# Default to generating docs (inc. man pages) if no prebuilt; overridden later
+PIPEWIRE_DOCS_USEFLAG="+man"
 PYTHON_COMPAT=( python3_{10..12} )
-
 inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
 
 if [[ ${PV} ==  ]]; then
@@ -29,7 +41,12 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86"
+   if [[ ${PIPEWIRE_DOCS_PREBUILT} == 1 ]] ; then
+   SRC_URI+=" !man? ( 
https://dev.gentoo.org/~${PIPEWIRE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${PIPEWIRE_DOCS_VERSION}-docs.tar.xz
 )"
+   PIPEWIRE_DOCS_USEFLAG="man"
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~riscv ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"
@@ -38,7 +55,7 @@ HOMEPAGE="https://pipewire.org/;
 LICENSE="MIT LGPL-2.1+ GPL-2"
 # ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
 SLOT="0/0.4"
-IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg 
flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
 IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl 
system-service systemd test v4l X zeroconf"
 
 # Once replacing system JACK libraries is possible, it's likely that
@@ -68,19 +85,26 @@ RESTRICT="!test? ( test )"
 BDEPEND="

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/0.3.75/

2023-11-24 Thread Sam James
commit: a01b0c9af9a439b2f426cd295c8f06613a988ca8
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 05:33:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 05:33:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a01b0c9a

media-video/pipewire: drop 0.3.75-r3

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

 media-video/pipewire/Manifest  |   1 -
 .../0001-module-rt-error-out-on-load-no-bus.patch  |  83 
 ...2-thread-loop-only-signal-when-option-set.patch |  68 ---
 .../0.3.75/0003-missing-include-version.h.patch|  21 -
 media-video/pipewire/pipewire-0.3.75-r3.ebuild | 473 -
 5 files changed, 646 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 26a2e1b43cfc..e092a0c05d17 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,4 +1,3 @@
-DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
 DIST pipewire-0.3.85.tar.bz2 1675916 BLAKE2B 
a245ebeebdb283ce920d85a2d877ce27756a5fd5505ca6f4d5df1b83120272dfb1be36233a3b2a2cbe96dcc9fc06fae42198108c4e0dbe866836449b422e320c
 SHA512 
5613b41a98db45305aad8f9a84ef0a11b858815f45c6242bb648630e41a3ae5805bb605a543585b46e60d472086919d64e7d8c396ab6cc126d9889f92320f375

diff --git 
a/media-video/pipewire/files/0.3.75/0001-module-rt-error-out-on-load-no-bus.patch
 
b/media-video/pipewire/files/0.3.75/0001-module-rt-error-out-on-load-no-bus.patch
deleted file mode 100644
index 8885eb8a564f..
--- 
a/media-video/pipewire/files/0.3.75/0001-module-rt-error-out-on-load-no-bus.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-https://bugs.gentoo.org/910714
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/55812195ce3b77317e7a2dc642b78271f3a45c8e
-
-From 55812195ce3b77317e7a2dc642b78271f3a45c8e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= 
-Date: Sat, 22 Jul 2023 01:20:58 +
-Subject: [PATCH] module-rt: error out on load if no bus is available
-
-Since the recent changes to the RT module in Pipewire 0.3.75, some
-applications such as those using OpenAL-Soft crash on startup if
-neither the session nor the system bus is available. For example:
-
-bwrap --dev-bind / / \
-  --bind /dev/null /run/dbus/system_bus_socket \
-  --bind /dev/null $XDG_RUNTIME_DIR/bus \
-  openal-info
-
-Will result in a crash with the following error message:
-
-dbus[1626147]: arguments to dbus_message_new_method_call() were
-incorrect, assertion "path != NULL" failed in file dbus-message.c
-line 1373.
-This is normally a bug in some application using the D-Bus library.
-
-The RT module previously failed to load if no bus was available, but
-after the recent changes, the init. logic runs in a thread, and failing
-to obtain the bus no longer causes the module to fail to load.
-
-Then, functions called later such as `pw_rtkit_make_realtime` assume
-the bus is available and try to use it, causing the error above.
-
-Put the logic for obtaining and checking the bus back to `module_init`,
-so the module fails to load again if no bus is available.
 a/src/modules/module-rt.c
-+++ b/src/modules/module-rt.c
-@@ -923,14 +923,11 @@ static int check_rtkit(struct impl *impl, struct 
pw_context *context, bool *can_
-   return 0;
- }
- 
--static int do_rtkit_setup(struct spa_loop *loop, bool async, uint32_t seq,
--  const void *data, size_t size, void *user_data)
-+static int rtkit_get_bus(struct impl *impl)
- {
--  struct impl *impl = user_data;
-   int res;
--  long long retval;
- 
--  pw_log_debug("enter rtkit setup");
-+  pw_log_debug("enter rtkit get bus");
- 
-   /* Checking xdg-desktop-portal. It works fine in all situations. */
-   if (impl->rtportal_enabled)
-@@ -967,6 +964,18 @@ static int do_rtkit_setup(struct spa_loop *loop, bool 
async, uint32_t seq,
-   return res;
-   }
-   }
-+
-+  return 0;
-+}
-+
-+static int do_rtkit_setup(struct spa_loop *loop, bool async, uint32_t seq,
-+  const 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.83/, media-video/pipewire/, ...

2023-11-24 Thread Sam James
commit: 6b3417d6ed256b2b31b28b157c14f6296c96c841
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 05:33:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 05:33:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3417d6

media-video/pipewire: drop 0.3.81, 0.3.82-r1, 0.3.83-r1, 0.3.84

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

 media-video/pipewire/Manifest  |   4 -
 ...nore-PCM-devices-with-udev-env-ACP_IGNORE.patch |  69 ---
 ...alsa-don-t-try-to-link-when-prepare-fails.patch |  27 --
 ...3-context-relax-quantum-change-conditions.patch |  37 --
 ...1-stream-improve-queued_buffers-reporting.patch |  53 ---
 ...-module-echo-cancel-playback-source-async.patch |  36 --
 .../0003-alsa-guard-against-null-areas.patch   |  52 ---
 media-video/pipewire/pipewire-0.3.81.ebuild| 475 
 media-video/pipewire/pipewire-0.3.82-r1.ebuild | 477 
 media-video/pipewire/pipewire-0.3.83-r1.ebuild | 477 
 media-video/pipewire/pipewire-0.3.84.ebuild| 480 -
 11 files changed, 2187 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 104cc9709dc7..26a2e1b43cfc 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,8 +1,4 @@
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
-DIST pipewire-0.3.81.tar.bz2 1658240 BLAKE2B 
8c67d6fbc5bc72354562e1628feb09e3baef3fd38be70bde24b145a6d57fe3a90b3bc466d4289be16fa36d936966d7d3e68759c38a7cd1383bd04b4f2a173687
 SHA512 
2366819d6ddad80d0db47aacc81c25c12bc69f4bd337b296bd9e8b417dd30c5e65b86d9cbb700f9aca0c464bcd2738284ee07f45f1cf68962ada9cf37799ebc7
-DIST pipewire-0.3.82.tar.bz2 1661085 BLAKE2B 
444cc55a7d1904f89527675fea3066ea782496da43ba0adf50976558e8ecf944fc4f0541c2f84730ee2f832435acd141474afd36e598ecec4fa0f92a3df0ad71
 SHA512 
3fd6203274367f2c081be6a079d096b86e3b43ce7d2f220007d6186c1d17c9ab44d79282612ee92808bc3a7741e43f5533267d63b11b33c1b2e77dc63fb9a4f7
-DIST pipewire-0.3.83.tar.bz2 1663247 BLAKE2B 
da62ad157d3475e3832ee2bff12aa4f33b4e585c409d9b6cfd8f31a6b275f93821eba5243e6e9fa9d75cd4162456e42ab51d5973c31ed6814e79906162b7765a
 SHA512 
87bab649e6e790bc484d7bd9bccf0a0808f3dc6495aae6455ea1e5db8d69cac5ad2adb48be8c1d03e3ea17592c8790930924d93360373f7d1dba045109d8640b
-DIST pipewire-0.3.84.tar.bz2 1668013 BLAKE2B 
5dbb24c565f5b3b58725c13ce8701b1f7abecb6404beffebd8a8a4a657d3b3a8392865a201d8f96766006092f66af4914913f99ba883f7b95615e3fc1baf50c1
 SHA512 
fa5b22de595a16e0b891b6944e494fd6b574ac0e99936f68970fd7bb82aeb351a87dd093d2182984b2c071a14e4747d46f3d03873e5e9ff51ee01936e6d7fd29
 DIST pipewire-0.3.85.tar.bz2 1675916 BLAKE2B 
a245ebeebdb283ce920d85a2d877ce27756a5fd5505ca6f4d5df1b83120272dfb1be36233a3b2a2cbe96dcc9fc06fae42198108c4e0dbe866836449b422e320c
 SHA512 
5613b41a98db45305aad8f9a84ef0a11b858815f45c6242bb648630e41a3ae5805bb605a543585b46e60d472086919d64e7d8c396ab6cc126d9889f92320f375

diff --git 
a/media-video/pipewire/files/0.3.82/0001-alsa-Ignore-PCM-devices-with-udev-env-ACP_IGNORE.patch
 
b/media-video/pipewire/files/0.3.82/0001-alsa-Ignore-PCM-devices-with-udev-env-ACP_IGNORE.patch
deleted file mode 100644
index 12192fc8678a..
--- 
a/media-video/pipewire/files/0.3.82/0001-alsa-Ignore-PCM-devices-with-udev-env-ACP_IGNORE.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/fd969dab2878836fd8e9ac7d8fb92d1ede594f37
-
-From fd969dab2878836fd8e9ac7d8fb92d1ede594f37 Mon Sep 17 00:00:00 2001
-From: Hector Martin 
-Date: Sat, 14 Oct 2023 14:11:15 +0900
-Subject: [PATCH] alsa: Ignore PCM devices with udev env ACP_IGNORE
-
-When checking that a card has all of its PCM devices available, ignore
-any specific device with the ACP_IGNORE udev environment variable. This
-mirrors how we ignore whole cards, but specifically allows non-PipeWire
-software to own specific PCM devices.
-
-Note that this does not actually stop PipeWire from using those
-subdevices right now, we assume UCM configs take care of that. This
-should 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-11-17 Thread Sam James
commit: b8c3fcc004ec09bb916281711a6b3d82c2a64737
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 17 11:51:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 17 11:51:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c3fcc0

media-video/pipewire: add 0.3.85

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

 media-video/pipewire/Manifest | 1 +
 media-video/pipewire/{pipewire-.ebuild => pipewire-0.3.85.ebuild} | 4 ++--
 media-video/pipewire/pipewire-.ebuild | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 91c9d9f7c1ed..104cc9709dc7 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -5,3 +5,4 @@ DIST pipewire-0.3.81.tar.bz2 1658240 BLAKE2B 
8c67d6fbc5bc72354562e1628feb09e3bae
 DIST pipewire-0.3.82.tar.bz2 1661085 BLAKE2B 
444cc55a7d1904f89527675fea3066ea782496da43ba0adf50976558e8ecf944fc4f0541c2f84730ee2f832435acd141474afd36e598ecec4fa0f92a3df0ad71
 SHA512 
3fd6203274367f2c081be6a079d096b86e3b43ce7d2f220007d6186c1d17c9ab44d79282612ee92808bc3a7741e43f5533267d63b11b33c1b2e77dc63fb9a4f7
 DIST pipewire-0.3.83.tar.bz2 1663247 BLAKE2B 
da62ad157d3475e3832ee2bff12aa4f33b4e585c409d9b6cfd8f31a6b275f93821eba5243e6e9fa9d75cd4162456e42ab51d5973c31ed6814e79906162b7765a
 SHA512 
87bab649e6e790bc484d7bd9bccf0a0808f3dc6495aae6455ea1e5db8d69cac5ad2adb48be8c1d03e3ea17592c8790930924d93360373f7d1dba045109d8640b
 DIST pipewire-0.3.84.tar.bz2 1668013 BLAKE2B 
5dbb24c565f5b3b58725c13ce8701b1f7abecb6404beffebd8a8a4a657d3b3a8392865a201d8f96766006092f66af4914913f99ba883f7b95615e3fc1baf50c1
 SHA512 
fa5b22de595a16e0b891b6944e494fd6b574ac0e99936f68970fd7bb82aeb351a87dd093d2182984b2c071a14e4747d46f3d03873e5e9ff51ee01936e6d7fd29
+DIST pipewire-0.3.85.tar.bz2 1675916 BLAKE2B 
a245ebeebdb283ce920d85a2d877ce27756a5fd5505ca6f4d5df1b83120272dfb1be36233a3b2a2cbe96dcc9fc06fae42198108c4e0dbe866836449b422e320c
 SHA512 
5613b41a98db45305aad8f9a84ef0a11b858815f45c6242bb648630e41a3ae5805bb605a543585b46e60d472086919d64e7d8c396ab6cc126d9889f92320f375

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-0.3.85.ebuild
similarity index 99%
copy from media-video/pipewire/pipewire-.ebuild
copy to media-video/pipewire/pipewire-0.3.85.ebuild
index bfe61a6db309..3bcdfec7f60f 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-0.3.85.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"
@@ -84,7 +84,7 @@ BDEPEND="
 RDEPEND="
acct-group/audio
acct-group/pipewire
-   media-libs/alsa-lib
+   media-libs/alsa-lib[${MULTILIB_USEDEP}]
sys-libs/ncurses:=[unicode(+)]
virtual/libintl[${MULTILIB_USEDEP}]
virtual/libudev[${MULTILIB_USEDEP}]

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index bfe61a6db309..3bcdfec7f60f 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"
@@ -84,7 +84,7 @@ BDEPEND="
 RDEPEND="
acct-group/audio
acct-group/pipewire
-   media-libs/alsa-lib
+   media-libs/alsa-lib[${MULTILIB_USEDEP}]
sys-libs/ncurses:=[unicode(+)]
virtual/libintl[${MULTILIB_USEDEP}]
virtual/libudev[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-11-03 Thread Sam James
commit: 963c83c7699485d23d85367207fc99578cb3cf1c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov  3 15:32:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov  3 15:32:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=963c83c7

media-video/pipewire: add 0.3.84

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

 media-video/pipewire/Manifest| 1 +
 .../pipewire/{pipewire-.ebuild => pipewire-0.3.84.ebuild}| 9 ++---
 media-video/pipewire/pipewire-.ebuild| 7 +--
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index c1248df12179..91c9d9f7c1ed 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -4,3 +4,4 @@ DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f
 DIST pipewire-0.3.81.tar.bz2 1658240 BLAKE2B 
8c67d6fbc5bc72354562e1628feb09e3baef3fd38be70bde24b145a6d57fe3a90b3bc466d4289be16fa36d936966d7d3e68759c38a7cd1383bd04b4f2a173687
 SHA512 
2366819d6ddad80d0db47aacc81c25c12bc69f4bd337b296bd9e8b417dd30c5e65b86d9cbb700f9aca0c464bcd2738284ee07f45f1cf68962ada9cf37799ebc7
 DIST pipewire-0.3.82.tar.bz2 1661085 BLAKE2B 
444cc55a7d1904f89527675fea3066ea782496da43ba0adf50976558e8ecf944fc4f0541c2f84730ee2f832435acd141474afd36e598ecec4fa0f92a3df0ad71
 SHA512 
3fd6203274367f2c081be6a079d096b86e3b43ce7d2f220007d6186c1d17c9ab44d79282612ee92808bc3a7741e43f5533267d63b11b33c1b2e77dc63fb9a4f7
 DIST pipewire-0.3.83.tar.bz2 1663247 BLAKE2B 
da62ad157d3475e3832ee2bff12aa4f33b4e585c409d9b6cfd8f31a6b275f93821eba5243e6e9fa9d75cd4162456e42ab51d5973c31ed6814e79906162b7765a
 SHA512 
87bab649e6e790bc484d7bd9bccf0a0808f3dc6495aae6455ea1e5db8d69cac5ad2adb48be8c1d03e3ea17592c8790930924d93360373f7d1dba045109d8640b
+DIST pipewire-0.3.84.tar.bz2 1668013 BLAKE2B 
5dbb24c565f5b3b58725c13ce8701b1f7abecb6404beffebd8a8a4a657d3b3a8392865a201d8f96766006092f66af4914913f99ba883f7b95615e3fc1baf50c1
 SHA512 
fa5b22de595a16e0b891b6944e494fd6b574ac0e99936f68970fd7bb82aeb351a87dd093d2182984b2c071a14e4747d46f3d03873e5e9ff51ee01936e6d7fd29

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-0.3.84.ebuild
similarity index 98%
copy from media-video/pipewire/pipewire-.ebuild
copy to media-video/pipewire/pipewire-0.3.84.ebuild
index 96ac98602cae..7f068b8fd4ea 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-0.3.84.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"
@@ -76,8 +76,11 @@ BDEPEND="
media-gfx/graphviz
)
 "
-# While udev could technically be optional, it's needed for a numebr of 
options,
+# * While udev could technically be optional, it's needed for a number of 
options,
 # and not really worth it, bug #877769.
+#
+# * Supports both legacy webrtc-audio-processing:0 and new 
webrtc-audio-processing:1.
+# We depend on :1 as it prefers that, it's not legacy, and to avoid automagic.
 RDEPEND="
acct-group/audio
acct-group/pipewire
@@ -96,7 +99,7 @@ RDEPEND="
virtual/libusb:1
)
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-   echo-cancel? ( media-libs/webrtc-audio-processing:0 )
+   echo-cancel? ( media-libs/webrtc-audio-processing:1 )
extra? ( >=media-libs/libsndfile-1.0.20 )
ffmpeg? ( media-video/ffmpeg:= )
flatpak? ( dev-libs/glib )

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 96ac98602cae..bfe61a6db309 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -76,8 +76,11 @@ BDEPEND="
media-gfx/graphviz
)
 "
-# While udev could technically be optional, it's needed for a numebr of 
options,
+# * While udev could technically be optional, it's needed for a number of 
options,
 # and not really worth it, bug #877769.
+#
+# * Supports both legacy webrtc-audio-processing:0 and new 
webrtc-audio-processing:1.
+# We depend on :1 as it prefers that, it's not legacy, and to avoid automagic.
 RDEPEND="
acct-group/audio
acct-group/pipewire
@@ -96,7 +99,7 @@ RDEPEND="
virtual/libusb:1
)
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-   echo-cancel? ( media-libs/webrtc-audio-processing:0 )
+   echo-cancel? ( media-libs/webrtc-audio-processing:1 )
extra? ( >=media-libs/libsndfile-1.0.20 )
ffmpeg? ( media-video/ffmpeg:= )
flatpak? ( dev-libs/glib )



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.83/, media-video/pipewire/

2023-10-24 Thread Sam James
commit: e78e092c510e751cab6bf1ea1a1d0b7c145c0be0
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 25 01:30:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 25 01:31:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78e092c

media-video/pipewire: backport recommended upstream patches to 0.3.83

Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3592
Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3593
Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3600
Signed-off-by: Sam James  gentoo.org>

 ...1-stream-improve-queued_buffers-reporting.patch | 53 ++
 ...-module-echo-cancel-playback-source-async.patch | 36 +++
 .../0003-alsa-guard-against-null-areas.patch   | 52 +
 ...ire-0.3.83.ebuild => pipewire-0.3.83-r1.ebuild} |  0
 4 files changed, 141 insertions(+)

diff --git 
a/media-video/pipewire/files/0.3.83/0001-stream-improve-queued_buffers-reporting.patch
 
b/media-video/pipewire/files/0.3.83/0001-stream-improve-queued_buffers-reporting.patch
new file mode 100644
index ..029a7930a60e
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.83/0001-stream-improve-queued_buffers-reporting.patch
@@ -0,0 +1,53 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3592
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/3d8c7c40b5cc16eaf7bd1fb72c17783ce42e2d0e
+
+From 3d8c7c40b5cc16eaf7bd1fb72c17783ce42e2d0e Mon Sep 17 00:00:00 2001
+From: Wim Taymans 
+Date: Fri, 20 Oct 2023 09:57:52 +0200
+Subject: [PATCH] stream: improve queued_buffers reporting
+
+Also add the queued buffers in the converter to the pw_time.queued_buffers
+field. This means that queued_buffers + avail_buffers always equal the
+total amount of allocated buffers, which makes more sense.
+
+Fixes #3592
+--- a/src/pipewire/stream.c
 b/src/pipewire/stream.c
+@@ -2340,6 +2340,7 @@ int pw_stream_get_time_n(struct pw_stream *stream, 
struct pw_time *time, size_t
+   struct stream *impl = SPA_CONTAINER_OF(stream, struct stream, this);
+   uintptr_t seq1, seq2;
+   uint32_t buffered, quantum, index;
++  int32_t avail_buffers;
+ 
+   do {
+   seq1 = SPA_SEQ_READ(impl->seq);
+@@ -2358,19 +2359,23 @@ int pw_stream_get_time_n(struct pw_stream *stream, 
struct pw_time *time, size_t
+   time->delay += (impl->latency.min_rate + impl->latency.max_rate) / 2;
+   time->delay += ((impl->latency.min_ns + impl->latency.max_ns) / 2) * 
time->rate.denom / SPA_NSEC_PER_SEC;
+ 
++  avail_buffers = spa_ringbuffer_get_read_index(>dequeued.ring, 
);
++  avail_buffers = SPA_CLAMP(avail_buffers, 0, (int32_t)impl->n_buffers);
++
+   if (size >= offsetof(struct pw_time, queued_buffers))
+   time->buffered = buffered;
+   if (size >= offsetof(struct pw_time, avail_buffers))
+-  time->queued_buffers = 
spa_ringbuffer_get_read_index(>queued.ring, );
++  time->queued_buffers = impl->n_buffers - avail_buffers;
+   if (size >= sizeof(struct pw_time))
+-  time->avail_buffers = 
spa_ringbuffer_get_read_index(>dequeued.ring, );
++  time->avail_buffers = avail_buffers;
+ 
+   pw_log_trace_fp("%p: %"PRIi64" %"PRIi64" %"PRIu64" %d/%d %"PRIu64" %"
+-  PRIu64" %"PRIu64" %"PRIu64" %"PRIu64, stream,
++  PRIu64" %"PRIu64" %"PRIu64" %"PRIu64" %d/%d", stream,
+   time->now, time->delay, time->ticks,
+   time->rate.num, time->rate.denom, time->queued,
+   impl->dequeued.outcount, impl->dequeued.incount,
+-  impl->queued.outcount, impl->queued.incount);
++  impl->queued.outcount, impl->queued.incount,
++  avail_buffers, impl->n_buffers);
+   return 0;
+ }
+ 
+-- 
+GitLab

diff --git 
a/media-video/pipewire/files/0.3.83/0002-module-echo-cancel-playback-source-async.patch
 
b/media-video/pipewire/files/0.3.83/0002-module-echo-cancel-playback-source-async.patch
new file mode 100644
index ..ee96f949a2bb
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.83/0002-module-echo-cancel-playback-source-async.patch
@@ -0,0 +1,36 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3593
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/93d5848031cd9101d830fb4c37c5a7404ac5f276
+
+From 93d5848031cd9101d830fb4c37c5a7404ac5f276 Mon Sep 17 00:00:00 2001
+From: Wim Taymans 
+Date: Sat, 21 Oct 2023 09:27:43 +0200
+Subject: [PATCH] module-echo-cancel: playback and source are async
+
+The playback and source streams don't dequeue/queue buffers from
+the process function and so need to be marked async.
+
+Fixes #3593
+--- a/src/modules/module-echo-cancel.c
 b/src/modules/module-echo-cancel.c
+@@ -1002,7 +1002,8 @@ static int setup_streams(struct impl *impl)
+   PW_DIRECTION_OUTPUT,
+   

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-10-19 Thread Sam James
commit: b43edb0f3e5ab82a1ed71fda04fb7d3b067db9d4
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 19 13:44:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 19 14:57:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b43edb0f

media-video/pipewire: add 0.3.83

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

 media-video/pipewire/Manifest   |   1 +
 media-video/pipewire/pipewire-0.3.83.ebuild | 477 
 2 files changed, 478 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 700678bd25a7..c1248df12179 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -3,3 +3,4 @@ DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1ee
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
 DIST pipewire-0.3.81.tar.bz2 1658240 BLAKE2B 
8c67d6fbc5bc72354562e1628feb09e3baef3fd38be70bde24b145a6d57fe3a90b3bc466d4289be16fa36d936966d7d3e68759c38a7cd1383bd04b4f2a173687
 SHA512 
2366819d6ddad80d0db47aacc81c25c12bc69f4bd337b296bd9e8b417dd30c5e65b86d9cbb700f9aca0c464bcd2738284ee07f45f1cf68962ada9cf37799ebc7
 DIST pipewire-0.3.82.tar.bz2 1661085 BLAKE2B 
444cc55a7d1904f89527675fea3066ea782496da43ba0adf50976558e8ecf944fc4f0541c2f84730ee2f832435acd141474afd36e598ecec4fa0f92a3df0ad71
 SHA512 
3fd6203274367f2c081be6a079d096b86e3b43ce7d2f220007d6186c1d17c9ab44d79282612ee92808bc3a7741e43f5533267d63b11b33c1b2e77dc63fb9a4f7
+DIST pipewire-0.3.83.tar.bz2 1663247 BLAKE2B 
da62ad157d3475e3832ee2bff12aa4f33b4e585c409d9b6cfd8f31a6b275f93821eba5243e6e9fa9d75cd4162456e42ab51d5973c31ed6814e79906162b7765a
 SHA512 
87bab649e6e790bc484d7bd9bccf0a0808f3dc6495aae6455ea1e5db8d69cac5ad2adb48be8c1d03e3ea17592c8790930924d93360373f7d1dba045109d8640b

diff --git a/media-video/pipewire/pipewire-0.3.83.ebuild 
b/media-video/pipewire/pipewire-0.3.83.ebuild
new file mode 100644
index ..96ac98602cae
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.83.ebuild
@@ -0,0 +1,477 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl 
system-service systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
+#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/0.3.82/

2023-10-18 Thread Sam James
commit: 36f2827dbaa21b512ad6df48a1bdebe467482b22
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 18 18:24:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 18 18:24:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f2827d

media-video/pipewire: backport upstream fixes to 0.3.82

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

 ...nore-PCM-devices-with-udev-env-ACP_IGNORE.patch | 69 ++
 ...alsa-don-t-try-to-link-when-prepare-fails.patch | 27 +
 ...3-context-relax-quantum-change-conditions.patch | 37 
 ...ire-0.3.82.ebuild => pipewire-0.3.82-r1.ebuild} |  0
 4 files changed, 133 insertions(+)

diff --git 
a/media-video/pipewire/files/0.3.82/0001-alsa-Ignore-PCM-devices-with-udev-env-ACP_IGNORE.patch
 
b/media-video/pipewire/files/0.3.82/0001-alsa-Ignore-PCM-devices-with-udev-env-ACP_IGNORE.patch
new file mode 100644
index ..12192fc8678a
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.82/0001-alsa-Ignore-PCM-devices-with-udev-env-ACP_IGNORE.patch
@@ -0,0 +1,69 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/fd969dab2878836fd8e9ac7d8fb92d1ede594f37
+
+From fd969dab2878836fd8e9ac7d8fb92d1ede594f37 Mon Sep 17 00:00:00 2001
+From: Hector Martin 
+Date: Sat, 14 Oct 2023 14:11:15 +0900
+Subject: [PATCH] alsa: Ignore PCM devices with udev env ACP_IGNORE
+
+When checking that a card has all of its PCM devices available, ignore
+any specific device with the ACP_IGNORE udev environment variable. This
+mirrors how we ignore whole cards, but specifically allows non-PipeWire
+software to own specific PCM devices.
+
+Note that this does not actually stop PipeWire from using those
+subdevices right now, we assume UCM configs take care of that. This
+should probably be implemented later to ensure PipeWire always stays
+away from them, but for now this fixes the issue where it refuses to
+probe the entire card.
+
+Fixes: #3570
+
+Signed-off-by: Hector Martin 
+---
+ spa/plugins/alsa/alsa-udev.c | 24 
+ 1 file changed, 24 insertions(+)
+
+diff --git a/spa/plugins/alsa/alsa-udev.c b/spa/plugins/alsa/alsa-udev.c
+index 3048d7363..58ff5032d 100644
+--- a/spa/plugins/alsa/alsa-udev.c
 b/spa/plugins/alsa/alsa-udev.c
+@@ -329,6 +329,27 @@ static int get_num_compress_offload_devices(unsigned int 
card_nr)
+   return errno != 0 ? -errno : num_dev;
+ }
+ 
++static int check_udev_environment(struct udev *udev, const char *devname)
++{
++  char path[PATH_MAX];
++  struct udev_device *dev;
++  int ret = 0;
++
++  /* Check for ACP_IGNORE on a specific PCM device (not the whole card) */
++  spa_scnprintf(path, sizeof(path), "/sys/class/sound/%s", devname);
++
++  dev = udev_device_new_from_syspath(udev, path);
++  if (dev == NULL)
++  return 0;
++
++  if (udev_device_get_property_value(dev, "ACP_IGNORE"))
++  ret = -ENXIO;
++
++  udev_device_unref(dev);
++
++  return ret;
++}
++
+ static int check_pcm_device_availability(struct impl *this, struct card *card,
+  int *num_pcm_devices)
+ {
+@@ -376,6 +397,9 @@ static int check_pcm_device_availability(struct impl 
*this, struct card *card,
+   card->card_nr, entry->d_name+3);
+   if (check_device_pcm_class(path) < 0)
+   continue;
++  /* Check udev environment */
++  if (check_udev_environment(this->udev, path) < 0)
++  continue;
+ 
+   /* Check busy status */
+   spa_scnprintf(path, sizeof(path), "/proc/asound/card%u/%s",
+-- 
+GitLab

diff --git 
a/media-video/pipewire/files/0.3.82/0002-alsa-don-t-try-to-link-when-prepare-fails.patch
 
b/media-video/pipewire/files/0.3.82/0002-alsa-don-t-try-to-link-when-prepare-fails.patch
new file mode 100644
index ..c24b63036315
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.82/0002-alsa-don-t-try-to-link-when-prepare-fails.patch
@@ -0,0 +1,27 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/840a9487a404916b18bf945662720e8a6d5b3716
+
+From 840a9487a404916b18bf945662720e8a6d5b3716 Mon Sep 17 00:00:00 2001
+From: Wim Taymans 
+Date: Mon, 16 Oct 2023 10:32:51 +0200
+Subject: [PATCH] alsa: don't try to link when prepare fails
+
+---
+ spa/plugins/alsa/alsa-pcm.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c
+index fbd67cf86..df40ea9e5 100644
+--- a/spa/plugins/alsa/alsa-pcm.c
 b/spa/plugins/alsa/alsa-pcm.c
+@@ -3042,7 +3042,8 @@ int spa_alsa_prepare(struct state *state)
+ 
+   spa_list_for_each(follower, >followers, driver_link) {
+   if (follower != state && !follower->matching) {
+-  spa_alsa_prepare(follower);
++  if (spa_alsa_prepare(follower) < 0)
++  continue;
+  

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-10-13 Thread Sam James
commit: 1c52291ff0e7be4b48c886d1916f43037e7d5ecf
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 13 09:50:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 13 09:50:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c52291f

media-video/pipewire: add 0.3.82

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

 media-video/pipewire/Manifest | 1 +
 media-video/pipewire/{pipewire-.ebuild => pipewire-0.3.82.ebuild} | 4 +++-
 media-video/pipewire/pipewire-.ebuild | 4 +++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 90ca4964d842..700678bd25a7 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -2,3 +2,4 @@ DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9c
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
 DIST pipewire-0.3.81.tar.bz2 1658240 BLAKE2B 
8c67d6fbc5bc72354562e1628feb09e3baef3fd38be70bde24b145a6d57fe3a90b3bc466d4289be16fa36d936966d7d3e68759c38a7cd1383bd04b4f2a173687
 SHA512 
2366819d6ddad80d0db47aacc81c25c12bc69f4bd337b296bd9e8b417dd30c5e65b86d9cbb700f9aca0c464bcd2738284ee07f45f1cf68962ada9cf37799ebc7
+DIST pipewire-0.3.82.tar.bz2 1661085 BLAKE2B 
444cc55a7d1904f89527675fea3066ea782496da43ba0adf50976558e8ecf944fc4f0541c2f84730ee2f832435acd141474afd36e598ecec4fa0f92a3df0ad71
 SHA512 
3fd6203274367f2c081be6a079d096b86e3b43ce7d2f220007d6186c1d17c9ab44d79282612ee92808bc3a7741e43f5533267d63b11b33c1b2e77dc63fb9a4f7

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-0.3.82.ebuild
similarity index 99%
copy from media-video/pipewire/pipewire-.ebuild
copy to media-video/pipewire/pipewire-0.3.82.ebuild
index 7a471fb632bf..96ac98602cae 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-0.3.82.ebuild
@@ -39,7 +39,7 @@ LICENSE="MIT LGPL-2.1+ GPL-2"
 # ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
 SLOT="0/0.4"
 IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
-IUSE+=" modemmanager pipewire-alsa readline roc sound-server ssl 
system-service systemd test v4l X zeroconf"
+IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl 
system-service systemd test v4l X zeroconf"
 
 # Once replacing system JACK libraries is possible, it's likely that
 # jack-client IUSE will need blocking to avoid users accidentally
@@ -119,6 +119,7 @@ RDEPEND="
sound-server? ( !media-sound/pulseaudio-daemon )
roc? ( media-libs/roc-toolkit )
readline? ( sys-libs/readline:= )
+   selinux? ( sys-libs/libselinux )
ssl? ( dev-libs/openssl:= )
systemd? ( sys-apps/systemd )
system-service? ( acct-user/pipewire )
@@ -189,6 +190,7 @@ multilib_src_configure() {
 
$(meson_native_use_feature systemd systemd-user-service)
$(meson_feature pipewire-alsa) # Allows integrating ALSA apps 
into PW graph
+   $(meson_feature selinux)
-Dspa-plugins=enabled
-Dalsa=enabled # Allows using kernel ALSA for sound I/O (NOTE: 
media-session is gone so IUSE=alsa/spa_alsa/alsa-backend might be possible)
-Dcompress-offload=disabled # TODO: tinycompress unpackaged

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 7a471fb632bf..96ac98602cae 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -39,7 +39,7 @@ LICENSE="MIT LGPL-2.1+ GPL-2"
 # ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
 SLOT="0/0.4"
 IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
-IUSE+=" modemmanager pipewire-alsa readline roc sound-server ssl 
system-service systemd test v4l X zeroconf"
+IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl 
system-service systemd test v4l X zeroconf"
 
 # Once replacing system JACK libraries is possible, it's likely that
 # jack-client IUSE will need blocking to avoid users accidentally
@@ -119,6 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-10-06 Thread Sam James
commit: f54617119919ce1cbed3ffa1caaab6f4f6b79617
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct  6 12:04:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 12:04:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5461711

media-video/pipewire: add 0.3.81

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

 media-video/pipewire/Manifest   |   1 +
 media-video/pipewire/pipewire-0.3.81.ebuild | 475 
 2 files changed, 476 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 4b4d95a210e9..90ca4964d842 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,3 +1,4 @@
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2
+DIST pipewire-0.3.81.tar.bz2 1658240 BLAKE2B 
8c67d6fbc5bc72354562e1628feb09e3baef3fd38be70bde24b145a6d57fe3a90b3bc466d4289be16fa36d936966d7d3e68759c38a7cd1383bd04b4f2a173687
 SHA512 
2366819d6ddad80d0db47aacc81c25c12bc69f4bd337b296bd9e8b417dd30c5e65b86d9cbb700f9aca0c464bcd2738284ee07f45f1cf68962ada9cf37799ebc7

diff --git a/media-video/pipewire/pipewire-0.3.81.ebuild 
b/media-video/pipewire/pipewire-0.3.81.ebuild
new file mode 100644
index ..7a471fb632bf
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.81.ebuild
@@ -0,0 +1,475 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline roc sound-server ssl 
system-service systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
+#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled unconditionally.
+# - ffmpeg is only used for pw-cat. We don't build the spa plugin which 
receives 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.79/, media-video/pipewire/

2023-10-04 Thread Sam James
commit: 6b76c8bb320ace22a2121ecbc6de849e2bd20583
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct  4 09:04:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  4 09:04:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b76c8bb

media-video/pipewire: drop 0.3.78-r1, 0.3.79-r1, 0.3.79-r2, 0.3.79-r3

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

 media-video/pipewire/Manifest  |   2 -
 .../0001-meson-better-check-dlopen-dir.patch   |  33 --
 .../0.3.79/0002-alsa-non-portable-isinf-use.patch  |  30 --
 media-video/pipewire/pipewire-0.3.78-r1.ebuild | 473 
 media-video/pipewire/pipewire-0.3.79-r1.ebuild | 473 
 media-video/pipewire/pipewire-0.3.79-r2.ebuild | 475 -
 media-video/pipewire/pipewire-0.3.79-r3.ebuild | 475 -
 7 files changed, 1961 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 2b9157523e57..4b4d95a210e9 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,5 +1,3 @@
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
-DIST pipewire-0.3.78.tar.bz2 1643536 BLAKE2B 
44e04486850b0c68cea42ef911eaffae4c22bdedeff0783c119409d2e8d528c165f1f46f0a0e8b63e1c46cf8535b52b79291b54dd61496c6275c6e41f9d71edd
 SHA512 
2fe0113eaaba1ffe67d20cf10b9ee927cb2bfc7c2663937b131f479d35ca6af43b5659cf8a16db849ecc5881e47a56507e775aad06e9765a3ab8ec354636f8eb
-DIST pipewire-0.3.79.tar.bz2 1647590 BLAKE2B 
dd7c88219310c77fd5b64cbfa4ab8130d81c47ff3a35c03ecfd260bc1e7e24fb108b5100bdbc977e3cd8e74ccfe90c11310b195e804a7fe04a64e1d1637c7233
 SHA512 
5853d4d9d0c21265e0fc0fd68369530d76ae63bad1aa28f6eaa4a0f76e5c939ffc0dee2d81fdf0526da3473f69bddcdb77938597ad004abe04c842d798409b1d
 DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2

diff --git 
a/media-video/pipewire/files/0.3.79/0001-meson-better-check-dlopen-dir.patch 
b/media-video/pipewire/files/0.3.79/0001-meson-better-check-dlopen-dir.patch
deleted file mode 100644
index 1bcddd4277cb..
--- a/media-video/pipewire/files/0.3.79/0001-meson-better-check-dlopen-dir.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/9f7d960c66a2d5732958ee29934c7aef6decc0cb
-
-From 9f7d960c66a2d5732958ee29934c7aef6decc0cb Mon Sep 17 00:00:00 2001
-From: q66 
-Date: Thu, 31 Aug 2023 03:42:40 +0200
-Subject: [PATCH] meson: better check for module dlopen dir
-
-The ${LIB} token is a glibc extension, so it is incorrect to
-use it on all Linux. Doing so will break e.g. with musl libc.
 a/meson.build
-+++ b/meson.build
-@@ -49,7 +49,9 @@ pipewire_configdir = pipewire_sysconfdir / 'pipewire'
- pipewire_confdatadir = pipewire_datadir / 'pipewire'
- modules_install_dir = pipewire_libdir / pipewire_name
- 
--if host_machine.system() == 'linux'
-+cc = meson.get_compiler('c')
-+
-+if cc.has_header('features.h') and cc.get_define('__GLIBC__', prefix: 
'#include ') != ''
-   # glibc ld.so interprets ${LIB} in a library loading path with an
-   # appropriate value for the current architecture, typically something
-   # like lib, lib64 or lib/x86_64-linux-gnu.
-@@ -72,8 +74,6 @@ pipewire_headers_dir = pipewire_name / 'pipewire'
- 
- pkgconfig = import('pkgconfig')
- 
--cc = meson.get_compiler('c')
--
- common_flags = [
-   '-fvisibility=hidden',
-   '-fno-strict-aliasing',
--- 
-GitLab

diff --git 
a/media-video/pipewire/files/0.3.79/0002-alsa-non-portable-isinf-use.patch 
b/media-video/pipewire/files/0.3.79/0002-alsa-non-portable-isinf-use.patch
deleted file mode 100644
index 767c399bd515..
--- a/media-video/pipewire/files/0.3.79/0002-alsa-non-portable-isinf-use.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/aa11dbe10c0f2319a5c4c8dcfff1d5dccc03589e
-
-From aa11dbe10c0f2319a5c4c8dcfff1d5dccc03589e Mon Sep 17 00:00:00 2001
-From: q66 
-Date: Thu, 31 Aug 2023 03:17:54 +0200
-Subject: [PATCH] alsa: get rid of non-portable isinf use
-
-The isinf function returns -1 for negative infinity on glibc, but
-the standard guarantees no such behavior (e.g. 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-09-26 Thread Sam James
commit: 77d79245a4ff949fb3f80465b361012386af25c1
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 27 03:32:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 27 03:32:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77d79245

media-video/pipewire: Stabilize 0.3.80 x86, #914776

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

 media-video/pipewire/pipewire-0.3.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.80.ebuild 
b/media-video/pipewire/pipewire-0.3.80.ebuild
index b073e93b27d7..c6216c9bd8f5 100644
--- a/media-video/pipewire/pipewire-0.3.80.ebuild
+++ b/media-video/pipewire/pipewire-0.3.80.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-09-26 Thread Sam James
commit: d11944cccaf63f9a4c6ec1d5ae78e728945f65c8
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 27 03:32:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 27 03:32:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d11944cc

media-video/pipewire: Stabilize 0.3.80 ppc64, #914776

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

 media-video/pipewire/pipewire-0.3.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.80.ebuild 
b/media-video/pipewire/pipewire-0.3.80.ebuild
index c6216c9bd8f5..318549a04dcc 100644
--- a/media-video/pipewire/pipewire-0.3.80.ebuild
+++ b/media-video/pipewire/pipewire-0.3.80.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-09-26 Thread Sam James
commit: 0afb829eb48f7590996922e91c54dbfbc77143d9
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 27 03:30:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 27 03:30:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0afb829e

media-video/pipewire: Stabilize 0.3.80 arm64, #914776

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

 media-video/pipewire/pipewire-0.3.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.80.ebuild 
b/media-video/pipewire/pipewire-0.3.80.ebuild
index 4c475102c5c1..b073e93b27d7 100644
--- a/media-video/pipewire/pipewire-0.3.80.ebuild
+++ b/media-video/pipewire/pipewire-0.3.80.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-09-26 Thread Sam James
commit: c396c021e04dceee5ff6fde37d1787ddfe022500
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 27 03:18:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 27 03:18:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c396c021

media-video/pipewire: Stabilize 0.3.80 arm, #914776

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

 media-video/pipewire/pipewire-0.3.80.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.80.ebuild 
b/media-video/pipewire/pipewire-0.3.80.ebuild
index 7a471fb632bf..4c475102c5c1 100644
--- a/media-video/pipewire/pipewire-0.3.80.ebuild
+++ b/media-video/pipewire/pipewire-0.3.80.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.80/, media-video/pipewire/

2023-09-14 Thread Sam James
commit: 2a1c7e22db6217616c18b145754e7ce7b4b0ff73
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep 15 04:21:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep 15 04:33:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a1c7e22

media-video/pipewire: add 0.3.80

Note that this includes an extra backported patch to work with older webrtc
for now, although it's somewhat automagic based on if you have the (masked)
SLOT=1 installed for media-libs/webrtc-audio-processing.

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

 media-video/pipewire/Manifest  |   1 +
 .../0001-aes-support-both-webrtc-versions.patch| 233 ++
 media-video/pipewire/pipewire-0.3.80.ebuild| 475 +
 3 files changed, 709 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 49e8bcc2eabb..2b9157523e57 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -2,3 +2,4 @@ DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9c
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
 DIST pipewire-0.3.78.tar.bz2 1643536 BLAKE2B 
44e04486850b0c68cea42ef911eaffae4c22bdedeff0783c119409d2e8d528c165f1f46f0a0e8b63e1c46cf8535b52b79291b54dd61496c6275c6e41f9d71edd
 SHA512 
2fe0113eaaba1ffe67d20cf10b9ee927cb2bfc7c2663937b131f479d35ca6af43b5659cf8a16db849ecc5881e47a56507e775aad06e9765a3ab8ec354636f8eb
 DIST pipewire-0.3.79.tar.bz2 1647590 BLAKE2B 
dd7c88219310c77fd5b64cbfa4ab8130d81c47ff3a35c03ecfd260bc1e7e24fb108b5100bdbc977e3cd8e74ccfe90c11310b195e804a7fe04a64e1d1637c7233
 SHA512 
5853d4d9d0c21265e0fc0fd68369530d76ae63bad1aa28f6eaa4a0f76e5c939ffc0dee2d81fdf0526da3473f69bddcdb77938597ad004abe04c842d798409b1d
+DIST pipewire-0.3.80.tar.bz2 1655137 BLAKE2B 
cf55e01b6fff29e7ef1f40e9a8f28788b9f538380232821b334359844b33b12b913375ae14e4589d7ae9cd26d22bc841d8103d41c7eb3ea1a9f0c1db1abc6507
 SHA512 
77e26b6cbefc091ea703b53d147accbd9495f97ba57618a21366b0747074de3ed1060c03e91362f5cf9dc5c256da6d541eccaff8de306b369730400c7b7f46b2

diff --git 
a/media-video/pipewire/files/0.3.80/0001-aes-support-both-webrtc-versions.patch 
b/media-video/pipewire/files/0.3.80/0001-aes-support-both-webrtc-versions.patch
new file mode 100644
index ..f2afdde4f4be
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.80/0001-aes-support-both-webrtc-versions.patch
@@ -0,0 +1,233 @@
+https://bugs.gentoo.org/913693
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/1f1c308c9766312e684f0b53fc2d1422c7414d31
+
+From 1f1c308c9766312e684f0b53fc2d1422c7414d31 Mon Sep 17 00:00:00 2001
+From: Wim Taymans 
+Date: Thu, 14 Sep 2023 15:35:40 +0200
+Subject: [PATCH] aec: support both webrtc versions
+
+Version 1 does not seem to be packaged in many distros and so they would
+need to revert the patch or disable AEC. Enabling both allows for things
+to move forwards gracefully.
+--- a/meson.build
 b/meson.build
+@@ -377,9 +377,17 @@ cdata.set('HAVE_GSTREAMER_DEVICE_PROVIDER', 
get_option('gstreamer-device-provide
+ 
+ webrtc_dep = dependency('webrtc-audio-processing-1',
+   version : ['>= 1.2' ],
+-  required : get_option('echo-cancel-webrtc'))
+-summary({'WebRTC Echo Canceling': webrtc_dep.found()}, bool_yn: true, 
section: 'Misc dependencies')
+-cdata.set('HAVE_WEBRTC', webrtc_dep.found())
++  required : false)
++cdata.set('HAVE_WEBRTC1', webrtc_dep.found())
++if webrtc_dep.found()
++  summary({'WebRTC Echo Canceling >= 1.2': webrtc_dep.found()}, bool_yn: 
true, section: 'Misc dependencies')
++else
++  webrtc_dep = dependency('webrtc-audio-processing',
++version : ['>= 0.2', '< 1.0'],
++required : get_option('echo-cancel-webrtc'))
++  cdata.set('HAVE_WEBRTC', webrtc_dep.found())
++  summary({'WebRTC Echo Canceling < 1.0': webrtc_dep.found()}, bool_yn: true, 
section: 'Misc dependencies')
++endif
+ 
+ # On FreeBSD and MidnightBSD, epoll-shim library is required for eventfd() 
and timerfd()
+ epoll_shim_dep = (host_machine.system() == 'freebsd' or host_machine.system() 
== 'midnightbsd'
+--- a/spa/plugins/aec/aec-webrtc.cpp
 b/spa/plugins/aec/aec-webrtc.cpp
+@@ -3,6 +3,8 @@
+ /* SPDX-FileCopyrightText: Copyright © 2021 Arun Raghavan 
 */
+ /* SPDX-License-Identifier: MIT */
+ 
++#include "config.h"
++
+ #include 
+ #include 
+ 
+@@ -13,7 +15,13 @@
+ #include 
+ #include 
+ 
++#ifdef HAVE_WEBRTC
++#include 
++#include 
++#include 
++#else
+ #include 
++#endif
+ 
+ struct impl_data {
+   struct spa_handle handle;
+@@ -39,6 +47,54 @@ static bool webrtc_get_spa_bool(const struct spa_dict 
*args, const char *key, bo
+   return default_value;
+ }
+ 
++#ifdef HAVE_WEBRTC
++/* [ f0 f1 f2 ] 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/

2023-09-11 Thread Sam James
commit: 8b6eb8028f4a0ff0457b47ea418dbce617d05d9f
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 12 00:43:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 12 00:43:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6eb802

media-video/pipewire: handle procps-4 rename of pwait->pidwait

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

 .../pipewire/files/gentoo-pipewire-launcher.in-r3  | 84 ++
 ...ewire-.ebuild => pipewire-0.3.79-r3.ebuild} |  2 +-
 media-video/pipewire/pipewire-.ebuild  |  2 +-
 3 files changed, 86 insertions(+), 2 deletions(-)

diff --git a/media-video/pipewire/files/gentoo-pipewire-launcher.in-r3 
b/media-video/pipewire/files/gentoo-pipewire-launcher.in-r3
new file mode 100644
index ..abe9174c4253
--- /dev/null
+++ b/media-video/pipewire/files/gentoo-pipewire-launcher.in-r3
@@ -0,0 +1,84 @@
+#!/bin/sh
+
+# PipeWire launcher script for XDG compliant desktops on OpenRC.
+#
+# systemd users are very _STRONGLY_ advised to use the much
+# more reliable and predictable user units instead.
+
+# WARNING: This script assumes being run inside XDG compliant session,
+# which means D-Bus session instance is expected to be correctly set up
+# prior to this script starting. If that is not true, things may break!
+
+DATE_FORMAT='+%Y-%m-%dT%H:%M:%S%Z'
+
+CONF="${XDG_CONFIG_HOME:-${HOME}/.config}/gentoo-pipewire-launcher.conf"
+if [ -f "${CONF}" ]
+then
+. "${CONF}"
+else
+GENTOO_PIPEWIRE_LOG='/dev/null'
+GENTOO_PIPEWIRE_PULSE_LOG='/dev/null'
+GENTOO_WIREPLUMBER_LOG='/dev/null'
+fi
+for L in \
+"${GENTOO_PIPEWIRE_LOG}" \
+"${GENTOO_PIPEWIRE_PULSE_LOG}" \
+"${GENTOO_WIREPLUMBER_LOG}"
+do
+   if [ ! -e "${L}" ]
+   then
+   touch "${L}"
+   fi
+done
+
+restart () {
+echo "Terminating PipeWire processes ..."
+pkill -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1
+
+# pidwait was renamed to pwait w/ procps-4 (bug #914030)
+if command -v pidwait > /dev/null ; then
+pidwait -u "${USER}" -x pipewire\|wireplumber
+elif command -v pwait > /dev/null ; then
+pwait -u "${USER}" -x pipewire\|wireplumber
+fi
+
+echo "PipeWire terminated."
+}
+
+if [ "${#}" -gt 0 ]
+then
+if [ "${1}" = 'restart' ]
+then
+   restart
+else
+echo "Unrecognised argument." >&2
+echo "Usage: gentoo-pipewire-launcher [restart]" >&2
+   exit 1
+fi
+fi
+
+if pgrep -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1
+then
+echo "PipeWire already running, exiting." >&2
+echo "(Use 'gentoo-pipewire-launcher restart' to restart PipeWire and 
WirePlumber.)" >&2
+exit 1
+fi
+
+# The core daemon which by itself does probably nothing.
+echo "[$(@GENTOO_PORTAGE_EPREFIX@/bin/date ${DATE_FORMAT})] Starting 
PipeWire." 1>>"${GENTOO_PIPEWIRE_LOG}"
+@GENTOO_PORTAGE_EPREFIX@/usr/bin/pipewire 1>>"${GENTOO_PIPEWIRE_LOG}" 2>&1 &
+
+# The so called pipewire-pulse daemon used for PulseAudio compatibility.
+# Commenting this out will stop the PA proxying daemon from starting,
+# however ALSA (with pipewire-alsa), JACK (with jack-sdk) and PW API using
+# clients will still have access to audio and may end up clashing with
+# non-PW apps over HW control (most notably, /usr/bin/pulseaudio daemon).
+echo "[$(@GENTOO_PORTAGE_EPREFIX@/bin/date ${DATE_FORMAT})] Starting 
PipeWire-Pulse." 1>>"${GENTOO_PIPEWIRE_PULSE_LOG}"
+@GENTOO_PORTAGE_EPREFIX@/usr/bin/pipewire -c pipewire-pulse.conf 
1>>"${GENTOO_PIPEWIRE_PULSE_LOG}" 2>&1 &
+
+# Hack for bug #822498
+sleep 1
+
+# Finally a session manager is required for PipeWire to do anything.
+echo "[$(@GENTOO_PORTAGE_EPREFIX@/bin/date ${DATE_FORMAT})] Starting 
WirePlumber." 1>>"${GENTOO_WIREPLUMBER_LOG}"
+exec @GENTOO_PORTAGE_EPREFIX@/usr/bin/wireplumber 
1>>"${GENTOO_WIREPLUMBER_LOG}" 2>&1

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-0.3.79-r3.ebuild
similarity index 99%
copy from media-video/pipewire/pipewire-.ebuild
copy to media-video/pipewire/pipewire-0.3.79-r3.ebuild
index 9ae26c068a6e..7a471fb632bf 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-0.3.79-r3.ebuild
@@ -300,7 +300,7 @@ multilib_src_install_all() {
newins "${FILESDIR}"/pipewire.desktop-r2 pipewire.desktop
 
exeinto /usr/bin
-   newexe "${FILESDIR}"/gentoo-pipewire-launcher.in-r2 
gentoo-pipewire-launcher
+   newexe "${FILESDIR}"/gentoo-pipewire-launcher.in-r3 
gentoo-pipewire-launcher
 
doman "${FILESDIR}"/gentoo-pipewire-launcher.1
 

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 9ae26c068a6e..7a471fb632bf 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -300,7 +300,7 @@ multilib_src_install_all() {
  

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.79/, media-video/pipewire/

2023-09-01 Thread Sam James
commit: 0d9e842266d72c4d9172e3867e0132fe077358e0
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  1 10:31:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  1 10:31:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9e8422

media-video/pipewire: backport UB fix + musl module dir fix

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

 .../0001-meson-better-check-dlopen-dir.patch   | 33 ++
 .../0.3.79/0002-alsa-non-portable-isinf-use.patch  | 30 
 ...ire-0.3.79.ebuild => pipewire-0.3.79-r1.ebuild} |  0
 3 files changed, 63 insertions(+)

diff --git 
a/media-video/pipewire/files/0.3.79/0001-meson-better-check-dlopen-dir.patch 
b/media-video/pipewire/files/0.3.79/0001-meson-better-check-dlopen-dir.patch
new file mode 100644
index ..1bcddd4277cb
--- /dev/null
+++ b/media-video/pipewire/files/0.3.79/0001-meson-better-check-dlopen-dir.patch
@@ -0,0 +1,33 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/9f7d960c66a2d5732958ee29934c7aef6decc0cb
+
+From 9f7d960c66a2d5732958ee29934c7aef6decc0cb Mon Sep 17 00:00:00 2001
+From: q66 
+Date: Thu, 31 Aug 2023 03:42:40 +0200
+Subject: [PATCH] meson: better check for module dlopen dir
+
+The ${LIB} token is a glibc extension, so it is incorrect to
+use it on all Linux. Doing so will break e.g. with musl libc.
+--- a/meson.build
 b/meson.build
+@@ -49,7 +49,9 @@ pipewire_configdir = pipewire_sysconfdir / 'pipewire'
+ pipewire_confdatadir = pipewire_datadir / 'pipewire'
+ modules_install_dir = pipewire_libdir / pipewire_name
+ 
+-if host_machine.system() == 'linux'
++cc = meson.get_compiler('c')
++
++if cc.has_header('features.h') and cc.get_define('__GLIBC__', prefix: 
'#include ') != ''
+   # glibc ld.so interprets ${LIB} in a library loading path with an
+   # appropriate value for the current architecture, typically something
+   # like lib, lib64 or lib/x86_64-linux-gnu.
+@@ -72,8 +74,6 @@ pipewire_headers_dir = pipewire_name / 'pipewire'
+ 
+ pkgconfig = import('pkgconfig')
+ 
+-cc = meson.get_compiler('c')
+-
+ common_flags = [
+   '-fvisibility=hidden',
+   '-fno-strict-aliasing',
+-- 
+GitLab

diff --git 
a/media-video/pipewire/files/0.3.79/0002-alsa-non-portable-isinf-use.patch 
b/media-video/pipewire/files/0.3.79/0002-alsa-non-portable-isinf-use.patch
new file mode 100644
index ..767c399bd515
--- /dev/null
+++ b/media-video/pipewire/files/0.3.79/0002-alsa-non-portable-isinf-use.patch
@@ -0,0 +1,30 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/aa11dbe10c0f2319a5c4c8dcfff1d5dccc03589e
+
+From aa11dbe10c0f2319a5c4c8dcfff1d5dccc03589e Mon Sep 17 00:00:00 2001
+From: q66 
+Date: Thu, 31 Aug 2023 03:17:54 +0200
+Subject: [PATCH] alsa: get rid of non-portable isinf use
+
+The isinf function returns -1 for negative infinity on glibc, but
+the standard guarantees no such behavior (e.g. in C++ it always
+returns a bool, on musl libc it's a macro that expands to a bool
+expression), saying just that it returns a non-zero value.
+
+This was added in pulseaudio around 15 years ago, and was never
+fixed; pipewire then got the code from it. However, we can portably
+check against -INFINITY instead (from math.h, already included).
+
+Ref https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/045c1d6
+--- a/spa/plugins/alsa/acp/volume.h
 b/spa/plugins/alsa/acp/volume.h
+@@ -83,7 +83,7 @@ static inline pa_volume_t pa_sw_volume_from_linear(double v)
+ 
+ static inline pa_volume_t pa_sw_volume_from_dB(double dB)
+ {
+-if (isinf(dB) < 0 || dB <= PA_DECIBEL_MININFTY)
++if (dB == -INFINITY || dB <= PA_DECIBEL_MININFTY)
+ return PA_VOLUME_MUTED;
+ return pa_sw_volume_from_linear(pa_volume_dB_to_linear(dB));
+ }
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-0.3.79.ebuild 
b/media-video/pipewire/pipewire-0.3.79-r1.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-0.3.79.ebuild
rename to media-video/pipewire/pipewire-0.3.79-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-29 Thread Sam James
commit: a2aa20e7a7e31127041c58936b4011a4806301e2
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 29 19:21:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 29 19:21:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2aa20e7

media-video/pipewire: add 0.3.79

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

 media-video/pipewire/Manifest   |   1 +
 media-video/pipewire/pipewire-0.3.79.ebuild | 473 
 2 files changed, 474 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 58d1d2e3174c..49e8bcc2eabb 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,3 +1,4 @@
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
 DIST pipewire-0.3.78.tar.bz2 1643536 BLAKE2B 
44e04486850b0c68cea42ef911eaffae4c22bdedeff0783c119409d2e8d528c165f1f46f0a0e8b63e1c46cf8535b52b79291b54dd61496c6275c6e41f9d71edd
 SHA512 
2fe0113eaaba1ffe67d20cf10b9ee927cb2bfc7c2663937b131f479d35ca6af43b5659cf8a16db849ecc5881e47a56507e775aad06e9765a3ab8ec354636f8eb
+DIST pipewire-0.3.79.tar.bz2 1647590 BLAKE2B 
dd7c88219310c77fd5b64cbfa4ab8130d81c47ff3a35c03ecfd260bc1e7e24fb108b5100bdbc977e3cd8e74ccfe90c11310b195e804a7fe04a64e1d1637c7233
 SHA512 
5853d4d9d0c21265e0fc0fd68369530d76ae63bad1aa28f6eaa4a0f76e5c939ffc0dee2d81fdf0526da3473f69bddcdb77938597ad004abe04c842d798409b1d

diff --git a/media-video/pipewire/pipewire-0.3.79.ebuild 
b/media-video/pipewire/pipewire-0.3.79.ebuild
new file mode 100644
index ..608eb135e010
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.79.ebuild
@@ -0,0 +1,473 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
+#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled unconditionally.
+# - ffmpeg is only used for pw-cat. We don't build the spa plugin which 
receives barely 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/, media-video/pipewire/

2023-08-24 Thread Sam James
commit: c1e0cc9215766a8fc6c13bce085910ba564a4e87
Author: Alexis  gmail  com>
AuthorDate: Thu Aug 10 09:30:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 24 19:42:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e0cc92

media-video/pipewire: gentoo-pipewire-launcher configuration.

Fall back to using ${HOME}/.config if XDG_CONFIG_HOME isn't set.

Closes: https://bugs.gentoo.org/911883
Signed-off-by: Alexis  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-video/pipewire/files/gentoo-pipewire-launcher.1| 9 +
 media-video/pipewire/files/gentoo-pipewire-launcher.in-r2| 2 +-
 .../{pipewire-0.3.75-r2.ebuild => pipewire-0.3.75-r3.ebuild} | 0
 .../{pipewire-0.3.77-r1.ebuild => pipewire-0.3.77-r2.ebuild} | 0
 .../{pipewire-0.3.78.ebuild => pipewire-0.3.78-r1.ebuild}| 0
 5 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/media-video/pipewire/files/gentoo-pipewire-launcher.1 
b/media-video/pipewire/files/gentoo-pipewire-launcher.1
index d2c30dc961bc..36e697c632cd 100644
--- a/media-video/pipewire/files/gentoo-pipewire-launcher.1
+++ b/media-video/pipewire/files/gentoo-pipewire-launcher.1
@@ -23,6 +23,10 @@ However, a restart can be forced by calling
 with an argument of \(oqrestart\(cq.
 .PP
 .B ${XDG_CONFIG_HOME}/gentoo\-pipewire\-launcher.conf
+(or, if
+.B ${XDG_CONFIG_HOME}
+is not set,
+.BR ${HOME}/.config/gentoo\-pipewire\-launcher.conf )
 can be used to specify absolute paths of files to which log output
 should be sent, by specifying values for one or more of the
 .B GENTOO_PIPEWIRE_LOG\fR,
@@ -36,6 +40,11 @@ Please report bugs via https://bugs.gentoo.org/
 .TP
 .B ${XDG_CONFIG_HOME}/gentoo\-pipewire\-launcher.conf
 configures locations of files for log output.
+.TP
+.B ${HOME}/.config/gentoo\-pipewire\-launcher.conf
+configures locations of files for log output if
+.B ${XDG_CONFIG_HOME}
+is not set.
 .SH "SEE ALSO"
 .BR pipewire (1),
 .BR pipewire-pulse (1),

diff --git a/media-video/pipewire/files/gentoo-pipewire-launcher.in-r2 
b/media-video/pipewire/files/gentoo-pipewire-launcher.in-r2
index ea2032b74b42..a149b0d326c3 100644
--- a/media-video/pipewire/files/gentoo-pipewire-launcher.in-r2
+++ b/media-video/pipewire/files/gentoo-pipewire-launcher.in-r2
@@ -11,7 +11,7 @@
 
 DATE_FORMAT='+%Y-%m-%dT%H:%M:%S%Z'
 
-CONF="${XDG_CONFIG_HOME}/gentoo-pipewire-launcher.conf"
+CONF="${XDG_CONFIG_HOME:-${HOME}/.config}/gentoo-pipewire-launcher.conf"
 if [ -f "${CONF}" ]
 then
 . "${CONF}"

diff --git a/media-video/pipewire/pipewire-0.3.75-r2.ebuild 
b/media-video/pipewire/pipewire-0.3.75-r3.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-0.3.75-r2.ebuild
rename to media-video/pipewire/pipewire-0.3.75-r3.ebuild

diff --git a/media-video/pipewire/pipewire-0.3.77-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r2.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-0.3.77-r1.ebuild
rename to media-video/pipewire/pipewire-0.3.77-r2.ebuild

diff --git a/media-video/pipewire/pipewire-0.3.78.ebuild 
b/media-video/pipewire/pipewire-0.3.78-r1.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-0.3.78.ebuild
rename to media-video/pipewire/pipewire-0.3.78-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-22 Thread Sam James
commit: 053f2f4df3bf85c4cf9fb0167e45bf3593feef8d
Author: Violet Purcell  inventati  org>
AuthorDate: Sun Aug 20 01:11:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 22 13:58:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053f2f4d

media-video/pipewire: enable py3.12

Signed-off-by: Violet Purcell  inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/32381
Signed-off-by: Sam James  gentoo.org>

 media-video/pipewire/pipewire-0.3.75-r2.ebuild | 2 +-
 media-video/pipewire/pipewire-0.3.77-r1.ebuild | 2 +-
 media-video/pipewire/pipewire-0.3.78.ebuild| 2 +-
 media-video/pipewire/pipewire-.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-video/pipewire/pipewire-0.3.75-r2.ebuild 
b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
index 7de7020bd400..8df954be4490 100644
--- a/media-video/pipewire/pipewire-0.3.75-r2.ebuild
+++ b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
@@ -13,7 +13,7 @@ EAPI=8
 # continue to move quickly. It's not uncommon for fixes to be made shortly
 # after releases.
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
 

diff --git a/media-video/pipewire/pipewire-0.3.77-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
index 7de7020bd400..8df954be4490 100644
--- a/media-video/pipewire/pipewire-0.3.77-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
@@ -13,7 +13,7 @@ EAPI=8
 # continue to move quickly. It's not uncommon for fixes to be made shortly
 # after releases.
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
 

diff --git a/media-video/pipewire/pipewire-0.3.78.ebuild 
b/media-video/pipewire/pipewire-0.3.78.ebuild
index dfb5716fd7bf..608eb135e010 100644
--- a/media-video/pipewire/pipewire-0.3.78.ebuild
+++ b/media-video/pipewire/pipewire-0.3.78.ebuild
@@ -13,7 +13,7 @@ EAPI=8
 # continue to move quickly. It's not uncommon for fixes to be made shortly
 # after releases.
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
 

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index dfb5716fd7bf..608eb135e010 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -13,7 +13,7 @@ EAPI=8
 # continue to move quickly. It's not uncommon for fixes to be made shortly
 # after releases.
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
 



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-22 Thread Sam James
commit: 3389343434cf0e82200fd496478df1b71ec4c5cd
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 22 13:57:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 22 13:57:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33893434

media-video/pipewire: add 0.3.78

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

 media-video/pipewire/Manifest   |   1 +
 media-video/pipewire/pipewire-0.3.78.ebuild | 473 
 2 files changed, 474 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 60de335d062b..58d1d2e3174c 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,2 +1,3 @@
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760
+DIST pipewire-0.3.78.tar.bz2 1643536 BLAKE2B 
44e04486850b0c68cea42ef911eaffae4c22bdedeff0783c119409d2e8d528c165f1f46f0a0e8b63e1c46cf8535b52b79291b54dd61496c6275c6e41f9d71edd
 SHA512 
2fe0113eaaba1ffe67d20cf10b9ee927cb2bfc7c2663937b131f479d35ca6af43b5659cf8a16db849ecc5881e47a56507e775aad06e9765a3ab8ec354636f8eb

diff --git a/media-video/pipewire/pipewire-0.3.78.ebuild 
b/media-video/pipewire/pipewire-0.3.78.ebuild
new file mode 100644
index ..dfb5716fd7bf
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.78.ebuild
@@ -0,0 +1,473 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
+#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled unconditionally.
+# - ffmpeg is only used for pw-cat. We don't build the spa plugin which 
receives barely any activity.
+REQUIRED_USE="
+   ffmpeg? ( extra )
+   bluetooth? ( dbus )
+   jack-sdk? ( !jack-client )
+   modemmanager? ( bluetooth )
+   system-service? ( systemd )
+   !sound-server? ( !pipewire-alsa )
+   jack-client? ( dbus )
+"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/

2023-08-15 Thread Conrad Kostecki
commit: bf8e89822d6a1c63ae957cdb3ea2110024857b2d
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Aug 15 12:12:47 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Aug 15 22:41:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8e8982

media-video/pipewire: remove unused files

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/32320
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../pipewire/files/gentoo-pipewire-launcher.in | 29 
 .../pipewire/files/gentoo-pipewire-launcher.in-r1  | 52 --
 media-video/pipewire/files/pipewire.desktop| 12 -
 media-video/pipewire/files/pipewire.desktop-r1 | 12 -
 4 files changed, 105 deletions(-)

diff --git a/media-video/pipewire/files/gentoo-pipewire-launcher.in 
b/media-video/pipewire/files/gentoo-pipewire-launcher.in
deleted file mode 100644
index 495c47f6c7e1..
--- a/media-video/pipewire/files/gentoo-pipewire-launcher.in
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# PipeWire launcher script for XDG compliant desktops on OpenRC.
-#
-# systemd users are very _STRONGLY_ advised to use the much
-# more reliable and predictable user units instead.
-
-# WARNING: This script assumes being run inside XDG compliant session,
-# which means D-Bus session instance is expected to be correctly set up
-# prior to this script starting. If that is not true, things may break!
-
-# Best to reap any existing daemons and only then try to start a new set.
-pkill -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1
-
-# The core daemon which by itself does probably nothing.
-@GENTOO_PORTAGE_EPREFIX@/usr/bin/pipewire &
-
-# The so called pipewire-pulse daemon used for PulseAudio compatibility.
-# Commenting this out will stop the PA proxying daemon from starting,
-# however ALSA (with pipewire-alsa), JACK (with jack-sdk) and PW API using
-# clients will still have access to audio and may end up clashing with
-# non-PW apps over HW control (most notably, /usr/bin/pulseaudio daemon).
-@GENTOO_PORTAGE_EPREFIX@/usr/bin/pipewire -c pipewire-pulse.conf &
-
-# Hack for bug #822498
-sleep 1
-
-# Finally a session manager is required for PipeWire to do anything.
-exec @GENTOO_PORTAGE_EPREFIX@/usr/bin/wireplumber

diff --git a/media-video/pipewire/files/gentoo-pipewire-launcher.in-r1 
b/media-video/pipewire/files/gentoo-pipewire-launcher.in-r1
deleted file mode 100644
index 51f70293c383..
--- a/media-video/pipewire/files/gentoo-pipewire-launcher.in-r1
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-
-# PipeWire launcher script for XDG compliant desktops on OpenRC.
-#
-# systemd users are very _STRONGLY_ advised to use the much
-# more reliable and predictable user units instead.
-
-# WARNING: This script assumes being run inside XDG compliant session,
-# which means D-Bus session instance is expected to be correctly set up
-# prior to this script starting. If that is not true, things may break!
-
-restart () {
-echo "Terminating PipeWire processes ..."
-pkill -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1
-pwait -u "${USER}" -x pipewire\|wireplumber
-echo "PipeWire terminated."
-}
-
-if [ "${#}" -gt 0 ]
-then
-if [ "${1}" = 'restart' ]
-then
-   restart
-else
-echo "Unrecognised argument." >&2
-echo "Usage: gentoo-pipewire-launcher [restart]" >&2
-   exit 1
-fi
-fi
-
-if pgrep -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1
-then
-echo "PipeWire already running, exiting." >&2
-echo "(Use 'gentoo-pipewire-launcher restart' to restart PipeWire and 
WirePlumber.)" >&2
-exit 1
-fi
-
-# The core daemon which by itself does probably nothing.
-@GENTOO_PORTAGE_EPREFIX@/usr/bin/pipewire &
-
-# The so called pipewire-pulse daemon used for PulseAudio compatibility.
-# Commenting this out will stop the PA proxying daemon from starting,
-# however ALSA (with pipewire-alsa), JACK (with jack-sdk) and PW API using
-# clients will still have access to audio and may end up clashing with
-# non-PW apps over HW control (most notably, /usr/bin/pulseaudio daemon).
-@GENTOO_PORTAGE_EPREFIX@/usr/bin/pipewire -c pipewire-pulse.conf &
-
-# Hack for bug #822498
-sleep 1
-
-# Finally a session manager is required for PipeWire to do anything.
-exec @GENTOO_PORTAGE_EPREFIX@/usr/bin/wireplumber

diff --git a/media-video/pipewire/files/pipewire.desktop 
b/media-video/pipewire/files/pipewire.desktop
deleted file mode 100644
index d3786e74f82b..
--- a/media-video/pipewire/files/pipewire.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name[de]=PipeWire Mediensystem
-Name=PipeWire Media System
-Comment[de]=Das PipeWire Mediensystem starten
-Comment=Start the PipeWire Media System
-Exec=/usr/libexec/pipewire-launcher
-Terminal=false
-Type=Application
-X-GNOME-HiddenUnderSystemd=true
-X-KDE-HiddenUnderSystemd=true

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-14 Thread Sam James
commit: d91fefb6da0f30124960e21229872d772d2f3d71
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 15 05:44:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 15 05:44:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91fefb6

media-video/pipewire: Stabilize 0.3.77-r1 ppc, #912202

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

 media-video/pipewire/pipewire-0.3.77-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.77-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
index 975d2ec7ae77..7de7020bd400 100644
--- a/media-video/pipewire/pipewire-0.3.77-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-13 Thread Arthur Zamarin
commit: 142c445e9693d42886aa033fc5363255bfb9f414
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Aug 13 15:33:10 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Aug 13 15:33:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=142c445e

media-video/pipewire: Stabilize 0.3.77-r1 amd64, #912202

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

 media-video/pipewire/pipewire-0.3.77-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.77-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
index 9b8f45eac8bc..975d2ec7ae77 100644
--- a/media-video/pipewire/pipewire-0.3.77-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-12 Thread Sam James
commit: 369bafd058aa2056361586203378ee01182e05c5
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 13 05:26:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 13 05:26:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369bafd0

media-video/pipewire: Stabilize 0.3.77-r1 x86, #912202

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

 media-video/pipewire/pipewire-0.3.77-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.77-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
index 7d7c74f3b5af..9b8f45eac8bc 100644
--- a/media-video/pipewire/pipewire-0.3.77-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-12 Thread Sam James
commit: 8abdd9418cdc79f248fca4f334f930eafc05b504
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 13 05:18:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 13 05:18:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abdd941

media-video/pipewire: Stabilize 0.3.77-r1 arm64, #912202

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

 media-video/pipewire/pipewire-0.3.77-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.77-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
index 011ba4a30cfb..66eb916a15c3 100644
--- a/media-video/pipewire/pipewire-0.3.77-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-12 Thread Sam James
commit: 3e1583a0331985e7c48a5227e7ef4c7ca1309ca0
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 13 05:18:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 13 05:18:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1583a0

media-video/pipewire: Stabilize 0.3.77-r1 arm, #912202

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

 media-video/pipewire/pipewire-0.3.77-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.77-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
index 66eb916a15c3..7d7c74f3b5af 100644
--- a/media-video/pipewire/pipewire-0.3.77-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-08-12 Thread Sam James
commit: c871f9009027e0e91bafdf557e08cafc6c9a89e9
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 13 04:57:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 13 04:57:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c871f900

media-video/pipewire: Stabilize 0.3.77-r1 ppc64, #912202

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

 media-video/pipewire/pipewire-0.3.77-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.77-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
index dfb5716fd7bf..011ba4a30cfb 100644
--- a/media-video/pipewire/pipewire-0.3.77-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.71/, media-video/pipewire/files/0.3.70/, ...

2023-08-12 Thread Sam James
commit: 477ccc534e140ceb915ddf05dfc4c9034e92785c
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 13 03:27:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 13 03:27:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=477ccc53

media-video/pipewire: drop 0.3.70-r2, 0.3.71-r2, 0.3.71-r3, 0.3.76

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

 media-video/pipewire/Manifest  |   3 -
 .../files/0.3.70/parser-check-pointer.patch|  21 -
 .../0.3.71/jack-update-bufsize-samplerate.patch|  46 --
 .../pipewire/files/0.3.72/001-opus-meson.patch |  95 -
 .../0.3.72/002-context-segfault-no-fallback.patch  |  32 --
 .../0001-impl-node-remove-node-target-peers.patch  |  30 --
 media-video/pipewire/pipewire-0.3.70-r2.ebuild | 474 -
 media-video/pipewire/pipewire-0.3.71-r2.ebuild | 463 
 media-video/pipewire/pipewire-0.3.71-r3.ebuild | 465 
 media-video/pipewire/pipewire-0.3.76.ebuild| 473 
 10 files changed, 2102 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index c30911bf0e6e..60de335d062b 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,5 +1,2 @@
-DIST pipewire-0.3.70.tar.bz2 1573378 BLAKE2B 
3824106cba9c1b0a82c6d8889b2b1473f4bfc5d0994ee9dd8b46a454c287bbd4e0ad5dc508df5d4a9b7c5f683898ed756947788e561f2bf51a3116b12e46d075
 SHA512 
8b25d90232d07d5b1e210bd8f24240438a7dcece23a5be59a4e49fc3daf51ebf659f2cc343a0d913310a4659792590ef981ab7a59890506557f9510d902a0cff
-DIST pipewire-0.3.71.tar.bz2 1592332 BLAKE2B 
ff6483a040285cd7a7cc10878cc88b61a0e01c0376ab64ef84f753b300b61da23211bc1b50208da7f1054d6ddf08092e81cbf29df508aad3bc93f20742a2f735
 SHA512 
465388faaf0f7fcce21fdbcd7a1705ef524c35e267c3f123b1025c34133fc418194abb9e22d89e60c9acc1417b25d655112fd9ef342e26ca9b8bc26013b09cb3
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
-DIST pipewire-0.3.76.tar.bz2 1641577 BLAKE2B 
64805d69ca402cf10b9d95faa25c22198582493111d5286cd6237df263038c41af770b3339a7d356d78d5fec7f4b12003b15f66f85a8c283cf2d145ddf1391c9
 SHA512 
f61278868da2b23e3160a00d9fdc7efe5f37f79c580c40656e604975f5aae72fc171cbef8d112fd04e293b990851ace3053c980de9b34e6d36b196d6ced284cd
 DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760

diff --git a/media-video/pipewire/files/0.3.70/parser-check-pointer.patch 
b/media-video/pipewire/files/0.3.70/parser-check-pointer.patch
deleted file mode 100644
index 7409d83e7ebb..
--- a/media-video/pipewire/files/0.3.70/parser-check-pointer.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/83d2e85f490ea97e4ae94b95f20dd06566a14c31
-
-From 83d2e85f490ea97e4ae94b95f20dd06566a14c31 Mon Sep 17 00:00:00 2001
-From: Wim Taymans 
-Date: Thu, 20 Apr 2023 12:32:07 +0200
-Subject: [PATCH] parser: add extra check to make coverity happy
-
-Fixes !1473
 a/spa/include/spa/pod/parser.h
-+++ b/spa/include/spa/pod/parser.h
-@@ -455,7 +455,7 @@ static inline int spa_pod_parser_getv(struct 
spa_pod_parser *parser, va_list arg
-   const struct spa_pod *pod = NULL;
-   const char *format;
- 
--  if (ftype == SPA_TYPE_Object) {
-+  if (f && ftype == SPA_TYPE_Object) {
-   uint32_t key = va_arg(args, uint32_t);
-   const struct spa_pod_object *object;
- 
--- 
-GitLab

diff --git 
a/media-video/pipewire/files/0.3.71/jack-update-bufsize-samplerate.patch 
b/media-video/pipewire/files/0.3.71/jack-update-bufsize-samplerate.patch
deleted file mode 100644
index 59fb89a3e017..
--- a/media-video/pipewire/files/0.3.71/jack-update-bufsize-samplerate.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3226
-https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/ce71b37b58d5e251ae7acda0799f696688df11c2
-
-From ce71b37b58d5e251ae7acda0799f696688df11c2 Mon Sep 17 00:00:00 2001
-From: Wim Taymans 
-Date: Thu, 18 May 2023 09:59:26 +0200
-Subject: [PATCH] jack: update bufsize and samplerate when skipping notify
-
-When we skip the notify because we are not active or we don't have a
-callback, still update the buffer_size and sample_rate fields or else
-we will keep on trying forever.
-
-Fixes #3226
 a/pipewire-jack/src/pipewire-jack.c
-+++ b/pipewire-jack/src/pipewire-jack.c
-@@ -1027,8 +1027,6 @@ 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/0.3.77/

2023-08-12 Thread Sam James
commit: 68d9b4d3cb0fe800f1baba462ce4f0a00f4bdfa3
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 13 03:26:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 13 03:26:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d9b4d3

media-video/pipewire: backport recommended patch for pulse duplicates

Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3414
Signed-off-by: Sam James  gentoo.org>

 .../0.3.77/0002-pulse-prevent-duplicates.patch | 28 ++
 ...ire-0.3.77.ebuild => pipewire-0.3.77-r1.ebuild} |  0
 2 files changed, 28 insertions(+)

diff --git 
a/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch 
b/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch
new file mode 100644
index ..5a0fcde67fed
--- /dev/null
+++ b/media-video/pipewire/files/0.3.77/0002-pulse-prevent-duplicates.patch
@@ -0,0 +1,28 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/820ca90705ae78124958f1b96de3bdc7889c2d1e
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3414
+
+From 820ca90705ae78124958f1b96de3bdc7889c2d1e Mon Sep 17 00:00:00 2001
+From: Wim Taymans 
+Date: Tue, 8 Aug 2023 13:01:30 +0200
+Subject: [PATCH] pulse-server: set all change_mask flags when removing
+
+So that the logic to emit events will select sink and source objects.
+
+Fixes #3414
+--- a/src/modules/module-protocol-pulse/manager.c
 b/src/modules/module-protocol-pulse/manager.c
+@@ -641,9 +641,10 @@ static void registry_event_global_remove(void *data, 
uint32_t id)
+ 
+   o->this.removing = true;
+ 
+-  if (!o->this.creating)
++  if (!o->this.creating) {
++  o->this.change_mask = ~0;
+   manager_emit_removed(m, >this);
+-
++  }
+   object_destroy(o);
+ }
+ 
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-0.3.77.ebuild 
b/media-video/pipewire/pipewire-0.3.77-r1.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-0.3.77.ebuild
rename to media-video/pipewire/pipewire-0.3.77-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.77/, media-video/pipewire/

2023-08-04 Thread Sam James
commit: a19db7f4df1a3360d70b338f31174de5e87d5114
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  4 09:25:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  4 09:25:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19db7f4

media-video/pipewire: add 0.3.77

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

 media-video/pipewire/Manifest  |   1 +
 ...st-prevent-crash-stopping-device-provider.patch |  34 ++
 media-video/pipewire/pipewire-0.3.77.ebuild| 473 +
 3 files changed, 508 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 7617cb6e88c1..c30911bf0e6e 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -2,3 +2,4 @@ DIST pipewire-0.3.70.tar.bz2 1573378 BLAKE2B 
3824106cba9c1b0a82c6d8889b2b1473f4b
 DIST pipewire-0.3.71.tar.bz2 1592332 BLAKE2B 
ff6483a040285cd7a7cc10878cc88b61a0e01c0376ab64ef84f753b300b61da23211bc1b50208da7f1054d6ddf08092e81cbf29df508aad3bc93f20742a2f735
 SHA512 
465388faaf0f7fcce21fdbcd7a1705ef524c35e267c3f123b1025c34133fc418194abb9e22d89e60c9acc1417b25d655112fd9ef342e26ca9b8bc26013b09cb3
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
 DIST pipewire-0.3.76.tar.bz2 1641577 BLAKE2B 
64805d69ca402cf10b9d95faa25c22198582493111d5286cd6237df263038c41af770b3339a7d356d78d5fec7f4b12003b15f66f85a8c283cf2d145ddf1391c9
 SHA512 
f61278868da2b23e3160a00d9fdc7efe5f37f79c580c40656e604975f5aae72fc171cbef8d112fd04e293b990851ace3053c980de9b34e6d36b196d6ced284cd
+DIST pipewire-0.3.77.tar.bz2 1643767 BLAKE2B 
3a2df9cdedf77d5b4927e115ddd7da0d1eecc85322ce7995a49945d41cc83b9a543c1382ad304bdb549f67ac444f7bca6871248654fb4d2e21b25eb55411940c
 SHA512 
422c8504f608d6845b94351a336ab528f51195551418d0d245064972ed784817cacafc6afaad74eb0e0ea80474a9da33ef6917c1f60d3f8f45d70c54971f0760

diff --git 
a/media-video/pipewire/files/0.3.77/0001-gst-prevent-crash-stopping-device-provider.patch
 
b/media-video/pipewire/files/0.3.77/0001-gst-prevent-crash-stopping-device-provider.patch
new file mode 100644
index ..9b6373da1390
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.77/0001-gst-prevent-crash-stopping-device-provider.patch
@@ -0,0 +1,34 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/140374d2071e6204fded4ca65645d4e9a3dd053e
+https://bugs.webkit.org/show_bug.cgi?id=259735
+
+From 140374d2071e6204fded4ca65645d4e9a3dd053e Mon Sep 17 00:00:00 2001
+From: Philippe Normand 
+Date: Fri, 4 Aug 2023 10:01:07 +0100
+Subject: [PATCH] gst: Prevent a crash when stopping device provider
+
+The provider might fail to connect to the PipeWire core when starting up, so
+when stopping we need to check the core is valid before attempting to acquire a
+mutex on its loop.
+--- a/src/gst/gstpipewiredeviceprovider.c
 b/src/gst/gstpipewiredeviceprovider.c
+@@ -665,11 +665,16 @@ gst_pipewire_device_provider_stop (GstDeviceProvider * 
provider)
+ {
+   GstPipeWireDeviceProvider *self = GST_PIPEWIRE_DEVICE_PROVIDER (provider);
+ 
+-  pw_thread_loop_lock (self->core->loop);
++  /* core might be NULL if we failed to connect in _start. */
++  if (self->core != NULL) {
++pw_thread_loop_lock (self->core->loop);
++  }
+   GST_DEBUG_OBJECT (self, "stopping provider");
+ 
+   g_clear_pointer ((struct pw_proxy**)>registry, pw_proxy_destroy);
+-  pw_thread_loop_unlock (self->core->loop);
++  if (self->core != NULL) {
++pw_thread_loop_unlock (self->core->loop);
++  }
+   g_clear_pointer (>core, gst_pipewire_core_release);
+ }
+ 
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-0.3.77.ebuild 
b/media-video/pipewire/pipewire-0.3.77.ebuild
new file mode 100644
index ..dfb5716fd7bf
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.77.ebuild
@@ -0,0 +1,473 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-28 Thread Arthur Zamarin
commit: a316deaddde02a760f3a5fbcfa4397222e8ec5ac
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 28 12:02:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 28 12:02:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a316dead

media-video/pipewire: Stabilize 0.3.75-r2 ppc, #911332

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

 media-video/pipewire/pipewire-0.3.75-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.75-r2.ebuild 
b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
index 975d2ec7ae77..7de7020bd400 100644
--- a/media-video/pipewire/pipewire-0.3.75-r2.ebuild
+++ b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+   KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-28 Thread Arthur Zamarin
commit: 91c1326b53908bd24e573b024ddd1557fcd21389
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 28 12:01:46 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 28 12:01:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c1326b

media-video/pipewire: Stabilize 0.3.75-r2 x86, #911332

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

 media-video/pipewire/pipewire-0.3.75-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.75-r2.ebuild 
b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
index a01180e2a473..975d2ec7ae77 100644
--- a/media-video/pipewire/pipewire-0.3.75-r2.ebuild
+++ b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-28 Thread Arthur Zamarin
commit: cc0731b4dc9fffc655caea23ea8ba17b0d0ae135
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 28 12:00:35 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 28 12:00:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc0731b4

media-video/pipewire: Stabilize 0.3.75-r2 arm64, #911332

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

 media-video/pipewire/pipewire-0.3.75-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.75-r2.ebuild 
b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
index 250c67992bc3..a01180e2a473 100644
--- a/media-video/pipewire/pipewire-0.3.75-r2.ebuild
+++ b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-28 Thread Sam James
commit: 41e49013e11012c92fd1e0d558ede5b940fc4043
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 28 09:38:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 28 09:38:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e49013

media-video/pipewire: drop 0.3.72, 0.3.74

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

 media-video/pipewire/Manifest   |   2 -
 media-video/pipewire/pipewire-0.3.72.ebuild | 466 ---
 media-video/pipewire/pipewire-0.3.74.ebuild | 473 
 3 files changed, 941 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index f24225fd5f3c..7617cb6e88c1 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,6 +1,4 @@
 DIST pipewire-0.3.70.tar.bz2 1573378 BLAKE2B 
3824106cba9c1b0a82c6d8889b2b1473f4bfc5d0994ee9dd8b46a454c287bbd4e0ad5dc508df5d4a9b7c5f683898ed756947788e561f2bf51a3116b12e46d075
 SHA512 
8b25d90232d07d5b1e210bd8f24240438a7dcece23a5be59a4e49fc3daf51ebf659f2cc343a0d913310a4659792590ef981ab7a59890506557f9510d902a0cff
 DIST pipewire-0.3.71.tar.bz2 1592332 BLAKE2B 
ff6483a040285cd7a7cc10878cc88b61a0e01c0376ab64ef84f753b300b61da23211bc1b50208da7f1054d6ddf08092e81cbf29df508aad3bc93f20742a2f735
 SHA512 
465388faaf0f7fcce21fdbcd7a1705ef524c35e267c3f123b1025c34133fc418194abb9e22d89e60c9acc1417b25d655112fd9ef342e26ca9b8bc26013b09cb3
-DIST pipewire-0.3.72.tar.bz2 1622951 BLAKE2B 
e3334410b551ba155dc79baecdd85fa5f214483ab53d11cc9b59ec2a0549957b67048d621ff1881ea927ba315d41c32ba3df97435453ff68173e2c450bf216aa
 SHA512 
f105a2afdc00a81cb8c95c57645257109fd3ac1bd0608eb59969473fd94600c8ecf1d3f51abebcf7f9d70307568b2f5f66c7480a014b3955bcb992d92ca3ff43
-DIST pipewire-0.3.74.tar.bz2 1627888 BLAKE2B 
e37fd8012fe10e52e78cb7d49fecfd6d84fb5cec4dcbaa33def8cd2c7c0efacc219e55c3ae0f732f576afe244399067368c09665dc34b06b6201a4c5ebd9ebd3
 SHA512 
8b916806378363b44cb41a73d4ae70a7b31a0c73b7e62f8c3564e976324b4004104dd8c843a4fae64ecfca8a71e3412cfdfe84ff9663958c46701fc65ead3751
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
 DIST pipewire-0.3.76.tar.bz2 1641577 BLAKE2B 
64805d69ca402cf10b9d95faa25c22198582493111d5286cd6237df263038c41af770b3339a7d356d78d5fec7f4b12003b15f66f85a8c283cf2d145ddf1391c9
 SHA512 
f61278868da2b23e3160a00d9fdc7efe5f37f79c580c40656e604975f5aae72fc171cbef8d112fd04e293b990851ace3053c980de9b34e6d36b196d6ced284cd

diff --git a/media-video/pipewire/pipewire-0.3.72.ebuild 
b/media-video/pipewire/pipewire-0.3.72.ebuild
deleted file mode 100644
index f4759dc2e89a..
--- a/media-video/pipewire/pipewire-0.3.72.ebuild
+++ /dev/null
@@ -1,466 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# 1. Please regularly check (even at the point of bumping) Fedora's packaging
-# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
-#
-# 2. Upstream also sometimes amend release notes for the previous release to 
mention
-# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
-#
-# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
-# continue to move quickly. It's not uncommon for fixes to be made shortly
-# after releases.
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
-   inherit git-r3
-else
-   if [[ ${PV} == *_p* ]] ; then
-   MY_COMMIT=""
-   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
-   S="${WORKDIR}"/${PN}-${MY_COMMIT}
-   else
-   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
-   fi
-
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-fi
-
-DESCRIPTION="Multimedia processing graphs"
-HOMEPAGE="https://pipewire.org/;
-
-LICENSE="MIT LGPL-2.1+ GPL-2"
-# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
-SLOT="0/0.4"
-IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
-IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
-
-# Once replacing system JACK libraries is possible, it's likely that
-# jack-client IUSE will need blocking to avoid users accidentally
-# configuring their systems to send PW sink output to the emulated
-# JACK's 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-28 Thread Sam James
commit: 2044e1148d48805cecbf4a886b6822e15369d223
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 28 09:35:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 28 09:35:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2044e114

media-video/pipewire: add 0.3.76

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

 media-video/pipewire/Manifest   |   1 +
 media-video/pipewire/pipewire-0.3.76.ebuild | 473 
 2 files changed, 474 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 017b8f717144..f24225fd5f3c 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -3,3 +3,4 @@ DIST pipewire-0.3.71.tar.bz2 1592332 BLAKE2B 
ff6483a040285cd7a7cc10878cc88b61a0e
 DIST pipewire-0.3.72.tar.bz2 1622951 BLAKE2B 
e3334410b551ba155dc79baecdd85fa5f214483ab53d11cc9b59ec2a0549957b67048d621ff1881ea927ba315d41c32ba3df97435453ff68173e2c450bf216aa
 SHA512 
f105a2afdc00a81cb8c95c57645257109fd3ac1bd0608eb59969473fd94600c8ecf1d3f51abebcf7f9d70307568b2f5f66c7480a014b3955bcb992d92ca3ff43
 DIST pipewire-0.3.74.tar.bz2 1627888 BLAKE2B 
e37fd8012fe10e52e78cb7d49fecfd6d84fb5cec4dcbaa33def8cd2c7c0efacc219e55c3ae0f732f576afe244399067368c09665dc34b06b6201a4c5ebd9ebd3
 SHA512 
8b916806378363b44cb41a73d4ae70a7b31a0c73b7e62f8c3564e976324b4004104dd8c843a4fae64ecfca8a71e3412cfdfe84ff9663958c46701fc65ead3751
 DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d
+DIST pipewire-0.3.76.tar.bz2 1641577 BLAKE2B 
64805d69ca402cf10b9d95faa25c22198582493111d5286cd6237df263038c41af770b3339a7d356d78d5fec7f4b12003b15f66f85a8c283cf2d145ddf1391c9
 SHA512 
f61278868da2b23e3160a00d9fdc7efe5f37f79c580c40656e604975f5aae72fc171cbef8d112fd04e293b990851ace3053c980de9b34e6d36b196d6ced284cd

diff --git a/media-video/pipewire/pipewire-0.3.76.ebuild 
b/media-video/pipewire/pipewire-0.3.76.ebuild
new file mode 100644
index ..dfb5716fd7bf
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.76.ebuild
@@ -0,0 +1,473 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
+#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled unconditionally.
+# - 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-28 Thread Sam James
commit: d67e998b4be3cb3732bc19227c3b22cd286c3e37
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 28 09:36:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 28 09:36:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d67e998b

media-video/pipewire: Stabilize 0.3.75-r2 arm, #911332

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

 media-video/pipewire/pipewire-0.3.75-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.75-r2.ebuild 
b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
index 7562fd37da42..250c67992bc3 100644
--- a/media-video/pipewire/pipewire-0.3.75-r2.ebuild
+++ b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.75/, media-video/pipewire/

2023-07-27 Thread Sam James
commit: c2351b1123866a33d58d60c4313464bb5bd1a6ba
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 27 09:18:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 27 09:18:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2351b11

media-video/pipewire: backport version.h include fix for 0.3.75

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

 .../0.3.75/0003-missing-include-version.h.patch | 21 +
 ...e-0.3.75-r1.ebuild => pipewire-0.3.75-r2.ebuild} |  0
 2 files changed, 21 insertions(+)

diff --git 
a/media-video/pipewire/files/0.3.75/0003-missing-include-version.h.patch 
b/media-video/pipewire/files/0.3.75/0003-missing-include-version.h.patch
new file mode 100644
index ..b1c688bba343
--- /dev/null
+++ b/media-video/pipewire/files/0.3.75/0003-missing-include-version.h.patch
@@ -0,0 +1,21 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/193384b26aba3917d086ac3f009aa2cab9d197d2
+
+From 193384b26aba3917d086ac3f009aa2cab9d197d2 Mon Sep 17 00:00:00 2001
+From: "Tom A. Wagner" 
+Date: Mon, 24 Jul 2023 12:48:33 +0200
+Subject: [PATCH] pipewire: add missing stdbool.h include to version.h.in
+
+The header file only works when included in a file where stdbool.h was already 
included otherwise.
+--- a/src/pipewire/version.h.in
 b/src/pipewire/version.h.in
+@@ -11,6 +11,8 @@
+ extern "C" {
+ #endif
+ 
++#include 
++
+ /** Return the version of the header files. Keep in mind that this is
+ a macro and not a function, so it is impossible to get the pointer of
+ it. */
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-0.3.75-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.75-r2.ebuild
similarity index 100%
rename from media-video/pipewire/pipewire-0.3.75-r1.ebuild
rename to media-video/pipewire/pipewire-0.3.75-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/0.3.75/, media-video/pipewire/

2023-07-23 Thread Sam James
commit: e29598d80e5b6f0e45eccdcab2f920304f2ed0b7
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 23 17:39:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 23 17:39:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e29598d8

media-video/pipewire: backport two fixes to 0.3.75

1. Crash fix for when can't connect to dbus (bug #910714)
2. Help out software misusing API, like older mpv (new fixed mpv will be in tree
shortly anyway) (https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3374)

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

 .../0001-module-rt-error-out-on-load-no-bus.patch  | 83 ++
 ...2-thread-loop-only-signal-when-option-set.patch | 68 ++
 ...ire-0.3.75.ebuild => pipewire-0.3.75-r1.ebuild} |  0
 3 files changed, 151 insertions(+)

diff --git 
a/media-video/pipewire/files/0.3.75/0001-module-rt-error-out-on-load-no-bus.patch
 
b/media-video/pipewire/files/0.3.75/0001-module-rt-error-out-on-load-no-bus.patch
new file mode 100644
index ..8885eb8a564f
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.75/0001-module-rt-error-out-on-load-no-bus.patch
@@ -0,0 +1,83 @@
+https://bugs.gentoo.org/910714
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/55812195ce3b77317e7a2dc642b78271f3a45c8e
+
+From 55812195ce3b77317e7a2dc642b78271f3a45c8e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= 
+Date: Sat, 22 Jul 2023 01:20:58 +
+Subject: [PATCH] module-rt: error out on load if no bus is available
+
+Since the recent changes to the RT module in Pipewire 0.3.75, some
+applications such as those using OpenAL-Soft crash on startup if
+neither the session nor the system bus is available. For example:
+
+bwrap --dev-bind / / \
+  --bind /dev/null /run/dbus/system_bus_socket \
+  --bind /dev/null $XDG_RUNTIME_DIR/bus \
+  openal-info
+
+Will result in a crash with the following error message:
+
+dbus[1626147]: arguments to dbus_message_new_method_call() were
+incorrect, assertion "path != NULL" failed in file dbus-message.c
+line 1373.
+This is normally a bug in some application using the D-Bus library.
+
+The RT module previously failed to load if no bus was available, but
+after the recent changes, the init. logic runs in a thread, and failing
+to obtain the bus no longer causes the module to fail to load.
+
+Then, functions called later such as `pw_rtkit_make_realtime` assume
+the bus is available and try to use it, causing the error above.
+
+Put the logic for obtaining and checking the bus back to `module_init`,
+so the module fails to load again if no bus is available.
+--- a/src/modules/module-rt.c
 b/src/modules/module-rt.c
+@@ -923,14 +923,11 @@ static int check_rtkit(struct impl *impl, struct 
pw_context *context, bool *can_
+   return 0;
+ }
+ 
+-static int do_rtkit_setup(struct spa_loop *loop, bool async, uint32_t seq,
+-  const void *data, size_t size, void *user_data)
++static int rtkit_get_bus(struct impl *impl)
+ {
+-  struct impl *impl = user_data;
+   int res;
+-  long long retval;
+ 
+-  pw_log_debug("enter rtkit setup");
++  pw_log_debug("enter rtkit get bus");
+ 
+   /* Checking xdg-desktop-portal. It works fine in all situations. */
+   if (impl->rtportal_enabled)
+@@ -967,6 +964,18 @@ static int do_rtkit_setup(struct spa_loop *loop, bool 
async, uint32_t seq,
+   return res;
+   }
+   }
++
++  return 0;
++}
++
++static int do_rtkit_setup(struct spa_loop *loop, bool async, uint32_t seq,
++  const void *data, size_t size, void *user_data)
++{
++  struct impl *impl = user_data;
++  long long retval;
++
++  pw_log_debug("enter rtkit setup");
++
+   /* get some properties */
+   if (rtkit_get_int_property(impl, "MaxRealtimePriority", ) < 0) {
+   retval = 1;
+@@ -1076,6 +1085,9 @@ int pipewire__module_init(struct pw_impl_module *module, 
const char *args)
+ #ifdef HAVE_DBUS
+   impl->use_rtkit = use_rtkit;
+   if (impl->use_rtkit) {
++  if ((res = rtkit_get_bus(impl)) < 0)
++  goto error;
++
+   impl->thread_loop = pw_thread_loop_new("module-rt", NULL);
+   if (impl->thread_loop == NULL) {
+   res = -errno;
+-- 
+GitLab

diff --git 
a/media-video/pipewire/files/0.3.75/0002-thread-loop-only-signal-when-option-set.patch
 
b/media-video/pipewire/files/0.3.75/0002-thread-loop-only-signal-when-option-set.patch
new file mode 100644
index ..670847b2f86a
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.75/0002-thread-loop-only-signal-when-option-set.patch
@@ -0,0 +1,68 @@
+https://github.com/mpv-player/mpv/issues/11995
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3374

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-21 Thread Sam James
commit: c122c27457cc626f602971b8ee2422fc2a4b8ce9
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 21 12:58:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 21 12:58:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c122c274

media-video/pipewire: add 0.3.75

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

 media-video/pipewire/Manifest   |   1 +
 media-video/pipewire/pipewire-0.3.75.ebuild | 473 
 2 files changed, 474 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 146435fba270..017b8f717144 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -2,3 +2,4 @@ DIST pipewire-0.3.70.tar.bz2 1573378 BLAKE2B 
3824106cba9c1b0a82c6d8889b2b1473f4b
 DIST pipewire-0.3.71.tar.bz2 1592332 BLAKE2B 
ff6483a040285cd7a7cc10878cc88b61a0e01c0376ab64ef84f753b300b61da23211bc1b50208da7f1054d6ddf08092e81cbf29df508aad3bc93f20742a2f735
 SHA512 
465388faaf0f7fcce21fdbcd7a1705ef524c35e267c3f123b1025c34133fc418194abb9e22d89e60c9acc1417b25d655112fd9ef342e26ca9b8bc26013b09cb3
 DIST pipewire-0.3.72.tar.bz2 1622951 BLAKE2B 
e3334410b551ba155dc79baecdd85fa5f214483ab53d11cc9b59ec2a0549957b67048d621ff1881ea927ba315d41c32ba3df97435453ff68173e2c450bf216aa
 SHA512 
f105a2afdc00a81cb8c95c57645257109fd3ac1bd0608eb59969473fd94600c8ecf1d3f51abebcf7f9d70307568b2f5f66c7480a014b3955bcb992d92ca3ff43
 DIST pipewire-0.3.74.tar.bz2 1627888 BLAKE2B 
e37fd8012fe10e52e78cb7d49fecfd6d84fb5cec4dcbaa33def8cd2c7c0efacc219e55c3ae0f732f576afe244399067368c09665dc34b06b6201a4c5ebd9ebd3
 SHA512 
8b916806378363b44cb41a73d4ae70a7b31a0c73b7e62f8c3564e976324b4004104dd8c843a4fae64ecfca8a71e3412cfdfe84ff9663958c46701fc65ead3751
+DIST pipewire-0.3.75.tar.bz2 1629466 BLAKE2B 
e69dbb93ebe50f037bc602aa86733c8ba9ccbe57db520cd34ea025c9bf153dbd848882dbb4c2a4e830785a302a7cb7d4b7c1856c9a4be6f1c5ada92f70d1729b
 SHA512 
19bf292f951f68de19cdfd3c76ee0e538a2ad3022e2669a4a19b40d26c2b16938799470b85def4b74b27b8c8137d03a05780d6bab0f38fb0835b528f2cd34f5d

diff --git a/media-video/pipewire/pipewire-0.3.75.ebuild 
b/media-video/pipewire/pipewire-0.3.75.ebuild
new file mode 100644
index ..dfb5716fd7bf
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.75.ebuild
@@ -0,0 +1,473 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
+#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled unconditionally.
+# - 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-13 Thread Sam James
commit: 72c7c394a58c59269bdb8af838014ff94ccb9cdc
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 13 09:49:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 13 09:49:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c7c394

media-video/pipewire: add note re kwin/mutter

KWin and Mutter need to be restarted after upgrading (most) PipeWire versions
to keep screencasting working. KWin no longer crashes w/ >=0.3.74 though.

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

 media-video/pipewire/pipewire-0.3.74.ebuild | 7 +++
 media-video/pipewire/pipewire-.ebuild   | 7 +++
 2 files changed, 14 insertions(+)

diff --git a/media-video/pipewire/pipewire-0.3.74.ebuild 
b/media-video/pipewire/pipewire-0.3.74.ebuild
index f4759dc2e89a..dfb5716fd7bf 100644
--- a/media-video/pipewire/pipewire-0.3.74.ebuild
+++ b/media-video/pipewire/pipewire-0.3.74.ebuild
@@ -335,6 +335,13 @@ pkg_postinst() {
 
local ver
for ver in ${REPLACING_VERSIONS} ; do
+   if has_version kde-plasma/kwin[screencast] || has_version 
x11-wm/mutter[screencast] ; then
+   # https://bugs.gentoo.org/908490
+   # 
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3243
+   ewarn "Please restart KWin/Mutter after upgrading 
PipeWire."
+   ewarn "Screencasting may not work until you do."
+   fi
+
if ver_test ${ver} -le 0.3.66-r1 ; then
elog ">=pipewire-0.3.66 uses the 'pipewire' group to 
manage permissions"
elog "and limits needed to function smoothly:"

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index f4759dc2e89a..dfb5716fd7bf 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -335,6 +335,13 @@ pkg_postinst() {
 
local ver
for ver in ${REPLACING_VERSIONS} ; do
+   if has_version kde-plasma/kwin[screencast] || has_version 
x11-wm/mutter[screencast] ; then
+   # https://bugs.gentoo.org/908490
+   # 
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3243
+   ewarn "Please restart KWin/Mutter after upgrading 
PipeWire."
+   ewarn "Screencasting may not work until you do."
+   fi
+
if ver_test ${ver} -le 0.3.66-r1 ; then
elog ">=pipewire-0.3.66 uses the 'pipewire' group to 
manage permissions"
elog "and limits needed to function smoothly:"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-13 Thread Sam James
commit: eac3214954744c7b5afece456a4fb60cb792d902
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 13 09:44:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 13 09:44:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eac32149

media-video/pipewire: drop 0.3.73-r1

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

 media-video/pipewire/Manifest  |   1 -
 media-video/pipewire/pipewire-0.3.73-r1.ebuild | 466 -
 2 files changed, 467 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 436cff1a76dc..146435fba270 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,5 +1,4 @@
 DIST pipewire-0.3.70.tar.bz2 1573378 BLAKE2B 
3824106cba9c1b0a82c6d8889b2b1473f4bfc5d0994ee9dd8b46a454c287bbd4e0ad5dc508df5d4a9b7c5f683898ed756947788e561f2bf51a3116b12e46d075
 SHA512 
8b25d90232d07d5b1e210bd8f24240438a7dcece23a5be59a4e49fc3daf51ebf659f2cc343a0d913310a4659792590ef981ab7a59890506557f9510d902a0cff
 DIST pipewire-0.3.71.tar.bz2 1592332 BLAKE2B 
ff6483a040285cd7a7cc10878cc88b61a0e01c0376ab64ef84f753b300b61da23211bc1b50208da7f1054d6ddf08092e81cbf29df508aad3bc93f20742a2f735
 SHA512 
465388faaf0f7fcce21fdbcd7a1705ef524c35e267c3f123b1025c34133fc418194abb9e22d89e60c9acc1417b25d655112fd9ef342e26ca9b8bc26013b09cb3
 DIST pipewire-0.3.72.tar.bz2 1622951 BLAKE2B 
e3334410b551ba155dc79baecdd85fa5f214483ab53d11cc9b59ec2a0549957b67048d621ff1881ea927ba315d41c32ba3df97435453ff68173e2c450bf216aa
 SHA512 
f105a2afdc00a81cb8c95c57645257109fd3ac1bd0608eb59969473fd94600c8ecf1d3f51abebcf7f9d70307568b2f5f66c7480a014b3955bcb992d92ca3ff43
-DIST pipewire-0.3.73.tar.bz2 1627336 BLAKE2B 
cf26a0028f4a7df966e8ee1739a799cbe418ea15d8a2f292d2b6937f7029e8de3ae22ff8664936e200e48c024c0e58d2a0fd67e98e889490a1a6149276ab9ce3
 SHA512 
16ba011a394f520259f9f98641149bbfd6b910b3210b7ff62c0b3ed8c12a00ec0611bfa83316e8173138b034e30b9cb0ed982c2d1ac840ecf69405755d2a68f6
 DIST pipewire-0.3.74.tar.bz2 1627888 BLAKE2B 
e37fd8012fe10e52e78cb7d49fecfd6d84fb5cec4dcbaa33def8cd2c7c0efacc219e55c3ae0f732f576afe244399067368c09665dc34b06b6201a4c5ebd9ebd3
 SHA512 
8b916806378363b44cb41a73d4ae70a7b31a0c73b7e62f8c3564e976324b4004104dd8c843a4fae64ecfca8a71e3412cfdfe84ff9663958c46701fc65ead3751

diff --git a/media-video/pipewire/pipewire-0.3.73-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.73-r1.ebuild
deleted file mode 100644
index f4759dc2e89a..
--- a/media-video/pipewire/pipewire-0.3.73-r1.ebuild
+++ /dev/null
@@ -1,466 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# 1. Please regularly check (even at the point of bumping) Fedora's packaging
-# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
-#
-# 2. Upstream also sometimes amend release notes for the previous release to 
mention
-# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
-#
-# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
-# continue to move quickly. It's not uncommon for fixes to be made shortly
-# after releases.
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
-   inherit git-r3
-else
-   if [[ ${PV} == *_p* ]] ; then
-   MY_COMMIT=""
-   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
-   S="${WORKDIR}"/${PN}-${MY_COMMIT}
-   else
-   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
-   fi
-
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-fi
-
-DESCRIPTION="Multimedia processing graphs"
-HOMEPAGE="https://pipewire.org/;
-
-LICENSE="MIT LGPL-2.1+ GPL-2"
-# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
-SLOT="0/0.4"
-IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
-IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
-
-# Once replacing system JACK libraries is possible, it's likely that
-# jack-client IUSE will need blocking to avoid users accidentally
-# configuring their systems to send PW sink output to the emulated
-# JACK's sink - doing so is likely to yield no audio, cause a CPU
-# cycles consuming loop (and may even cause GUI crashes)!
-
-# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
-# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
-#   which provides adequate guarantee that alsa-lib will be able 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-12 Thread Sam James
commit: edbd9046ecb5bcb70f5d97ebb8e623473fdf0b4b
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 12 10:55:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 12 10:55:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edbd9046

media-video/pipewire: add 0.3.74

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

 media-video/pipewire/Manifest   |   1 +
 media-video/pipewire/pipewire-0.3.74.ebuild | 466 
 2 files changed, 467 insertions(+)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index e49ec1a99294..436cff1a76dc 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -2,3 +2,4 @@ DIST pipewire-0.3.70.tar.bz2 1573378 BLAKE2B 
3824106cba9c1b0a82c6d8889b2b1473f4b
 DIST pipewire-0.3.71.tar.bz2 1592332 BLAKE2B 
ff6483a040285cd7a7cc10878cc88b61a0e01c0376ab64ef84f753b300b61da23211bc1b50208da7f1054d6ddf08092e81cbf29df508aad3bc93f20742a2f735
 SHA512 
465388faaf0f7fcce21fdbcd7a1705ef524c35e267c3f123b1025c34133fc418194abb9e22d89e60c9acc1417b25d655112fd9ef342e26ca9b8bc26013b09cb3
 DIST pipewire-0.3.72.tar.bz2 1622951 BLAKE2B 
e3334410b551ba155dc79baecdd85fa5f214483ab53d11cc9b59ec2a0549957b67048d621ff1881ea927ba315d41c32ba3df97435453ff68173e2c450bf216aa
 SHA512 
f105a2afdc00a81cb8c95c57645257109fd3ac1bd0608eb59969473fd94600c8ecf1d3f51abebcf7f9d70307568b2f5f66c7480a014b3955bcb992d92ca3ff43
 DIST pipewire-0.3.73.tar.bz2 1627336 BLAKE2B 
cf26a0028f4a7df966e8ee1739a799cbe418ea15d8a2f292d2b6937f7029e8de3ae22ff8664936e200e48c024c0e58d2a0fd67e98e889490a1a6149276ab9ce3
 SHA512 
16ba011a394f520259f9f98641149bbfd6b910b3210b7ff62c0b3ed8c12a00ec0611bfa83316e8173138b034e30b9cb0ed982c2d1ac840ecf69405755d2a68f6
+DIST pipewire-0.3.74.tar.bz2 1627888 BLAKE2B 
e37fd8012fe10e52e78cb7d49fecfd6d84fb5cec4dcbaa33def8cd2c7c0efacc219e55c3ae0f732f576afe244399067368c09665dc34b06b6201a4c5ebd9ebd3
 SHA512 
8b916806378363b44cb41a73d4ae70a7b31a0c73b7e62f8c3564e976324b4004104dd8c843a4fae64ecfca8a71e3412cfdfe84ff9663958c46701fc65ead3751

diff --git a/media-video/pipewire/pipewire-0.3.74.ebuild 
b/media-video/pipewire/pipewire-0.3.74.ebuild
new file mode 100644
index ..f4759dc2e89a
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.74.ebuild
@@ -0,0 +1,466 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
+#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled unconditionally.
+# - 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-12 Thread Sam James
commit: d202cb4993d48e7ed1d2877bd47ba2ed2ecb5896
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 12 08:47:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 12 08:47:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d202cb49

media-video/pipewire: drop 0.3.73

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

 media-video/pipewire/pipewire-0.3.73.ebuild | 466 
 1 file changed, 466 deletions(-)

diff --git a/media-video/pipewire/pipewire-0.3.73.ebuild 
b/media-video/pipewire/pipewire-0.3.73.ebuild
deleted file mode 100644
index f4759dc2e89a..
--- a/media-video/pipewire/pipewire-0.3.73.ebuild
+++ /dev/null
@@ -1,466 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# 1. Please regularly check (even at the point of bumping) Fedora's packaging
-# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
-#
-# 2. Upstream also sometimes amend release notes for the previous release to 
mention
-# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
-#
-# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
-# continue to move quickly. It's not uncommon for fixes to be made shortly
-# after releases.
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
-   inherit git-r3
-else
-   if [[ ${PV} == *_p* ]] ; then
-   MY_COMMIT=""
-   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
-   S="${WORKDIR}"/${PN}-${MY_COMMIT}
-   else
-   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
-   fi
-
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-fi
-
-DESCRIPTION="Multimedia processing graphs"
-HOMEPAGE="https://pipewire.org/;
-
-LICENSE="MIT LGPL-2.1+ GPL-2"
-# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
-SLOT="0/0.4"
-IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
-IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
-
-# Once replacing system JACK libraries is possible, it's likely that
-# jack-client IUSE will need blocking to avoid users accidentally
-# configuring their systems to send PW sink output to the emulated
-# JACK's sink - doing so is likely to yield no audio, cause a CPU
-# cycles consuming loop (and may even cause GUI crashes)!
-
-# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
-# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
-#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
-#   If that works, pulseaudio defaults are loaded into alsa-lib runtime 
replacing default PCM and CTL.
-#   When pipewire-alsa will be able to perform similar check, pipewire-alsa 
can be enabled unconditionally.
-# - ffmpeg is only used for pw-cat. We don't build the spa plugin which 
receives barely any activity.
-REQUIRED_USE="
-   ffmpeg? ( extra )
-   bluetooth? ( dbus )
-   jack-sdk? ( !jack-client )
-   modemmanager? ( bluetooth )
-   system-service? ( systemd )
-   !sound-server? ( !pipewire-alsa )
-   jack-client? ( dbus )
-"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   >=dev-util/meson-0.59
-   virtual/pkgconfig
-   ${PYTHON_DEPS}
-   $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')
-   dbus? ( dev-util/gdbus-codegen )
-   doc? (
-   app-doc/doxygen
-   media-gfx/graphviz
-   )
-"
-# While udev could technically be optional, it's needed for a numebr of 
options,
-# and not really worth it, bug #877769.
-RDEPEND="
-   acct-group/audio
-   acct-group/pipewire
-   media-libs/alsa-lib
-   sys-libs/ncurses:=[unicode(+)]
-   virtual/libintl[${MULTILIB_USEDEP}]
-   virtual/libudev[${MULTILIB_USEDEP}]
-   bluetooth? (
-   dev-libs/glib
-   media-libs/fdk-aac
-   media-libs/libldac
-   media-libs/libfreeaptx
-   media-libs/opus
-   media-libs/sbc
-   >=net-wireless/bluez-4.101:=
-   virtual/libusb:1
-   )
-   dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-   echo-cancel? ( media-libs/webrtc-audio-processing:0 )
-   extra? ( >=media-libs/libsndfile-1.0.20 )
-   ffmpeg? ( media-video/ffmpeg:= )
-   flatpak? ( dev-libs/glib )
-   gstreamer? (
- 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/0.3.73/

2023-07-12 Thread Sam James
commit: 57b9002ccc84312b5c356827eb91a5d1e9ed3277
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 12 08:38:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 12 08:45:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57b9002c

media-video/pipewire: backport recommended patch to 0.3.73

Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3316
Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3345
Signed-off-by: Sam James  gentoo.org>

 .../0001-impl-node-remove-node-target-peers.patch  |  30 ++
 media-video/pipewire/pipewire-0.3.73-r1.ebuild | 466 +
 2 files changed, 496 insertions(+)

diff --git 
a/media-video/pipewire/files/0.3.73/0001-impl-node-remove-node-target-peers.patch
 
b/media-video/pipewire/files/0.3.73/0001-impl-node-remove-node-target-peers.patch
new file mode 100644
index ..fac8233ee916
--- /dev/null
+++ 
b/media-video/pipewire/files/0.3.73/0001-impl-node-remove-node-target-peers.patch
@@ -0,0 +1,30 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/4456f2efd16d6190989a903f70f4419c2ca4c819
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3316
+https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3345
+
+From 4456f2efd16d6190989a903f70f4419c2ca4c819 Mon Sep 17 00:00:00 2001
+From: Wim Taymans 
+Date: Mon, 10 Jul 2023 16:59:17 +0200
+Subject: [PATCH] impl-node: remove the node from the target peers
+
+When we destroy a node, we need to remove the node as a current
+driver peer.
+
+Not doing this has 2 problems:
+- remote drivers still trigger our node
+- the client-node does not clean up the memid for the activation and
+  we might reuse it later for a new node with the same fd.
+
+See #3316
+--- a/src/pipewire/impl-node.c
 b/src/pipewire/impl-node.c
+@@ -1983,6 +1983,7 @@ void pw_impl_node_destroy(struct pw_impl_node *node)
+ 
+   /* remove ourself as a follower from the driver node */
+   spa_list_remove(>follower_link);
++  pw_impl_node_emit_peer_removed(node->driver_node, node);
+   remove_segment_owner(node->driver_node, node->info.id);
+ 
+   spa_list_consume(follower, >follower_list, follower_link) {
+-- 
+GitLab

diff --git a/media-video/pipewire/pipewire-0.3.73-r1.ebuild 
b/media-video/pipewire/pipewire-0.3.73-r1.ebuild
new file mode 100644
index ..f4759dc2e89a
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.3.73-r1.ebuild
@@ -0,0 +1,466 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 1. Please regularly check (even at the point of bumping) Fedora's packaging
+# for needed backports at 
https://src.fedoraproject.org/rpms/pipewire/tree/rawhide.
+#
+# 2. Upstream also sometimes amend release notes for the previous release to 
mention
+# needed patches, e.g. 
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros
+#
+# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things
+# continue to move quickly. It's not uncommon for fixes to be made shortly
+# after releases.
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd 
tmpfiles udev
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git;
+   inherit git-r3
+else
+   if [[ ${PV} == *_p* ]] ; then
+   MY_COMMIT=""
+   
SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+   else
+   
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
+   fi
+
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/;
+
+LICENSE="MIT LGPL-2.1+ GPL-2"
+# ABI was broken in 0.3.42 for 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
+SLOT="0/0.4"
+IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings 
ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE+=" modemmanager pipewire-alsa readline sound-server ssl system-service 
systemd test v4l X zeroconf"
+
+# Once replacing system JACK libraries is possible, it's likely that
+# jack-client IUSE will need blocking to avoid users accidentally
+# configuring their systems to send PW sink output to the emulated
+# JACK's sink - doing so is likely to yield no audio, cause a CPU
+# cycles consuming loop (and may even cause GUI crashes)!
+
+# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but 
ALSA is always enabled
+# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server 
connection will work
+#   which provides adequate guarantee that alsa-lib will be able to provide 
audio services.
+#   If that works, pulseaudio defaults are 

[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-06 Thread Sam James
commit: 5b8cea3466af838400eb529715254e67f0f00e44
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul  6 22:06:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  6 22:06:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8cea34

media-video/pipewire: add 0.3.73

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

 media-video/pipewire/Manifest | 1 +
 media-video/pipewire/{pipewire-.ebuild => pipewire-0.3.73.ebuild} | 2 +-
 media-video/pipewire/pipewire-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index 39f01c37fa35..e49ec1a99294 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1,3 +1,4 @@
 DIST pipewire-0.3.70.tar.bz2 1573378 BLAKE2B 
3824106cba9c1b0a82c6d8889b2b1473f4bfc5d0994ee9dd8b46a454c287bbd4e0ad5dc508df5d4a9b7c5f683898ed756947788e561f2bf51a3116b12e46d075
 SHA512 
8b25d90232d07d5b1e210bd8f24240438a7dcece23a5be59a4e49fc3daf51ebf659f2cc343a0d913310a4659792590ef981ab7a59890506557f9510d902a0cff
 DIST pipewire-0.3.71.tar.bz2 1592332 BLAKE2B 
ff6483a040285cd7a7cc10878cc88b61a0e01c0376ab64ef84f753b300b61da23211bc1b50208da7f1054d6ddf08092e81cbf29df508aad3bc93f20742a2f735
 SHA512 
465388faaf0f7fcce21fdbcd7a1705ef524c35e267c3f123b1025c34133fc418194abb9e22d89e60c9acc1417b25d655112fd9ef342e26ca9b8bc26013b09cb3
 DIST pipewire-0.3.72.tar.bz2 1622951 BLAKE2B 
e3334410b551ba155dc79baecdd85fa5f214483ab53d11cc9b59ec2a0549957b67048d621ff1881ea927ba315d41c32ba3df97435453ff68173e2c450bf216aa
 SHA512 
f105a2afdc00a81cb8c95c57645257109fd3ac1bd0608eb59969473fd94600c8ecf1d3f51abebcf7f9d70307568b2f5f66c7480a014b3955bcb992d92ca3ff43
+DIST pipewire-0.3.73.tar.bz2 1627336 BLAKE2B 
cf26a0028f4a7df966e8ee1739a799cbe418ea15d8a2f292d2b6937f7029e8de3ae22ff8664936e200e48c024c0e58d2a0fd67e98e889490a1a6149276ab9ce3
 SHA512 
16ba011a394f520259f9f98641149bbfd6b910b3210b7ff62c0b3ed8c12a00ec0611bfa83316e8173138b034e30b9cb0ed982c2d1ac840ecf69405755d2a68f6

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-0.3.73.ebuild
similarity index 99%
copy from media-video/pipewire/pipewire-.ebuild
copy to media-video/pipewire/pipewire-0.3.73.ebuild
index a12a9ba9754e..f4759dc2e89a 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-0.3.73.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index a12a9ba9754e..f4759dc2e89a 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-07-03 Thread WANG Xuerui
commit: 65ed4616715aab115fee5e4075af1e272935a96d
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Jul  4 05:38:03 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Jul  4 05:38:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65ed4616

media-video/pipewire: keyword 0.3.72 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-video/pipewire/pipewire-0.3.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.72.ebuild 
b/media-video/pipewire/pipewire-0.3.72.ebuild
index ba953af8515b..f4759dc2e89a 100644
--- a/media-video/pipewire/pipewire-0.3.72.ebuild
+++ b/media-video/pipewire/pipewire-0.3.72.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-06-27 Thread Sam James
commit: d6601f65ecc9f340baf0f617d3bbcaec8aa71069
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 11:33:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 11:33:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6601f65

media-video/pipewire: put back lc3plus note

We have liblc3, but not liblc3plus (yet?)

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

 media-video/pipewire/pipewire-0.3.72.ebuild | 1 +
 media-video/pipewire/pipewire-.ebuild   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-video/pipewire/pipewire-0.3.72.ebuild 
b/media-video/pipewire/pipewire-0.3.72.ebuild
index 26c7fe7286da..ba953af8515b 100644
--- a/media-video/pipewire/pipewire-0.3.72.ebuild
+++ b/media-video/pipewire/pipewire-0.3.72.ebuild
@@ -219,6 +219,7 @@ multilib_src_configure() {
-Dsupport=enabled # Miscellaneous/common plugins, such as null 
sink
-Devl=disabled # Matches upstream
-Dtest=disabled # fakesink and fakesource plugins
+   -Dbluez5-codec-lc3plus=disabled # unpackaged
$(meson_native_use_feature liblc3 bluez5-codec-lc3)
$(meson_native_use_feature lv2)
$(meson_native_use_feature v4l v4l2)

diff --git a/media-video/pipewire/pipewire-.ebuild 
b/media-video/pipewire/pipewire-.ebuild
index 250c3b80d608..a12a9ba9754e 100644
--- a/media-video/pipewire/pipewire-.ebuild
+++ b/media-video/pipewire/pipewire-.ebuild
@@ -219,6 +219,7 @@ multilib_src_configure() {
-Dsupport=enabled # Miscellaneous/common plugins, such as null 
sink
-Devl=disabled # Matches upstream
-Dtest=disabled # fakesink and fakesource plugins
+   -Dbluez5-codec-lc3plus=disabled # unpackaged
$(meson_native_use_feature liblc3 bluez5-codec-lc3)
$(meson_native_use_feature lv2)
$(meson_native_use_feature v4l v4l2)



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-06-26 Thread Jakov Smolić
commit: afe2a69cd5d16ee48c5ff716a5bd7078785e90b7
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun 27 05:20:32 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun 27 05:20:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afe2a69c

media-video/pipewire: Keyword 0.3.72 riscv, #909200

Signed-off-by: Jakov Smolić  gentoo.org>

 media-video/pipewire/pipewire-0.3.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.72.ebuild 
b/media-video/pipewire/pipewire-0.3.72.ebuild
index 5077040f5fc2..26c7fe7286da 100644
--- a/media-video/pipewire/pipewire-0.3.72.ebuild
+++ b/media-video/pipewire/pipewire-0.3.72.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-06-26 Thread Arthur Zamarin
commit: 3373a663299f53f14fd53925943183ff50a45fcd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jun 26 18:38:03 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jun 26 18:38:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3373a663

media-video/pipewire: Keyword 0.3.72 arm, #909200

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

 media-video/pipewire/pipewire-0.3.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.72.ebuild 
b/media-video/pipewire/pipewire-0.3.72.ebuild
index f0d955b964a2..7870c3086cdc 100644
--- a/media-video/pipewire/pipewire-0.3.72.ebuild
+++ b/media-video/pipewire/pipewire-0.3.72.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc"
+   KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-06-26 Thread Arthur Zamarin
commit: 1d318b28fd3e3d7215d1d56f94f8d10d918a7da0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jun 26 18:37:57 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jun 26 18:37:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d318b28

media-video/pipewire: Keyword 0.3.72 sparc, #909200

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

 media-video/pipewire/pipewire-0.3.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.72.ebuild 
b/media-video/pipewire/pipewire-0.3.72.ebuild
index cc163bcd09fb..f0d955b964a2 100644
--- a/media-video/pipewire/pipewire-0.3.72.ebuild
+++ b/media-video/pipewire/pipewire-0.3.72.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~ppc ~ppc64"
+   KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-06-26 Thread Arthur Zamarin
commit: eb3902796bb1f0ddfffec78aa70622616da32587
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jun 26 18:38:07 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jun 26 18:38:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb390279

media-video/pipewire: Keyword 0.3.72 arm64, #909200

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

 media-video/pipewire/pipewire-0.3.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.72.ebuild 
b/media-video/pipewire/pipewire-0.3.72.ebuild
index 7870c3086cdc..5815bb44c8bf 100644
--- a/media-video/pipewire/pipewire-0.3.72.ebuild
+++ b/media-video/pipewire/pipewire-0.3.72.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/

2023-06-26 Thread Arthur Zamarin
commit: fba702edfd9146cf13212ee677a50f68402b9b52
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jun 26 18:37:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jun 26 18:37:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba702ed

media-video/pipewire: Keyword 0.3.72 ppc, #909200

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

 media-video/pipewire/pipewire-0.3.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/pipewire/pipewire-0.3.72.ebuild 
b/media-video/pipewire/pipewire-0.3.72.ebuild
index 6f6716930501..cc163bcd09fb 100644
--- a/media-video/pipewire/pipewire-0.3.72.ebuild
+++ b/media-video/pipewire/pipewire-0.3.72.ebuild
@@ -29,7 +29,7 @@ else

SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2;
fi
 
-   KEYWORDS="~amd64 ~ppc64"
+   KEYWORDS="~amd64 ~ppc ~ppc64"
 fi
 
 DESCRIPTION="Multimedia processing graphs"



  1   2   3   4   5   >