diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2024-09-04 16:11:54 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-09-09 14:37:48 +0000 |
commit | b0db8f5e35a65ac44fa8931cfbc8386e3db85cf1 (patch) | |
tree | 90f4e2ce1838ceed6c61e1ad844ecb59018ed5a4 /meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb | |
parent | 7b8a17be6743d4e585392eb61a569a63c9ba4f4b (diff) |
meta-pipewire: update wireplumber to 0.5.6
- use the wireplumber recipe from meta-openembedded (albeit copied
here with the version changed, because 0.5.6 is not available in
meta-openembedded)
- rewrite configuration files as needed for 0.5.x
- configure wireplumber with the main service masked, using only the
template service files for a split-instance configuration.
split-instance facilitates the multi-container setup that is used
in the instrument cluster images.
Bug-AGL: SPEC-4934
Change-Id: Ica83f869cdc9527a9edce25e63918a2ba97a4766
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30243
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit 5dd43491b6e44664ad1d2e2fb596b6cb248c88fb)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30209
Diffstat (limited to 'meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb')
-rw-r--r-- | meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb deleted file mode 100644 index a04f115c3..000000000 --- a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb +++ /dev/null @@ -1,85 +0,0 @@ -SUMMARY = "Session / Policy Manager for PipeWire" -HOMEPAGE = "https://gitlab.freedesktop.org/pipewire/wireplumber" -BUGTRACKER = "https://gitlab.freedesktop.org/pipewire/wireplumber/issues" -AUTHOR = "George Kiagiadakis <george.kiagiadakis@collabora.com>" -SECTION = "multimedia" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;beginline=3;md5=e8ad01a5182f2c1b3a2640e9ea268264" - -inherit meson pkgconfig systemd - -DEPENDS = "glib-2.0 glib-2.0-native pipewire lua" - -SRC_URI = "\ - git://gitlab.freedesktop.org/pipewire/wireplumber.git;protocol=https;branch=master \ -" -# v0.4.17 -SRCREV = "d3eb77b292655cef333a8f4cab4e861415bc37c2" - -# patches to be able to compile with lower version of meson that is available in AGL. -SRC_URI += "\ -" - -PV = "0.4.17" -S = "${WORKDIR}/git" - -WPAPI="0.4" - -# use shared lua from the system instead of the static bundled one -EXTRA_OEMESON += "-Dsystem-lua=true" - -# introspection in practice is only used for generating API docs -# API docs are available on the website and we don't need to build them -# (plus they depend on hotdoc which is not available here) -EXTRA_OEMESON += "-Dintrospection=disabled -Ddoc=disabled" - -PACKAGECONFIG = "\ - ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ -" - -PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsystemd-system-service=true -Dsystemd-user-service=false,-Dsystemd=disabled -Dsystemd-system-service=false -Dsystemd-user-service=false,systemd" - -do_configure:prepend() { - # relax meson version requirement - # we only need 0.54 when building with -Dsystem-lua=false - sed "s/meson_version : '>= 0.56.0'/meson_version : '>= 0.53.2'/" ${S}/meson.build > ${S}/tmp.build - mv -f ${S}/tmp.build ${S}/meson.build -} - -PACKAGES =+ "\ - lib${PN}-${WPAPI} \ - ${PN}-config \ -" - -SYSTEMD_SERVICE:${PN} = "wireplumber.service" -FILES:${PN} = "\ - ${bindir}/wireplumber \ - ${bindir}/wpctl \ - ${bindir}/wpexec \ - ${libdir}/wireplumber-${WPAPI}/* \ - ${datadir}/wireplumber/scripts/* \ - ${datadir}/zsh/* \ - ${systemd_system_unitdir}/* \ -" - -FILES:lib${PN}-${WPAPI} = "\ - ${libdir}/libwireplumber-${WPAPI}.so.* \ -" - -FILES:${PN}-config += "\ - ${sysconfdir}/wireplumber/* \ - ${datadir}/wireplumber/*conf \ - ${datadir}/wireplumber/common/* \ - ${datadir}/wireplumber/main.lua.d/* \ - ${datadir}/wireplumber/bluetooth.lua.d/* \ - ${datadir}/wireplumber/policy.lua.d/* \ -" -do_install:append() { - rm -rf ${D}${sysconfdir}/wireplumber/ - rm -f ${D}${datadir}/wireplumber/*conf - rm -rf ${D}${datadir}/wireplumber/common - rm -rf ${D}${datadir}/wireplumber/main.lua.d - rm -rf ${D}${datadir}/wireplumber/bluetooth.lua.d - rm -rf ${D}${datadir}/wireplumber/policy.lua.d -} |