pipewire: Upgrade to version 0.3.50

This is a bugfix release. Notably, this makes pw-dot work again - it
required workarounds via pw-dump to output a non-empty dot graph in 0.3.49.

Full changelog:

https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.50

0001-meson-Add-option-to-enable-disable-legacy-RTKit-modu.patch
is no no longer needed since it has been merged and is part of 0.3.50.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Carlos Rafael Giani 2022-04-26 11:43:47 +02:00 committed by Khem Raj
parent 19c6b9a324
commit 9754901bb0
2 changed files with 2 additions and 48 deletions

View File

@ -1,44 +0,0 @@
From b311f9e75f13205fd0738f7e89fd2062b9e7b237 Mon Sep 17 00:00:00 2001
From: Carlos Rafael Giani <crg7475@mailbox.org>
Date: Wed, 30 Mar 2022 19:44:38 +0200
Subject: [PATCH] meson: Add option to enable/disable legacy RTKit module
The RTKit module is being replaced by the RT module. Currently, it is
always built if D-Bus is present. For packagers, it can be beneficial to
be able to disable the legacy module. Add a Meson option to allow for
exactly that. Make it enabled by default to not change default behavior.
Upstream-Status: Submitted [https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1204]
---
meson_options.txt | 4 ++++
src/modules/meson.build | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson_options.txt b/meson_options.txt
index 49d5b2203..2687bfe7e 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -237,3 +237,7 @@ option('libcanberra',
description: 'Enable code that depends on libcanberra',
type: 'feature',
value: 'auto')
+option('legacy-rtkit',
+ description: 'Build legacy rtkit module',
+ type: 'boolean',
+ value: 'true')
diff --git a/src/modules/meson.build b/src/modules/meson.build
index ee724bf52..2d26cc459 100644
--- a/src/modules/meson.build
+++ b/src/modules/meson.build
@@ -139,7 +139,7 @@ pipewire_module_rt = shared_library('pipewire-module-rt', [ 'module-rt.c' ],
dependencies : [dbus_dep, mathlib, dl_lib, pipewire_dep],
)
-build_module_rtkit = dbus_dep.found()
+build_module_rtkit = dbus_dep.found() and (get_option('legacy-rtkit') == true)
if build_module_rtkit
# TODO: This serves as a temporary alias to prevent breaking existing setups
# while `module-rtkit` is being migrated to `module-rt`
--
2.32.0

View File

@ -13,10 +13,8 @@ LIC_FILES_CHKSUM = " \
DEPENDS = "dbus ncurses"
SRCREV = "075e7b266876802eab0077afd13ea8e1cee5e1fd"
SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https \
file://0001-meson-Add-option-to-enable-disable-legacy-RTKit-modu.patch \
"
SRCREV = "64cf5e80e6240284e6b757907b900507fe56f1b5"
SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https"
S = "${WORKDIR}/git"