summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorCarlos Rafael Giani <crg7475@mailbox.org>2022-03-30 21:11:14 +0200
committerKhem Raj <raj.khem@gmail.com>2022-03-30 12:40:22 -0700
commite75c865426bbd334b50b2f2b15502a51f08ca2f7 (patch)
treecba95179f2c3339d478626cff201860e806122f2 /meta-multimedia
parent78e31790e204943a9311e9c5b31edd98b2392bd9 (diff)
downloadmeta-openembedded-e75c865426bbd334b50b2f2b15502a51f08ca2f7.tar.gz
pipewire: Upgrade to version 0.3.49
ChangeLogs can be found here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.46 https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.47 https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.48 https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.49 Main recipe change is about the RTKit module, which was deprecated and replaced by the new RT module. The recipe disables the legacy rtkit module (which exists for backwards compatibility with older existing PipeWire installations that use rtkit in their configuration files). Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/files/0001-meson-Add-option-to-enable-disable-legacy-RTKit-modu.patch44
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.49.bb (renamed from meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.45.bb)15
2 files changed, 55 insertions, 4 deletions
diff --git a/meta-multimedia/recipes-multimedia/pipewire/files/0001-meson-Add-option-to-enable-disable-legacy-RTKit-modu.patch b/meta-multimedia/recipes-multimedia/pipewire/files/0001-meson-Add-option-to-enable-disable-legacy-RTKit-modu.patch
new file mode 100644
index 0000000000..61bcdb3dd4
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/pipewire/files/0001-meson-Add-option-to-enable-disable-legacy-RTKit-modu.patch
@@ -0,0 +1,44 @@
1From b311f9e75f13205fd0738f7e89fd2062b9e7b237 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <crg7475@mailbox.org>
3Date: Wed, 30 Mar 2022 19:44:38 +0200
4Subject: [PATCH] meson: Add option to enable/disable legacy RTKit module
5
6The RTKit module is being replaced by the RT module. Currently, it is
7always built if D-Bus is present. For packagers, it can be beneficial to
8be able to disable the legacy module. Add a Meson option to allow for
9exactly that. Make it enabled by default to not change default behavior.
10
11Upstream-Status: Submitted [https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1204]
12---
13 meson_options.txt | 4 ++++
14 src/modules/meson.build | 2 +-
15 2 files changed, 5 insertions(+), 1 deletion(-)
16
17diff --git a/meson_options.txt b/meson_options.txt
18index 49d5b2203..2687bfe7e 100644
19--- a/meson_options.txt
20+++ b/meson_options.txt
21@@ -237,3 +237,7 @@ option('libcanberra',
22 description: 'Enable code that depends on libcanberra',
23 type: 'feature',
24 value: 'auto')
25+option('legacy-rtkit',
26+ description: 'Build legacy rtkit module',
27+ type: 'boolean',
28+ value: 'true')
29diff --git a/src/modules/meson.build b/src/modules/meson.build
30index ee724bf52..2d26cc459 100644
31--- a/src/modules/meson.build
32+++ b/src/modules/meson.build
33@@ -139,7 +139,7 @@ pipewire_module_rt = shared_library('pipewire-module-rt', [ 'module-rt.c' ],
34 dependencies : [dbus_dep, mathlib, dl_lib, pipewire_dep],
35 )
36
37-build_module_rtkit = dbus_dep.found()
38+build_module_rtkit = dbus_dep.found() and (get_option('legacy-rtkit') == true)
39 if build_module_rtkit
40 # TODO: This serves as a temporary alias to prevent breaking existing setups
41 # while `module-rtkit` is being migrated to `module-rt`
42--
432.32.0
44
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.45.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.49.bb
index 6ba3124846..b821f4400b 100644
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.45.bb
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.49.bb
@@ -13,8 +13,10 @@ LIC_FILES_CHKSUM = " \
13 13
14DEPENDS = "dbus ncurses" 14DEPENDS = "dbus ncurses"
15 15
16SRCREV = "bdd407fe66cc9e46d4bc4dcc989d50679000482b" 16SRCREV = "075e7b266876802eab0077afd13ea8e1cee5e1fd"
17SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https" 17SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https \
18 file://0001-meson-Add-option-to-enable-disable-legacy-RTKit-modu.patch \
19 "
18 20
19S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
20 22
@@ -49,6 +51,10 @@ SYSTEMD_PACKAGES = "${PN}"
49# 51#
50# AptX and LDAC are not available in OE. Currently, neither 52# AptX and LDAC are not available in OE. Currently, neither
51# are lv2 and ROC. 53# are lv2 and ROC.
54#
55# The RTKit module is deprecated in favor of the newer RT module.
56# It still exists for legacy setups that still include it in
57# their PipeWire configuration files.
52EXTRA_OEMESON += " \ 58EXTRA_OEMESON += " \
53 -Devl=disabled \ 59 -Devl=disabled \
54 -Dtests=disabled \ 60 -Dtests=disabled \
@@ -62,6 +68,7 @@ EXTRA_OEMESON += " \
62 -Droc=disabled \ 68 -Droc=disabled \
63 -Dbluez5-codec-aptx=disabled \ 69 -Dbluez5-codec-aptx=disabled \
64 -Dbluez5-codec-ldac=disabled \ 70 -Dbluez5-codec-ldac=disabled \
71 -Dlegacy-rtkit=false \
65" 72"
66 73
67PACKAGECONFIG ??= "\ 74PACKAGECONFIG ??= "\
@@ -306,8 +313,8 @@ FILES:${PN}-spa-tools = " \
306FILES:${PN}-modules = "" 313FILES:${PN}-modules = ""
307RRECOMMENDS:${PN}-modules += "${PN}-modules-meta" 314RRECOMMENDS:${PN}-modules += "${PN}-modules-meta"
308 315
309CONFFILES:${PN}-modules-rtkit = "${datadir}/pipewire/client-rt.conf" 316CONFFILES:${PN}-modules-rt = "${datadir}/pipewire/client-rt.conf"
310FILES:${PN}-modules-rtkit += " \ 317FILES:${PN}-modules-rt += " \
311 ${datadir}/pipewire/client-rt.conf \ 318 ${datadir}/pipewire/client-rt.conf \
312 " 319 "
313 320