From a8dbd14daaac8b5c52326262dbc43975836cc0df Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 20 Aug 2021 13:57:33 -0400 Subject: Convert to new override syntax This is effectively a manual cherry-pick of commit: 37d3b1b316470fdcfebc59d5522bfbfefc025ff6 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: Ic649d942ac043edc52976a3d4190590bb1c125e7 --- .../alexa-voiceagent-service/alexa-voice-high-config_1.0.bb | 2 +- .../alexa-voiceagent-service/alexa-voiceagent-config_1.0.bb | 2 +- .../alexa-voiceagent-service/alexa-voiceagent-service_git.bb | 6 +++--- .../recipes-avs/avs-device-sdk/avs-device-sdk_1.19.1.bbappend | 2 +- .../aac-module-car-control/aac-module-car-control.bbappend | 4 ++-- .../aac-module-messaging/aac-module-messaging.bbappend | 4 ++-- .../aac-module-system-audio/aac-module-system-audio.bbappend | 4 ++-- .../packagegroups/packagegroup-agl-voiceagent-alexa.bb | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) (limited to 'meta-speech-framework/meta-aac') diff --git a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voice-high-config_1.0.bb b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voice-high-config_1.0.bb index 736a7ce5..6b0203a9 100644 --- a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voice-high-config_1.0.bb +++ b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voice-high-config_1.0.bb @@ -16,5 +16,5 @@ do_install () { install -D -m 644 ${WORKDIR}/voice-high.json ${D}${sysconfdir}/xdg/AGL/voice-high.json } -RPROVIDES_${PN} += "virtual/voice-high-config" +RPROVIDES:${PN} += "virtual/voice-high-config" diff --git a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-config_1.0.bb b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-config_1.0.bb index a16ad182..13d259b8 100644 --- a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-config_1.0.bb +++ b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-config_1.0.bb @@ -48,4 +48,4 @@ do_install () { install -D -m 644 ${WORKDIR}/AlexaAutoCoreEngineConfig.json ${D}${sysconfdir}/xdg/AGL/AlexaAutoCoreEngineConfig.json } -RPROVIDES_${PN} += "virtual/alexa-voiceagent-config" +RPROVIDES:${PN} += "virtual/alexa-voiceagent-config" diff --git a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb index 580b141c..c08377cd 100644 --- a/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb +++ b/meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb @@ -38,17 +38,17 @@ EXTRA_OECMAKE += "-DAAC_HOME=${RECIPE_SYSROOT}/${AAC_PREFIX}" ALEXA_WAKEWORD ??= "false" -do_install_append() { +do_install:append() { install -D -m 0644 ${WORKDIR}/alexa.json ${D}${sysconfdir}/xdg/AGL/voiceagents/alexa.json } PACKAGES =+ "${PN}-conf" -FILES_${PN}-conf = "${sysconfdir}/xdg/AGL/voiceagents/*" +FILES:${PN}-conf = "${sysconfdir}/xdg/AGL/voiceagents/*" # NOTE: curl and opus are from the base SDK libraries, sqlite3 from the # core module -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ libcurl \ libopus \ libsqlite3 \ diff --git a/meta-speech-framework/meta-aac/recipes-avs/avs-device-sdk/avs-device-sdk_1.19.1.bbappend b/meta-speech-framework/meta-aac/recipes-avs/avs-device-sdk/avs-device-sdk_1.19.1.bbappend index d4ea2592..3b1bc32c 100644 --- a/meta-speech-framework/meta-aac/recipes-avs/avs-device-sdk/avs-device-sdk_1.19.1.bbappend +++ b/meta-speech-framework/meta-aac/recipes-avs/avs-device-sdk/avs-device-sdk_1.19.1.bbappend @@ -1,3 +1,3 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" +FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" SRC_URI += "file://0001-connection-deadlock-workaround.patch" diff --git a/meta-speech-framework/meta-aac/recipes-modules/aac-module-car-control/aac-module-car-control.bbappend b/meta-speech-framework/meta-aac/recipes-modules/aac-module-car-control/aac-module-car-control.bbappend index 93b7b443..a4a0c57b 100644 --- a/meta-speech-framework/meta-aac/recipes-modules/aac-module-car-control/aac-module-car-control.bbappend +++ b/meta-speech-framework/meta-aac/recipes-modules/aac-module-car-control/aac-module-car-control.bbappend @@ -1,3 +1,3 @@ # Fix nlohmann dependency to pick up newer nlohmann-json recipe in meta-oe -DEPENDS_remove = "nlohmann" -DEPENDS_append = " nlohmann-json" +DEPENDS:remove = "nlohmann" +DEPENDS:append = " nlohmann-json" diff --git a/meta-speech-framework/meta-aac/recipes-modules/aac-module-messaging/aac-module-messaging.bbappend b/meta-speech-framework/meta-aac/recipes-modules/aac-module-messaging/aac-module-messaging.bbappend index 93b7b443..a4a0c57b 100644 --- a/meta-speech-framework/meta-aac/recipes-modules/aac-module-messaging/aac-module-messaging.bbappend +++ b/meta-speech-framework/meta-aac/recipes-modules/aac-module-messaging/aac-module-messaging.bbappend @@ -1,3 +1,3 @@ # Fix nlohmann dependency to pick up newer nlohmann-json recipe in meta-oe -DEPENDS_remove = "nlohmann" -DEPENDS_append = " nlohmann-json" +DEPENDS:remove = "nlohmann" +DEPENDS:append = " nlohmann-json" diff --git a/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/aac-module-system-audio.bbappend b/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/aac-module-system-audio.bbappend index 94e9f94b..7417b494 100644 --- a/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/aac-module-system-audio.bbappend +++ b/meta-speech-framework/meta-aac/recipes-modules/aac-module-system-audio/aac-module-system-audio.bbappend @@ -1,4 +1,4 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" # Needed for the required gstreamer-app-1.0 pkgconfig bits DEPENDS += "gstreamer1.0-plugins-base" @@ -9,4 +9,4 @@ AAC_PATCHES += "file://0001-update-pipewire-gstreamer-plugins.patch" EXTRA_OECMAKE += "-DUSE_PIPEWIRE=1" # Pull static library into appropriate package to avoid a QA error -FILES_${PN}-staticdev += "${AAC_PREFIX}/lib/libaal.a" +FILES:${PN}-staticdev += "${AAC_PREFIX}/lib/libaal.a" diff --git a/meta-speech-framework/meta-aac/recipes-platform/packagegroups/packagegroup-agl-voiceagent-alexa.bb b/meta-speech-framework/meta-aac/recipes-platform/packagegroups/packagegroup-agl-voiceagent-alexa.bb index 4b4016af..12f51604 100644 --- a/meta-speech-framework/meta-aac/recipes-platform/packagegroups/packagegroup-agl-voiceagent-alexa.bb +++ b/meta-speech-framework/meta-aac/recipes-platform/packagegroups/packagegroup-agl-voiceagent-alexa.bb @@ -9,6 +9,6 @@ PACKAGES = "\ packagegroup-agl-voiceagent-alexa \ " -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ alexa-voiceagent-service \ " -- cgit 1.2.3-korg