diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-14 16:19:42 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-22 11:16:40 -0300 |
| commit | 17b3ada80dbb5f9189e37b41146c44b85874e085 (patch) | |
| tree | e4cb9fdd4aecfedb38bda7ebc35bc2a69f4aa945 /dynamic-layers | |
| parent | 8eb6fbb80dcc577f2ac002e0e1941a47d6411d74 (diff) | |
| download | meta-freescale-17b3ada80dbb5f9189e37b41146c44b85874e085.tar.gz | |
pipewire: Order DEPENDS, fix override syntax and patch metadata per oelint
Move the DEPENDS:append above SRC_URI (oelint.var.order.DEPENDS) and
rewrite the conditional bluez-lc3 line as
PACKAGECONFIG:append:class-target:imx-nxp-bsp so :append leads the
override list (oelint.vars.overrideappend). Add an explanatory comment
on the PACKAGECONFIG:remove dispatch line noting it consumes the
machine-specialized PACKAGECONFIG_REMOVE helper defined just below it.
Correct the 0001 patch Upstream-Status reason from the non-standard
'[i.MX specific]' to '[embedded specific]', and restore the missing
Signed-off-by on the 0003 patch from its declared author.
No functional change to the build; override-order and DEPENDS position
are applied at finalization regardless of textual placement.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'dynamic-layers')
3 files changed, 6 insertions, 4 deletions
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire/0001-systemd-allow-pipewire-user-services-for-root.patch b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire/0001-systemd-allow-pipewire-user-services-for-root.patch index da159cfb2..2c31c43d6 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire/0001-systemd-allow-pipewire-user-services-for-root.patch +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire/0001-systemd-allow-pipewire-user-services-for-root.patch | |||
| @@ -9,7 +9,7 @@ BT ofono service needs root permission for starting service. | |||
| 9 | 9 | ||
| 10 | wireplumber[789]: 5:185m5:185mspa.bluez5: Failed to start HFP/HSP backend ofono | 10 | wireplumber[789]: 5:185m5:185mspa.bluez5: Failed to start HFP/HSP backend ofono |
| 11 | 11 | ||
| 12 | Upstream-Status: Inappropriate [i.MX specific] | 12 | Upstream-Status: Inappropriate [embedded specific] |
| 13 | Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> | 13 | Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> |
| 14 | --- | 14 | --- |
| 15 | src/daemon/systemd/user/pipewire.service.in | 1 - | 15 | src/daemon/systemd/user/pipewire.service.in | 1 - |
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire/0003-pipewiresrc-update-per-plane-stride-and-offset-accor.patch b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire/0003-pipewiresrc-update-per-plane-stride-and-offset-accor.patch index ce4d14371..45dec1645 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire/0003-pipewiresrc-update-per-plane-stride-and-offset-accor.patch +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire/0003-pipewiresrc-update-per-plane-stride-and-offset-accor.patch | |||
| @@ -5,6 +5,7 @@ Subject: [PATCH] pipewiresrc: update per-plane stride and offset according to | |||
| 5 | chunk info | 5 | chunk info |
| 6 | 6 | ||
| 7 | Upstream-Status: Pending | 7 | Upstream-Status: Pending |
| 8 | Signed-off-by: Elliot Chen <elliot.chen@nxp.com> | ||
| 8 | 9 | ||
| 9 | --- | 10 | --- |
| 10 | meson.build | 2 +- | 11 | meson.build | 2 +- |
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend index 44fed544b..88ebc4064 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 2 | 2 | ||
| 3 | DEPENDS:append:mx95-nxp-bsp = " libdrm" | ||
| 4 | |||
| 3 | SRC_URI:append:imx-nxp-bsp = " \ | 5 | SRC_URI:append:imx-nxp-bsp = " \ |
| 4 | file://0001-systemd-allow-pipewire-user-services-for-root.patch \ | 6 | file://0001-systemd-allow-pipewire-user-services-for-root.patch \ |
| 5 | file://0001-YOCIMX-9095-pipewiresrc-set-rank-to-secondary.patch \ | 7 | file://0001-YOCIMX-9095-pipewiresrc-set-rank-to-secondary.patch \ |
| @@ -8,14 +10,13 @@ SRC_URI:append:mx95-nxp-bsp = " \ | |||
| 8 | file://0003-pipewiresrc-update-per-plane-stride-and-offset-accor.patch \ | 10 | file://0003-pipewiresrc-update-per-plane-stride-and-offset-accor.patch \ |
| 9 | " | 11 | " |
| 10 | 12 | ||
| 11 | DEPENDS:append:mx95-nxp-bsp = " libdrm" | 13 | # Dispatch line consumes the machine-specialized helper var below. |
| 12 | |||
| 13 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" | 14 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" |
| 14 | PACKAGECONFIG_REMOVE ?= "" | 15 | PACKAGECONFIG_REMOVE ?= "" |
| 15 | PACKAGECONFIG_REMOVE:mx6-nxp-bsp ?= "gstreamer" | 16 | PACKAGECONFIG_REMOVE:mx6-nxp-bsp ?= "gstreamer" |
| 16 | PACKAGECONFIG_REMOVE:mx7-nxp-bsp ?= "gstreamer" | 17 | PACKAGECONFIG_REMOVE:mx7-nxp-bsp ?= "gstreamer" |
| 17 | 18 | ||
| 18 | PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" | 19 | PACKAGECONFIG:append:class-target:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" |
| 19 | 20 | ||
| 20 | # FIXME: Needs to qualify on PACKAGECONFIG | 21 | # FIXME: Needs to qualify on PACKAGECONFIG |
| 21 | SYSTEMD_SERVICE:${PN}-pulse = "pipewire-pulse.service" | 22 | SYSTEMD_SERVICE:${PN}-pulse = "pipewire-pulse.service" |
