new blfs: media-video/pipewire-1.4.9

This commit is contained in:
wyj
2026-01-14 15:34:23 -05:00
parent 684c63a337
commit 950f619342
5 changed files with 279 additions and 0 deletions
@@ -0,0 +1,17 @@
# Load pipewire configuration at conf hook processing time. This allows to
# override pulseaudio defaults configuration which is also applied via hook.
#
# Note since hooks are run after /etc/asound.conf and ~/.asoundrc are applied,
# we load these again here make sure that user configuration takes precedence.
@hooks [
{
func load
files [
"/usr/share/alsa/alsa.conf.d/99-pipewire-default.conf"
"/etc/asound.conf"
"~/.asoundrc"
]
errors false
}
]
@@ -0,0 +1,12 @@
diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in
--- a/src/daemon/pipewire.conf.in
+++ b/src/daemon/pipewire.conf.in
@@ -6,7 +6,7 @@ context.properties = {
#support.dbus = true
#link.max-buffers = 64
link.max-buffers = 16 # version < 3 clients can't handle more
- #mem.warn-mlock = false
+ mem.warn-mlock = true # Gentoo should have good RLIMITs now
#mem.allow-mlock = true
#mem.mlock-all = false
#clock.power-of-two-quantum = true
@@ -0,0 +1,38 @@
https://bugs.gentoo.org/955373
https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2420
From f42786d60cf94ba76ba447c3561148ed7d6c3293 Mon Sep 17 00:00:00 2001
Message-ID: <f42786d60cf94ba76ba447c3561148ed7d6c3293.1751075793.git.sam@gentoo.org>
From: Sam James <sam@gentoo.org>
Date: Sat, 28 Jun 2025 02:54:34 +0100
Subject: [PATCH] spa: allow disabling deps via -Debur128/-Dudev
With .enabled(), Meson doesn't have some magic that packagers rely on
to explicitly disable finding a dependency if an option is off. Drop
the unnecessary .enabled() accordingly.
---
spa/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/spa/meson.build b/spa/meson.build
index 48a0000a1..637aeb8d4 100644
--- a/spa/meson.build
+++ b/spa/meson.build
@@ -114,7 +114,7 @@ if get_option('spa-plugins').allowed()
cdata.set('HAVE_ALSA_COMPRESS_OFFLOAD', compress_offload_option.allowed())
# common dependencies
- libudev_dep = dependency('libudev', required: get_option('udev').enabled())
+ libudev_dep = dependency('libudev', required: get_option('udev'))
cdata.set('HAVE_LIBUDEV', libudev_dep.found())
summary({'Udev': libudev_dep.found()}, bool_yn: true, section: 'Backend')
@@ -124,7 +124,7 @@ if get_option('spa-plugins').allowed()
lilv_lib = dependency('lilv-0', required: get_option('lv2'))
summary({'lilv (for lv2 plugins)': lilv_lib.found()}, bool_yn: true, section: 'filter-graph')
- ebur128_lib = dependency('libebur128', required: get_option('ebur128').enabled())
+ ebur128_lib = dependency('libebur128', required: get_option('ebur128'))
summary({'EBUR128': ebur128_lib.found()}, bool_yn: true, section: 'filter-graph')
cdata.set('HAVE_SPA_PLUGINS', true)
@@ -0,0 +1,44 @@
https://bugs.gentoo.org/955373
https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2421
From 64b7a8990e2d6f37572d0b86c0d0847a283ba99e Mon Sep 17 00:00:00 2001
Message-ID: <64b7a8990e2d6f37572d0b86c0d0847a283ba99e.1751075990.git.sam@gentoo.org>
From: Sam James <sam@gentoo.org>
Date: Sat, 28 Jun 2025 02:59:03 +0100
Subject: [PATCH] meson: add fftw option
Packagers need to have a way to control whether a dependency is used
even if it's installed/available.
---
meson.build | 2 +-
meson_options.txt | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 2331ac826..0ba5c57a8 100644
--- a/meson.build
+++ b/meson.build
@@ -321,7 +321,7 @@ cdata.set('HAVE_DBUS', dbus_dep.found())
sdl_dep = dependency('sdl2', required : get_option('sdl2'))
summary({'SDL2 (video examples)': sdl_dep.found()}, bool_yn: true, section: 'Misc dependencies')
drm_dep = dependency('libdrm', required : false)
-fftw_dep = dependency('fftw3f', required : false)
+fftw_dep = dependency('fftw3f', required : get_option('fftw'))
summary({'fftw3f (filter-chain convolver)': fftw_dep.found()}, bool_yn: true, section: 'Misc dependencies')
cdata.set('HAVE_FFTW', fftw_dep.found())
diff --git a/meson_options.txt b/meson_options.txt
index 74ce3fa94..cd2c839f7 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -383,3 +383,7 @@ option('ebur128',
description: 'Enable code that depends on ebur128',
type: 'feature',
value: 'auto')
+option('fftw',
+ description: 'Enable code that depends on fftw',
+ type: 'feature',
+ value: 'auto')
--
2.50.0