From 1bd62bd93acd1396ad76d27d015ba6b77f49b14b Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 26 Dec 2022 07:14:24 +0100 Subject: [PATCH] wireplumber: update 0.4.12 -> 0.4.13 - add PACKAGECONFIG option to enable dbus support Release 0.4.13 Additions: Added bluetooth SCO (HSP/HFP) hardware offload support, together with an example script that enables this functionality on the PinePhone Encoded audio (mp3, aac, etc...) can now be passed through, if this mode is supported by both the application and the device The v4l2 monitor now also respects the node.disabled and device.disabled properties inside rules Added "Firefox Developer Edition" to the list of apps that are allowed to trigger a bluetooth profile auto-switch (#381) Added support in the portal access script to allow newly plugged cameras to be immediately visible to the portal apps Fixes: Worked around an issue that would prevent streams from properly linking when using effects software like EasyEffects and JamesDSP (!450) Fixed destroying pavucontrol-qt monitor streams after the node that was being monitored is destroyed (#388) Fixed a crash in the alsa.lua monitor that could happen when a disabled device was removed and re-added (#361) Fixed a rare crash in the metadata object (#382) Fixed a bug where a restored node target would override the node target set by the application on the node's properties (#335) Packaging: Added build options to compile wireplumber's library, daemon and tools independently Added a build option to disable unit tests that require the dbus daemon Stopped using fakesink/fakesrc in the unit tests to be able to run them on default pipewire installations. Compiling the spa test plugin is no longer necessary Added pkg-config and header information in the gir file Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- ...plumber_0.4.12.bb => wireplumber_0.4.13.bb} | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) rename meta-multimedia/recipes-multimedia/wireplumber/{wireplumber_0.4.12.bb => wireplumber_0.4.13.bb} (90%) diff --git a/meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.4.12.bb b/meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.4.13.bb similarity index 90% rename from meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.4.12.bb rename to meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.4.13.bb index d80d9348a2f..5277626fa8d 100644 --- a/meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.4.12.bb +++ b/meta-multimedia/recipes-multimedia/wireplumber/wireplumber_0.4.13.bb @@ -11,10 +11,11 @@ DEPENDS = "glib-2.0 glib-2.0-native lua pipewire \ ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "python3-native python3-lxml-native doxygen-native", "", d)} \ " -SRCREV = "6f6e5df9c1b223907efa8dcbfcd538821d0dabc4" -SRC_URI = "git://gitlab.freedesktop.org/pipewire/wireplumber.git;branch=master;protocol=https \ - file://90-OE-disable-session-dbus-dependent-features.lua \ - " +SRCREV = "7cb1b8b92e96ebd1b7e632cda32715fed713d333" +SRC_URI = " \ + git://gitlab.freedesktop.org/pipewire/wireplumber.git;branch=master;protocol=https \ + file://90-OE-disable-session-dbus-dependent-features.lua \ +" S = "${WORKDIR}/git" @@ -45,18 +46,19 @@ PACKAGECONFIG[systemd-system-service] = "-Dsystemd-system-service=true,-Dsystemd # 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=true,-Dsystemd-user-service=false,systemd" +PACKAGECONFIG[dbus] = "" PACKAGESPLITFUNCS:prepend = " split_dynamic_packages " PACKAGESPLITFUNCS:append = " set_dynamic_metapkg_rdepends " WP_MODULE_SUBDIR = "wireplumber-0.4" -add_custom_lua_config_scripts() { - install -m 0644 ${WORKDIR}/90-OE-disable-session-dbus-dependent-features.lua ${D}${datadir}/wireplumber/main.lua.d +do_install:append() { + if ${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'false', 'true', d)}; then + install -m 0644 ${WORKDIR}/90-OE-disable-session-dbus-dependent-features.lua ${D}${datadir}/wireplumber/main.lua.d + fi } -do_install[postfuncs] += "add_custom_lua_config_scripts" - python split_dynamic_packages () { # Create packages for each WirePlumber module. wp_module_libdir = d.expand('${libdir}/${WP_MODULE_SUBDIR}')