From 12ad591d3038db609db5290d8bbe809a34c743de Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 20 Aug 2021 13:58:45 -0400 Subject: Convert to new override syntax This is effectively a manual cherry-pick and squash of commits: 4249268041b879b3d2bae338d5de88f4f2d54b26 07f4ab8c2833ae5377b97cc9e3820bed67e539d0 from the master branch with additional review and fixups. The intent of these changes is to minimize the effort to backport fixes from the master branch, which has been updated in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4144 Signed-off-by: Scott Murray Change-Id: I3b47f1b7d62038b314a17763d24a64f6d4e15e72 --- recipes-connectivity/bluez-alsa/bluez-alsa_git.bb | 8 ++++---- recipes-connectivity/bluez-alsa/bluez-alsa_git.bbappend | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'recipes-connectivity/bluez-alsa') diff --git a/recipes-connectivity/bluez-alsa/bluez-alsa_git.bb b/recipes-connectivity/bluez-alsa/bluez-alsa_git.bb index 010329ee7..27f462a87 100644 --- a/recipes-connectivity/bluez-alsa/bluez-alsa_git.bb +++ b/recipes-connectivity/bluez-alsa/bluez-alsa_git.bb @@ -22,21 +22,21 @@ inherit autotools pkgconfig inherit systemd SYSTEMD_AUTO_ENABLE = "enable" -SYSTEMD_SERVICE_${PN} = "bluez-alsa.service" +SYSTEMD_SERVICE:${PN} = "bluez-alsa.service" PACKAGECONFIG += "ofono" # enable debug tools in devel images PACKAGECONFIG[hcitop] = "--enable-hcitop, --disable-hcitop, libbsd ncurses" PACKAGECONFIG[rfcomm] = "--enable-rfcomm, --disable-rfcomm," -PACKAGECONFIG_append_agl-devel = " hcitop rfcomm" +PACKAGECONFIG:append:agl-devel = " hcitop rfcomm" -do_install_append () { +do_install:append () { install -d ${D}${base_libdir}/systemd/system install -m 0644 ${WORKDIR}/bluez-alsa.service ${D}${base_libdir}/systemd/system } -FILES_${PN} += "\ +FILES:${PN} += "\ ${datadir}/alsa/alsa.conf.d/20-bluealsa.conf\ ${libdir}/alsa-lib/libasound_module_ctl_bluealsa.so\ ${libdir}/alsa-lib/libasound_module_pcm_bluealsa.so\ diff --git a/recipes-connectivity/bluez-alsa/bluez-alsa_git.bbappend b/recipes-connectivity/bluez-alsa/bluez-alsa_git.bbappend index bcb47888f..b592e822b 100644 --- a/recipes-connectivity/bluez-alsa/bluez-alsa_git.bbappend +++ b/recipes-connectivity/bluez-alsa/bluez-alsa_git.bbappend @@ -1,4 +1,4 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/bluez-alsa:" +FILESEXTRAPATHS:prepend := "${THISDIR}/bluez-alsa:" SRC_URI += "\ file://0001-utils-add-a-gstreamer-helper-application-for-interco.patch \ @@ -8,7 +8,7 @@ SRC_URI += "\ PACKAGECONFIG += "gsthelper" PACKAGECONFIG[gsthelper] = "--enable-gsthelper, --disable-gsthelper, gstreamer1.0" -do_install_append() { +do_install:append() { if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then # install the service file mkdir -p ${D}${systemd_system_unitdir}/ @@ -22,12 +22,12 @@ do_install_append() { PACKAGES =+ "${PN}-pipewire" -FILES_${PN}-pipewire = "\ +FILES:${PN}-pipewire = "\ ${bindir}/bluealsa-gst-helper \ ${systemd_system_unitdir}/bluealsa-gst-helper@.service \ ${systemd_system_unitdir}/afm-user-session@.target.wants/bluealsa-gst-helper@.service \ " -RDEPENDS_${PN}-pipewire += "\ +RDEPENDS:${PN}-pipewire += "\ bluez-alsa \ pipewire \ gstreamer1.0-plugins-base \ -- cgit 1.2.3-korg