diff mbox series

[meta-multimedia] wireplumber: update 0.4.12 -> 0.4.13

Message ID 20221226061424.206203-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-multimedia] wireplumber: update 0.4.12 -> 0.4.13 | expand

Commit Message

Markus Volk Dec. 26, 2022, 6:14 a.m. UTC
- 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 <f_l_k@t-online.de>
---
 ...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 mbox series

Patch

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 d80d9348a..5277626fa 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}')