pipewire: update to 0.3.34

This commit is contained in:
Stefano Ragni 2021-08-26 23:43:55 +02:00 committed by Érico Nogueira Rolim
parent f67532aa7c
commit 02efc0c1cb
3 changed files with 4 additions and 35 deletions

View file

@ -4,5 +4,5 @@
! [ -d /run/pipewire ] && install -m 755 -g _pipewire -o _pipewire -d /run/pipewire
umask 002
export PIPEWIRE_RUNTIME_DIR=/run/pipewire
export XDG_CONFIG_HOME=/var/lib
export XDG_STATE_HOME=/var/lib
exec chpst -u _pipewire:_pipewire:audio:video pipewire

View file

@ -1,31 +0,0 @@
From 0a5a4c046d10c0a53c7d2120a523cc28663ad73b Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com>
Date: Tue, 10 Aug 2021 11:23:48 +0200
Subject: [PATCH] alsa: Free global state
We need to do this or else newly plugged devices might not load.
It does not seem to harm UCM config on my machine, so this reverts
3d372424ccb96fd2b705c9ed94e76a82ad44e113
See #1478
---
spa/plugins/alsa/alsa-pcm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c
index 30fbbba6e..299bf03ff 100644
--- a/spa/plugins/alsa/alsa-pcm.c
+++ b/spa/plugins/alsa/alsa-pcm.c
@@ -20,6 +20,8 @@ int spa_alsa_init(struct state *state)
{
int err;
+ snd_config_update_free_global();
+
if (state->open_ucm) {
char card_name[64];
const char *alibpref = NULL;
--
GitLab

View file

@ -1,7 +1,7 @@
# Template file for 'pipewire'
pkgname=pipewire
version=0.3.33
revision=2
version=0.3.34
revision=1
build_style=meson
configure_args="
--auto-features=enabled
@ -27,7 +27,7 @@ license="MIT"
homepage="https://pipewire.org/"
changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
checksum=f60662be410523cbb767dbee81156f9e9e3bd2b06d0ea21e94c11eb7a6530bcc
checksum=7934dd634fa2c6ef7f30c28bc33c102ac39e510dfbbbb4388906590b80b8c991
make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
system_accounts="_pipewire"