diff mbox series

[1/4] pipewire: minor tweaks

Message ID 20261204125546.3472805-1-ross.burton@arm.com
State New
Headers show
Series [1/4] pipewire: minor tweaks | expand

Commit Message

Ross Burton Dec. 4, 2026, 12:55 p.m. UTC
Some minor tweaks to the recipe:
- consolidate SRC_URI
- Update the comment on the 32-bit time issue
- Remove unused BLUETOOTH_AAC
- Delete pointless comments

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../pipewire/pipewire_1.6.11.bb               | 22 ++++++++-----------
 1 file changed, 9 insertions(+), 13 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-multimedia/pipewire/pipewire_1.6.11.bb b/meta/recipes-multimedia/pipewire/pipewire_1.6.11.bb
index 5fe4f3cb907..c0aa4250c6e 100644
--- a/meta/recipes-multimedia/pipewire/pipewire_1.6.11.bb
+++ b/meta/recipes-multimedia/pipewire/pipewire_1.6.11.bb
@@ -14,15 +14,17 @@  DEPENDS = "dbus"
 
 SRCREV = "4287f31510771fc999f8a58a024c81ca10b8d55f"
 BRANCH = "${@oe.utils.trim_version('${PV}', 2)}"
-SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=${BRANCH};protocol=https;tag=${PV}"
-SRC_URI += "file://0001-pipewire-compress-offload.patch"
-SRC_URI += "file://0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch"
-SRC_URI += "file://0003-spa-libcamera-device-0.8-compatibility.patch"
+
+SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=${BRANCH};protocol=https;tag=${PV} \
+           file://0001-pipewire-compress-offload.patch \
+           file://0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch \
+           file://0003-spa-libcamera-device-0.8-compatibility.patch \
+"
 
 inherit meson pkgconfig systemd gettext useradd
 
-# https://gitlab.freedesktop.org/pipewire/pipewire/-/work_items/5616
-# Remove when https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/3206 merges
+# Remove when this is in a release:
+# https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b64a1cf5b7e1abff16ee88c779bc2d2d147f3212
 INSANE_SKIP:append = " 32bit-time"
 
 USERADD_PACKAGES = "${PN}"
@@ -89,7 +91,6 @@  LDFLAGS += "${@bb.utils.contains_any('TUNE_FEATURES', 'riscv32 armv5 mips ppc32
 PIPEWIRE_SESSION_MANAGER ??= "wireplumber"
 
 FFMPEG_AVAILABLE = "${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'ffmpeg', '', d)}"
-BLUETOOTH_AAC = "${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'bluez-aac', '', d)}"
 
 PACKAGECONFIG:class-target ??= " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
@@ -132,20 +133,15 @@  PACKAGECONFIG[ncurses] = ",,ncurses"
 PACKAGECONFIG[pulseaudio] = "-Dlibpulse=enabled,-Dlibpulse=disabled,pulseaudio,,${MLPREFIX}pipewire-pulse"
 PACKAGECONFIG[pipewire-alsa] = "-Dpipewire-alsa=enabled,-Dpipewire-alsa=disabled,alsa-lib"
 PACKAGECONFIG[pipewire-jack] = "-Dpipewire-jack=enabled -Dlibjack-path=${libdir}/${PW_MODULE_SUBDIR}/jack,-Dpipewire-jack=disabled,jack,,${MLPREFIX}pipewire-jack,jack"
+# pw-cat needs sndfile packageconfig to be enabled
 PACKAGECONFIG[pw-cat] = "-Dpw-cat=enabled,-Dpw-cat=disabled"
 PACKAGECONFIG[raop] = "-Draop=enabled,-Draop=disabled,openssl"
-# Starting with version 0.3.60, readline usage can be turned off in pw-cli.
-# If it is disabled, getline() is used as a fallback.
 PACKAGECONFIG[readline] = "-Dreadline=enabled,-Dreadline=disabled,readline"
 PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,virtual/libsdl2"
 PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1"
 PACKAGECONFIG[systemd] = "-Dlibsystemd=enabled,-Dlibsystemd=disabled,systemd"
 PACKAGECONFIG[systemd-system-service] = "-Dsystemd-system-service=enabled,-Dsystemd-system-service=disabled,systemd"
-# "systemd-user-service" packageconfig will only install service
-# files to rootfs but not enable them as systemd.bbclass
-# currently lacks the feature of enabling user services.
 PACKAGECONFIG[systemd-user-service] = "-Dsystemd-user-service=enabled,-Dsystemd-user-service=disabled,systemd"
-# pw-cat needs sndfile packageconfig to be enabled
 PACKAGECONFIG[udev] = "-Dudev=enabled,-Dudev=disabled,udev"
 PACKAGECONFIG[v4l2] = "-Dv4l2=enabled,-Dv4l2=disabled,udev"
 PACKAGECONFIG[volume] = "-Dvolume=enabled,-Dvolume=disabled"