summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorValentin Jec <valentin.jec@nxp.com>2024-04-11 16:39:31 +0300
committerValentin Jec <valentin.jec@nxp.com>2024-04-11 16:39:31 +0300
commitf2575b7e61c72d87fb9abee1ded4b976ececc4d6 (patch)
tree28812c2501743cf527a273eaa78499bb8949bfcb /recipes-multimedia
parent19d33d87a3f5bd836ee472f207f20c4e126a7d6b (diff)
downloadmeta-freescale-f2575b7e61c72d87fb9abee1ded4b976ececc4d6.tar.gz
recipes-multimedia: Upgrade to NXP release 6.6.3_1.0.0
Updated: - alsa-lib update to 6.6.3_1.0.0 release and skip QA check for 32bit timer - gstreamer1.0-plugins-bad_1.22.5.imx update to 6.6.3_1.0.0 release, enable g2d - gstreamer1.0-plugins-base_1.22.5.imx update to 6.6.3_1.0.0 release, add opengl dependencies - gstreamer1.0-plugins-good_1.22.5.imx update to 6.6.3_1.0.0 release, enable pulseaudio and 32bit timer - gstreamer1.0_1.22.5.imx update to 6.6.3_1.0.0 release and add runtime dependency glibc-gconv-iso8859-5 - imx-gst1.0-plugin update to 6.6.3_1.0.0 release - imx-vpuwrap update to 6.6.3_1.0.0 release Upgraded: - imx-codec: 4.8.2 -> 4.8.3 - imx-dsp-codec-ext: 2.1.6 -> 2.1.7 - imx-dsp: 2.1.6 -> 2.1.7 - imx-parser: 4.8.2 -> 4.8.3 - imx-opencl-converter: 0.1 -> 0.2.0 New feature: - pipewire_1.0.0 Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/alsa/alsa-lib/0001-pcm-Fix-segfault-with-32bit-libs.patch115
-rw-r--r--recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch41
-rw-r--r--recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch107
-rw-r--r--recipes-multimedia/alsa/alsa-lib_%.bbappend6
-rw-r--r--recipes-multimedia/alsa/imx-alsa-plugins_git.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb9
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb11
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb12
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0_1.22.5.imx.bb6
-rw-r--r--recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb15
-rw-r--r--recipes-multimedia/imx-codec/imx-codec_4.8.3.bb (renamed from recipes-multimedia/imx-codec/imx-codec_4.8.2.bb)6
-rw-r--r--recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.7.bb (renamed from recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.6.bb)6
-rw-r--r--recipes-multimedia/imx-dsp/imx-dsp_2.1.7.bb (renamed from recipes-multimedia/imx-dsp/imx-dsp_2.1.6.bb)6
-rw-r--r--recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb (renamed from recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.1.bb)8
-rw-r--r--recipes-multimedia/imx-parser/imx-parser_4.8.3.bb (renamed from recipes-multimedia/imx-parser/imx-parser_4.8.2.bb)6
-rw-r--r--recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb4
-rw-r--r--recipes-multimedia/pipewire/pipewire/0001-launch-allow-pipewire-pulse-can-be-started-by-root.patch41
-rw-r--r--recipes-multimedia/pipewire/pipewire_%.bbappend14
18 files changed, 379 insertions, 36 deletions
diff --git a/recipes-multimedia/alsa/alsa-lib/0001-pcm-Fix-segfault-with-32bit-libs.patch b/recipes-multimedia/alsa/alsa-lib/0001-pcm-Fix-segfault-with-32bit-libs.patch
new file mode 100644
index 00000000..6891c600
--- /dev/null
+++ b/recipes-multimedia/alsa/alsa-lib/0001-pcm-Fix-segfault-with-32bit-libs.patch
@@ -0,0 +1,115 @@
1From 0e3dfb9f705ca78be34cd70fd59d67c431e29cc7 Mon Sep 17 00:00:00 2001
2From: Takashi Iwai <tiwai@suse.de>
3Date: Sat, 9 Sep 2023 17:42:03 +0200
4Subject: [PATCH] pcm: Fix segfault with 32bit libs
5
6Upstream-Status: Backport [https://github.com/alsa-project/alsa-lib/commit/0e3dfb9f705ca78be34cd70fd59d67c431e29cc7]
7
8The recent rearrangement of header inclusion order caused a regression
9showing segfaults on 32bit Arm. The primary reason is the
10inconsistent compile condition depending on the inclusion of config.h;
11while most of other code include pcm_local.h (that implicitly includes
12config.h) at first, pcm_direct.c doesn't do it, hence the access with
13direct plugins crashes.
14
15For fixing it, we need to include config.h at the beginning. But,
16it's better to include pcm_local.h for all relevant code for
17consistency. The patch does it, and also it adds the guard in
18pcm_local.h for double inclusions.
19
20Fixes: ad3a8b8b314e ("reshuffle included files to include config.h as first")
21Link: https://github.com/alsa-project/alsa-lib/issues/352
22Signed-off-by: Takashi Iwai <tiwai@suse.de>
23---
24 src/pcm/pcm_direct.c | 1 +
25 src/pcm/pcm_dmix.c | 2 +-
26 src/pcm/pcm_dshare.c | 1 +
27 src/pcm/pcm_dsnoop.c | 1 +
28 src/pcm/pcm_local.h | 5 +++++
29 src/pcm/pcm_shm.c | 1 +
30 6 files changed, 10 insertions(+), 1 deletion(-)
31
32diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c
33index 040fc160..e53e5923 100644
34--- a/src/pcm/pcm_direct.c
35+++ b/src/pcm/pcm_direct.c
36@@ -19,6 +19,7 @@
37 *
38 */
39
40+#include "pcm_local.h"
41 #include <stdio.h>
42 #include <stdlib.h>
43 #include <stddef.h>
44diff --git a/src/pcm/pcm_dmix.c b/src/pcm/pcm_dmix.c
45index 7cd3c508..55cae3e7 100644
46--- a/src/pcm/pcm_dmix.c
47+++ b/src/pcm/pcm_dmix.c
48@@ -26,7 +26,7 @@
49 *
50 */
51
52-#include "config.h"
53+#include "pcm_local.h"
54 #include <stdio.h>
55 #include <stdlib.h>
56 #include <stddef.h>
57diff --git a/src/pcm/pcm_dshare.c b/src/pcm/pcm_dshare.c
58index 454b39a9..c0329098 100644
59--- a/src/pcm/pcm_dshare.c
60+++ b/src/pcm/pcm_dshare.c
61@@ -26,6 +26,7 @@
62 *
63 */
64
65+#include "pcm_local.h"
66 #include <stdio.h>
67 #include <stdlib.h>
68 #include <stddef.h>
69diff --git a/src/pcm/pcm_dsnoop.c b/src/pcm/pcm_dsnoop.c
70index d3ce300c..bf67c68a 100644
71--- a/src/pcm/pcm_dsnoop.c
72+++ b/src/pcm/pcm_dsnoop.c
73@@ -26,6 +26,7 @@
74 *
75 */
76
77+#include "pcm_local.h"
78 #include <stdio.h>
79 #include <stdlib.h>
80 #include <stddef.h>
81diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h
82index 6a0e71e7..152c92c3 100644
83--- a/src/pcm/pcm_local.h
84+++ b/src/pcm/pcm_local.h
85@@ -20,6 +20,9 @@
86 *
87 */
88
89+#ifndef __PCM_LOCAL_H
90+#define __PCM_LOCAL_H
91+
92 #include "config.h"
93
94 #include <stdio.h>
95@@ -1223,3 +1226,5 @@ static inline void snd_pcm_unlock(snd_pcm_t *pcm)
96 #define snd_pcm_lock(pcm) do {} while (0)
97 #define snd_pcm_unlock(pcm) do {} while (0)
98 #endif /* THREAD_SAFE_API */
99+
100+#endif /* __PCM_LOCAL_H */
101diff --git a/src/pcm/pcm_shm.c b/src/pcm/pcm_shm.c
102index f0bfd934..d9596547 100644
103--- a/src/pcm/pcm_shm.c
104+++ b/src/pcm/pcm_shm.c
105@@ -26,6 +26,7 @@
106 *
107 */
108
109+#include "pcm_local.h"
110 #include <stdio.h>
111 #include <stdlib.h>
112 #include <stddef.h>
113--
1142.25.1
115
diff --git a/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch b/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch
new file mode 100644
index 00000000..5ec0d2e9
--- /dev/null
+++ b/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch
@@ -0,0 +1,41 @@
1From aa4f56c3c952269c36464cc0da9db5a1381648fa Mon Sep 17 00:00:00 2001
2From: Jaroslav Kysela <perex@perex.cz>
3Date: Wed, 9 Nov 2022 08:11:42 +0100
4Subject: [PATCH] pcm: rate - fix the crash in
5
6Upstream-Status: Backport
7
8 snd_pcm_rate_may_wait_for_avail_min()
9
10The pcm argument passed to the conversion function in
11snd_pcm_plugin_may_wait_for_avail_min_conv() should be
12pcm->fast_op_arg.
13
14Test command: arecord -Dplughw:x -r12000 -c2 -fS16_LE -M temp.wav
15
16Fixes: d9dbb57b ("pcm: rate - rewrite the may_wait_for_avail_min callback for the rate plugin")
17
18BugLink: https://lore.kernel.org/alsa-devel/1667793912-18957-1-git-send-email-shengjiu.wang@nxp.com/
19Fixes: https://github.com/alsa-project/alsa-lib/issues/282
20Reported-by: Shengjiu Wang <shengjiu.wang@nxp.com>
21Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22---
23 src/pcm/pcm_plugin.c | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26diff --git a/src/pcm/pcm_plugin.c b/src/pcm/pcm_plugin.c
27index 6bb90b8b..ec64604c 100644
28--- a/src/pcm/pcm_plugin.c
29+++ b/src/pcm/pcm_plugin.c
30@@ -622,7 +622,7 @@ int snd_pcm_plugin_may_wait_for_avail_min_conv(
31 * This code is also used by extplug, but extplug does not allow to alter the sampling rate.
32 */
33 if (conv)
34- needed_slave_avail_min = conv(pcm, needed_slave_avail_min);
35+ needed_slave_avail_min = conv(pcm->fast_op_arg, needed_slave_avail_min);
36
37 if (slave->avail_min != needed_slave_avail_min) {
38 snd_pcm_sw_params_t *swparams;
39--
402.34.1
41
diff --git a/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch b/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch
new file mode 100644
index 00000000..64e15be4
--- /dev/null
+++ b/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch
@@ -0,0 +1,107 @@
1From 97d5e09a4166b45c567026e51b8a25ef5d7d587d Mon Sep 17 00:00:00 2001
2From: Chancel Liu <chancel.liu@nxp.com>
3Date: Fri, 29 Jul 2022 16:12:37 +0800
4Subject: [PATCH] add conf for imx-cs42448 sound card
5
6Upstream-Status: Inappropriate [i.MX specific]
7
8Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
9---
10 src/conf/cards/CS42448.conf | 58 +++++++++++++++++++++++++++++++++++++
11 src/conf/cards/Makefile.am | 3 +-
12 src/conf/cards/aliases.conf | 1 +
13 3 files changed, 61 insertions(+), 1 deletion(-)
14 create mode 100644 src/conf/cards/CS42448.conf
15
16diff --git a/src/conf/cards/CS42448.conf b/src/conf/cards/CS42448.conf
17new file mode 100644
18index 00000000..28ba5c48
19--- /dev/null
20+++ b/src/conf/cards/CS42448.conf
21@@ -0,0 +1,58 @@
22+#
23+# Configuration for the CS42448 chip
24+#
25+
26+# default with dmix & dsnoop
27+CS42448.pcm.default {
28+ @args [ CARD ]
29+ @args.CARD {
30+ type string
31+ }
32+ type asym
33+ playback.pcm {
34+ type plug
35+ slave.pcm {
36+ @func concat
37+ strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
38+ }
39+ }
40+ capture.pcm {
41+ type plug
42+ slave.pcm {
43+ @func concat
44+ strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ]
45+ }
46+ }
47+}
48+
49+<confdir:pcm/surround51.conf>
50+
51+CS42448.pcm.surround51.0 {
52+ @args [ CARD ]
53+ @args.CARD {
54+ type string
55+ }
56+ type plug
57+ slave.pcm {
58+ type hw
59+ card $CARD
60+ }
61+ slave.channels 6
62+}
63+
64+<confdir:pcm/surround71.conf>
65+
66+CS42448.pcm.surround71.0 {
67+ @args [ CARD ]
68+ @args.CARD {
69+ type string
70+ }
71+ type plug
72+ slave.pcm {
73+ type hw
74+ card $CARD
75+ }
76+ slave.channels 8
77+}
78+
79+# vim: ft=alsaconf
80diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am
81index 70b9bab3..6aba20b4 100644
82--- a/src/conf/cards/Makefile.am
83+++ b/src/conf/cards/Makefile.am
84@@ -62,7 +62,8 @@ cfg_files = aliases.conf \
85 CS42888.conf \
86 IMX-HDMI.conf \
87 AK4458.conf \
88- IMX-XCVR.conf
89+ IMX-XCVR.conf \
90+ CS42448.conf
91
92 if BUILD_ALISP
93 cfg_files += aliases.alisp
94diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf
95index e824145d..a40d3731 100644
96--- a/src/conf/cards/aliases.conf
97+++ b/src/conf/cards/aliases.conf
98@@ -61,6 +61,7 @@ imx-cs42888 cards.CS42888
99 imx-hdmi-soc cards.IMX-HDMI
100 ak4458-audio cards.AK4458
101 imx-audio-xcvr cards.IMX-XCVR
102+imx-cs42448 cards.CS42448
103
104 <confdir:ctl/default.conf>
105 <confdir:pcm/default.conf>
106--
1072.17.1
diff --git a/recipes-multimedia/alsa/alsa-lib_%.bbappend b/recipes-multimedia/alsa/alsa-lib_%.bbappend
index 0b4ddc9b..4be0d7e1 100644
--- a/recipes-multimedia/alsa/alsa-lib_%.bbappend
+++ b/recipes-multimedia/alsa/alsa-lib_%.bbappend
@@ -4,7 +4,13 @@ IMX_PATCH = " \
4 file://0001-add-conf-for-multichannel-support-in-imx.patch \ 4 file://0001-add-conf-for-multichannel-support-in-imx.patch \
5 file://0005-add-ak4458-conf-for-multichannel-support.patch \ 5 file://0005-add-ak4458-conf-for-multichannel-support.patch \
6 file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ 6 file://0006-add-conf-for-iMX-XCVR-sound-card.patch \
7 file://0007-add-conf-for-imx-cs42448-sound-card.patch \
8 file://0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch \
9 file://0001-pcm-Fix-segfault-with-32bit-libs.patch \
7" 10"
8SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}" 11SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}"
9 12
10PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" 13PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}"
14
15GLIBC_64BIT_TIME_FLAGS = ""
16INSANE_SKIP:append = " 32bit-time"
diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb
index c4ccaab7..e2acf767 100644
--- a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb
+++ b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb
@@ -20,7 +20,7 @@ inherit autotools pkgconfig use-imx-headers
20PV = "1.0.26+${SRCPV}" 20PV = "1.0.26+${SRCPV}"
21 21
22SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}" 22SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}"
23SRCBRANCH = "MM_04.08.02_2310_L6.1.y" 23SRCBRANCH = "MM_04.08.03_2312_L6.6.y"
24SRCREV = "b2ba082e70333f187972ee4e85f63f9d2f608331" 24SRCREV = "b2ba082e70333f187972ee4e85f63f9d2f608331"
25 25
26S = "${WORKDIR}/git" 26S = "${WORKDIR}/git"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb
index c9b2e621..3366a627 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb
@@ -187,8 +187,8 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plug
187 file://0002-avoid-including-sys-poll.h-directly.patch" 187 file://0002-avoid-including-sys-poll.h-directly.patch"
188SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " 188SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} "
189GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" 189GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https"
190SRCBRANCH = "MM_04.08.02_2310_L6.1.y" 190SRCBRANCH = "MM_04.08.03_2312_L6.6.y"
191SRCREV = "e4edcda6b110f42eca1f2cc20bc935edf7e66d6d" 191SRCREV = "9de821c50b4dd7af2407d9c3d078020704510a20"
192 192
193S = "${WORKDIR}/git" 193S = "${WORKDIR}/git"
194 194
@@ -204,6 +204,11 @@ PACKAGECONFIG_REMOVE ?= " \
204PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" 204PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}"
205PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress" 205PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress"
206 206
207PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}"
208PACKAGECONFIG_G2D ??= ""
209PACKAGECONFIG_G2D:imxgpu2d ??= "g2d"
210
211PACKAGECONFIG[g2d] = ",,virtual/libg2d"
207PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" 212PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress"
208 213
209EXTRA_OEMESON += " \ 214EXTRA_OEMESON += " \
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb
index 29347f21..dd7869a9 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb
@@ -118,16 +118,19 @@ SRC_URI:remove = " \
118SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " 118SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} "
119SRC_URI:append = " file://0001-gstallocator-Fix-typcasts.patch" 119SRC_URI:append = " file://0001-gstallocator-Fix-typcasts.patch"
120GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" 120GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https"
121SRCBRANCH = "MM_04.08.02_2310_L6.1.y" 121SRCBRANCH = "MM_04.08.03_2312_L6.6.y"
122SRCREV = "53a12f4e39773ca5b052eccbf0476d4ebd3ac08e" 122SRCREV = "c4333767ea122c182ba4e14cababe8dbe2a1b882"
123 123
124S = "${WORKDIR}/git" 124S = "${WORKDIR}/git"
125 125
126inherit use-imx-headers 126inherit use-imx-headers
127 127
128PACKAGECONFIG_REMOVE ?= "jpeg"
129PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" 128PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}"
130PACKAGECONFIG:append:imxgpu2d = " g2d" 129PACKAGECONFIG_REMOVE ?= "jpeg"
130
131PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}"
132PACKAGECONFIG_G2D ??= ""
133PACKAGECONFIG_G2D:imxgpu2d ??= "g2d"
131 134
132PACKAGECONFIG[g2d] = ",,virtual/libg2d" 135PACKAGECONFIG[g2d] = ",,virtual/libg2d"
133PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" 136PACKAGECONFIG[viv-fb] = ",,virtual/libgles2"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb
index 1a6197d5..9e09ef93 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb
@@ -97,6 +97,8 @@ LIC_FILES_CHKSUM = " \
97 file://LICENSE.txt;md5=a6f89e2100d9b6cdffcea4f398e37343 \ 97 file://LICENSE.txt;md5=a6f89e2100d9b6cdffcea4f398e37343 \
98 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \ 98 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \
99" 99"
100# Enable pulsesink in gstreamer
101PACKAGECONFIG:append = "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}"
100 102
101# fb implementation of v4l2 uses libdrm 103# fb implementation of v4l2 uses libdrm
102DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'v4l2', '${DEPENDS_V4L2}', '', d)}" 104DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'v4l2', '${DEPENDS_V4L2}', '', d)}"
@@ -109,8 +111,14 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plu
109 111
110SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " 112SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} "
111GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" 113GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https"
112SRCBRANCH = "MM_04.08.02_2310_L6.1.y" 114SRCBRANCH = "MM_04.08.03_2312_L6.6.y"
113SRCREV = "a4631334ad32abc513bde8f73491ef345f865a48" 115SRCREV = "d361360510c97dc23abbfcdd22dff8214890527d"
116
117# set 32bit compile timer for 32-bit platform
118GLIBC_64BIT_TIME_FLAGS:mx6-nxp-bsp = ""
119GLIBC_64BIT_TIME_FLAGS:mx7-nxp-bsp = ""
120INSANE_SKIP:mx6-nxp-bsp:append = " 32bit-time"
121INSANE_SKIP:mx7-nxp-bsp:append = " 32bit-time"
114 122
115S = "${WORKDIR}/git" 123S = "${WORKDIR}/git"
116 124
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.22.5.imx.bb
index bd0f723f..ce7b3f1d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0_1.22.5.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.22.5.imx.bb
@@ -74,6 +74,8 @@ FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include"
74FILES:${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*" 74FILES:${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*"
75FILES:${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb" 75FILES:${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb"
76 76
77RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-gconv-iso8859-5"
78
77CVE_PRODUCT = "gstreamer" 79CVE_PRODUCT = "gstreamer"
78 80
79PTEST_BUILD_HOST_FILES = "" 81PTEST_BUILD_HOST_FILES = ""
@@ -93,8 +95,8 @@ LIC_FILES_CHKSUM = " \
93SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz" 95SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz"
94SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " 96SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} "
95GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" 97GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https"
96SRCBRANCH = "MM_04.08.02_2310_L6.1.y" 98SRCBRANCH = "MM_04.08.03_2312_L6.6.y"
97SRCREV = "e51e577a730191911b7050216814bede1b9545ae" 99SRCREV = "1a43c16272a7f4274eb8260e03206a57f317d823"
98 100
99S = "${WORKDIR}/git" 101S = "${WORKDIR}/git"
100 102
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
index d99fd320..a13cf30a 100644
--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
@@ -4,8 +4,8 @@
4# Released under the MIT license (see COPYING.MIT for the terms) 4# Released under the MIT license (see COPYING.MIT for the terms)
5 5
6DESCRIPTION = "Gstreamer freescale plugins" 6DESCRIPTION = "Gstreamer freescale plugins"
7LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only"
8SECTION = "multimedia" 7SECTION = "multimedia"
8LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only"
9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" 9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
10 10
11DEPENDS = " \ 11DEPENDS = " \
@@ -19,7 +19,7 @@ DEPENDS = " \
19DEPENDS:append:mx6-nxp-bsp = " imx-lib" 19DEPENDS:append:mx6-nxp-bsp = " imx-lib"
20DEPENDS:append:mx7-nxp-bsp = " imx-lib" 20DEPENDS:append:mx7-nxp-bsp = " imx-lib"
21DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" 21DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib"
22DEPENDS:append:mx9-nxp-bsp = " imx-lib" 22DEPENDS:append:mx93-nxp-bsp = " imx-lib"
23DEPENDS:append:imxvpu = " imx-vpuwrap" 23DEPENDS:append:imxvpu = " imx-vpuwrap"
24DEPENDS:append:imxfbdev:imxgpu = " libdrm" 24DEPENDS:append:imxfbdev:imxgpu = " libdrm"
25DEPENDS_IMXGPU = "" 25DEPENDS_IMXGPU = ""
@@ -27,13 +27,14 @@ DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}"
27DEPENDS_IMX_OPENCL_CONVERTER = "" 27DEPENDS_IMX_OPENCL_CONVERTER = ""
28DEPENDS_IMX_OPENCL_CONVERTER:mx8-nxp-bsp = "imx-opencl-converter" 28DEPENDS_IMX_OPENCL_CONVERTER:mx8-nxp-bsp = "imx-opencl-converter"
29DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" 29DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = ""
30DEPENDS_IMX_OPENCL_CONVERTER:mx95-nxp-bsp = "imx-opencl-converter"
30 31
31# For backwards compatibility 32# For backwards compatibility
32RREPLACES:${PN} = "gst1.0-fsl-plugin" 33RREPLACES:${PN} = "gst1.0-fsl-plugin"
33RPROVIDES:${PN} = "gst1.0-fsl-plugin" 34RPROVIDES:${PN} = "gst1.0-fsl-plugin"
34RCONFLICTS:${PN} = "gst1.0-fsl-plugin" 35RCONFLICTS:${PN} = "gst1.0-fsl-plugin"
35 36
36PV = "4.8.2+git${SRCPV}" 37PV = "4.8.3+git${SRCPV}"
37 38
38SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \ 39SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \
39 file://0001-aiurdemux-Fix-type-of-USER_DATA_LOCATION.patch \ 40 file://0001-aiurdemux-Fix-type-of-USER_DATA_LOCATION.patch \
@@ -48,8 +49,8 @@ SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=
48 file://0010-provide-declaration-for-aiur_register_external_typef.patch \ 49 file://0010-provide-declaration-for-aiur_register_external_typef.patch \
49 file://0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch \ 50 file://0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch \
50 " 51 "
51SRCBRANCH = "MM_04.08.02_2310_L6.1.y" 52SRCBRANCH = "MM_04.08.03_2312_L6.6.y"
52SRCREV = "a72df52acfec5f849ec93906e33cb50da01b0b2e" 53SRCREV = "91c7fec888cf8932c91e354331aad94975cae3ff"
53 54
54S = "${WORKDIR}/git" 55S = "${WORKDIR}/git"
55 56
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.8.2.bb b/recipes-multimedia/imx-codec/imx-codec_4.8.3.bb
index 0822d530..0a2c71e7 100644
--- a/recipes-multimedia/imx-codec/imx-codec_4.8.2.bb
+++ b/recipes-multimedia/imx-codec/imx-codec_4.8.3.bb
@@ -5,14 +5,14 @@
5DESCRIPTION = "Freescale Multimedia codec libs" 5DESCRIPTION = "Freescale Multimedia codec libs"
6LICENSE = "Proprietary" 6LICENSE = "Proprietary"
7SECTION = "multimedia" 7SECTION = "multimedia"
8LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" 8LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
9 9
10# Backward compatibility 10# Backward compatibility
11PROVIDES += "libfslcodec" 11PROVIDES += "libfslcodec"
12 12
13SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 13SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
14SRC_URI[md5sum] = "1977bab8d89972f08d9eee0122a64603" 14SRC_URI[md5sum] = "7ae1615aad2c0456b9be2ab804a6267e"
15SRC_URI[sha256sum] = "b0744a91c265202a79a019c72f17cae01fd5b63a3ba451592b6c8349d95719e0" 15SRC_URI[sha256sum] = "9facb3541903b4a6c6baa906f8c2c6cc01fc8c7b82a726c8da6d3681d4ed720b"
16 16
17inherit fsl-eula-unpack autotools pkgconfig 17inherit fsl-eula-unpack autotools pkgconfig
18 18
diff --git a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.6.bb b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.7.bb
index 5d31eae7..bc73bd9f 100644
--- a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.6.bb
+++ b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.7.bb
@@ -2,14 +2,14 @@
2 2
3DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP" 3DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
6 6
7inherit fsl-eula-unpack autotools pkgconfig 7inherit fsl-eula-unpack autotools pkgconfig
8 8
9SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 9SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
10 10
11SRC_URI[md5sum] = "d211febb231717649d35553d22a50578" 11SRC_URI[md5sum] = "32251bc952ca7b9a4b12fadb9328a8c1"
12SRC_URI[sha256sum] = "d5f312d742493aee7e1f1304916aca8264bcf8d3f7de7e1522d30ba33efb6a8a" 12SRC_URI[sha256sum] = "0baa82410a77c68e39aaa987d91b41c94255d62294fa2f5a399169f3068862cc"
13 13
14EXTRA_OECONF:append:mx8qm-nxp-bsp = " --enable-imx8qmqxp" 14EXTRA_OECONF:append:mx8qm-nxp-bsp = " --enable-imx8qmqxp"
15EXTRA_OECONF:append:mx8qxp-nxp-bsp = " --enable-imx8qmqxp" 15EXTRA_OECONF:append:mx8qxp-nxp-bsp = " --enable-imx8qmqxp"
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.1.6.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.1.7.bb
index 3206420f..60761e6e 100644
--- a/recipes-multimedia/imx-dsp/imx-dsp_2.1.6.bb
+++ b/recipes-multimedia/imx-dsp/imx-dsp_2.1.7.bb
@@ -2,15 +2,15 @@
2 2
3DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries" 3DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
6 6
7 7
8inherit fsl-eula-unpack autotools pkgconfig 8inherit fsl-eula-unpack autotools pkgconfig
9 9
10SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 10SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
11 11
12SRC_URI[md5sum] = "07ff97f93abe2bc6117a120e534e70d4" 12SRC_URI[md5sum] = "199f88716f289e93e0954fa6475a3cbc"
13SRC_URI[sha256sum] = "5eab0259228746499990afe8de758a6ed505ec3fbd8a8adfc87a83c46a69bf2c" 13SRC_URI[sha256sum] = "83eaef592de33b4d5e8fae63d798cc955bf3c414911c87afeb65a20af01fb0b6"
14 14
15EXTRA_OECONF = " \ 15EXTRA_OECONF = " \
16 -datadir=${base_libdir}/firmware \ 16 -datadir=${base_libdir}/firmware \
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.1.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb
index 89df60d6..3dc0a7ea 100644
--- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.1.bb
+++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb
@@ -2,17 +2,17 @@
2DESCRIPTION = "NXP Multimedia opencl converter lib" 2DESCRIPTION = "NXP Multimedia opencl converter lib"
3LICENSE = "Proprietary" 3LICENSE = "Proprietary"
4SECTION = "multimedia" 4SECTION = "multimedia"
5LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
6DEPENDS = "opencl-headers" 6DEPENDS = "opencl-headers"
7 7
8SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 8SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
9SRC_URI[md5sum] = "426f4b1df6fe123f769aa8a0d7ef17d8" 9SRC_URI[md5sum] = "dc668682189ce740fb46073e62f58066"
10SRC_URI[sha256sum] = "16612be09675c2abe9c62337e6932b2e3fb788b1ec95ecede757350c4abf6870" 10SRC_URI[sha256sum] = "9f283df500c57421b87d96d9af7022ab490bc241aa28d00755beaadabbcd754b"
11 11
12inherit fsl-eula-unpack autotools pkgconfig meson 12inherit fsl-eula-unpack autotools pkgconfig meson
13 13
14FILES:${PN} += "${datadir}/" 14FILES:${PN} += "${datadir}/"
15 15
16COMPATIBLE_MACHINE = "(^$)" 16COMPATIBLE_MACHINE = "(^$)"
17COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp)" 17COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)"
18COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)" 18COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)"
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.8.2.bb b/recipes-multimedia/imx-parser/imx-parser_4.8.3.bb
index 4b59eb2f..4e580085 100644
--- a/recipes-multimedia/imx-parser/imx-parser_4.8.2.bb
+++ b/recipes-multimedia/imx-parser/imx-parser_4.8.3.bb
@@ -5,7 +5,7 @@
5DESCRIPTION = "Freescale Multimedia parser libs" 5DESCRIPTION = "Freescale Multimedia parser libs"
6LICENSE = "Proprietary" 6LICENSE = "Proprietary"
7SECTION = "multimedia" 7SECTION = "multimedia"
8LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" 8LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
9 9
10# For backwards compatibility 10# For backwards compatibility
11PROVIDES += "libfslparser" 11PROVIDES += "libfslparser"
@@ -14,8 +14,8 @@ RPROVIDES:${PN} = "libfslparser"
14RCONFLICTS:${PN} = "libfslparser" 14RCONFLICTS:${PN} = "libfslparser"
15 15
16SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 16SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
17SRC_URI[md5sum] = "2e862fce70bc82649057ed552473d982" 17SRC_URI[md5sum] = "9bca484287f5592b86ed10c1761a3fcc"
18SRC_URI[sha256sum] = "20f326821ced5d6855f81794b66ec1f0c334e9ec7a9be1368a9b4dc501b666c6" 18SRC_URI[sha256sum] = "b25267eefb4618b2ba8d6aba46a5b4e09621a44115036fc896e0777006472043"
19 19
20inherit fsl-eula-unpack autotools pkgconfig 20inherit fsl-eula-unpack autotools pkgconfig
21 21
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb
index fb7e23c3..af15e7b1 100644
--- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb
+++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb
@@ -11,8 +11,8 @@ DEPENDS = "virtual/imxvpu"
11DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" 11DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
12 12
13SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" 13SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}"
14SRCBRANCH = "MM_04.08.02_2310_L6.1.y" 14SRCBRANCH = "MM_04.08.03_2312_L6.6.y"
15SRCREV = "6f9b4c82e37688f50d756529d90b48c3cc80f2f6" 15SRCREV = "f974cecdb00b4a214e4b5229f2279e772ee43306"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
diff --git a/recipes-multimedia/pipewire/pipewire/0001-launch-allow-pipewire-pulse-can-be-started-by-root.patch b/recipes-multimedia/pipewire/pipewire/0001-launch-allow-pipewire-pulse-can-be-started-by-root.patch
new file mode 100644
index 00000000..ab34dc2f
--- /dev/null
+++ b/recipes-multimedia/pipewire/pipewire/0001-launch-allow-pipewire-pulse-can-be-started-by-root.patch
@@ -0,0 +1,41 @@
1From 2cac94185824aa7df07ec48a2872f3d26d517a6d Mon Sep 17 00:00:00 2001
2From: Shengjiu Wang <shengjiu.wang@nxp.com>
3Date: Tue, 28 Nov 2023 10:23:42 +0800
4Subject: [PATCH] launch: allow pipewire-pulse can be started by root.
5
6revert commit 8942f6b40 ("launch: avoid autostarting pipewire-pulse
7systemd units for root")
8
9Upstream-Status: Inappropriate [i.MX specific]
10Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
11---
12 src/daemon/systemd/user/pipewire-pulse.service.in | 1 -
13 src/daemon/systemd/user/pipewire-pulse.socket | 1 -
14 2 files changed, 2 deletions(-)
15
16diff --git a/src/daemon/systemd/user/pipewire-pulse.service.in b/src/daemon/systemd/user/pipewire-pulse.service.in
17index 73d22e532..da7728ee3 100644
18--- a/src/daemon/systemd/user/pipewire-pulse.service.in
19+++ b/src/daemon/systemd/user/pipewire-pulse.service.in
20@@ -14,7 +14,6 @@ Description=PipeWire PulseAudio
21 # After=pipewire-pulse.socket is not needed, as it is already implicit in the
22 # socket-service relationship, see systemd.socket(5).
23 Requires=pipewire-pulse.socket
24-ConditionUser=!root
25 Wants=pipewire.service pipewire-session-manager.service
26 After=pipewire.service pipewire-session-manager.service
27 Conflicts=pulseaudio.service
28diff --git a/src/daemon/systemd/user/pipewire-pulse.socket b/src/daemon/systemd/user/pipewire-pulse.socket
29index 1ae5edafb..d27fb0e26 100644
30--- a/src/daemon/systemd/user/pipewire-pulse.socket
31+++ b/src/daemon/systemd/user/pipewire-pulse.socket
32@@ -1,6 +1,5 @@
33 [Unit]
34 Description=PipeWire PulseAudio
35-ConditionUser=!root
36 Conflicts=pulseaudio.socket
37
38 [Socket]
39--
402.34.1
41
diff --git a/recipes-multimedia/pipewire/pipewire_%.bbappend b/recipes-multimedia/pipewire/pipewire_%.bbappend
new file mode 100644
index 00000000..7d84ee93
--- /dev/null
+++ b/recipes-multimedia/pipewire/pipewire_%.bbappend
@@ -0,0 +1,14 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2
3SRC_URI:append:imx-nxp-bsp = " file://0001-launch-allow-pipewire-pulse-can-be-started-by-root.patch"
4
5SYSTEMD_AUTO_ENABLE:imx-nxp-bsp = "disable"
6
7DEPENDS:append:mx95-nxp-bsp = " libdrm"
8
9PACKAGECONFIG:remove:mx95-nxp-bsp = "libcamera"
10PACKAGECONFIG:remove:imx-nxp-bsp = "gstreamer"
11PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}"
12
13# FIXME: Needs to qualify on PACKAGECONFIG
14SYSTEMD_SERVICE:${PN}-pulse = "pipewire-pulse.service"