diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-12-17 17:17:19 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-12-17 17:17:19 +0100 |
commit | 796f796a2895f2bd840e2eb514532339b53be013 (patch) | |
tree | 00c8abe493db22a527d7cf662a478293c958a2bb | |
parent | 41591d4f8c586aa801220fac0924556f406c58bd (diff) |
Move core speech service to meta-agl-demokoi_10.91.0koi/10.91.010.91.0
This moves the generic agl-speechframework to meta-agl-demo.
The alexa-voiceagent bits remain in meta-agl-devel for now.
This fixes a dependency of the settings app.
Bug-AGL: SPEC-3734
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: If177271a4a2584ec71ab53ac02764c8065f8b313
6 files changed, 76 insertions, 0 deletions
diff --git a/conf/include/agl-demo.inc b/conf/include/agl-demo.inc index 390f47ea8..c3c051d88 100644 --- a/conf/include/agl-demo.inc +++ b/conf/include/agl-demo.inc @@ -11,3 +11,8 @@ FEATURE_PACKAGES_agl-voiceagent-alexa_append = " alexa-viewer" # enable the layer AGL_FEATURES_append = " agldemo" + +# voice api inclusion +PREFERRED_RPROVIDER_virtual/voice-high-config = "default-voice-high-config" +FEATURE_PACKAGES_agl-speech-framework = "packagegroup-agl-speech-services" +IMAGE_FEATURES += "agl-speech-framework" diff --git a/recipes-apis/agl-service-voice-high-capabilities/agl-service-voice-high-capabilities_git.bb b/recipes-apis/agl-service-voice-high-capabilities/agl-service-voice-high-capabilities_git.bb new file mode 100644 index 000000000..0ab1f3d8f --- /dev/null +++ b/recipes-apis/agl-service-voice-high-capabilities/agl-service-voice-high-capabilities_git.bb @@ -0,0 +1,17 @@ +SUMMARY = "agl-service-voice-high" +DESCRIPTION = "AGL High Level Voice service" +HOMEPAGE = "https://git.automotivelinux.org/apps/agl-service-voice-high-capabilities" +SECTION = "apps" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS = "libafb-helpers libappcontroller nlohmann-json" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-voice-high-capabilities.git;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "${AGL_APP_REVISION}" + +PV = "0.1+git${SRCPV}" +S = "${WORKDIR}/git" + +inherit cmake pkgconfig aglwgt diff --git a/recipes-apis/agl-service-voice-high/agl-service-voice-high_git.bb b/recipes-apis/agl-service-voice-high/agl-service-voice-high_git.bb new file mode 100644 index 000000000..b3c782bb4 --- /dev/null +++ b/recipes-apis/agl-service-voice-high/agl-service-voice-high_git.bb @@ -0,0 +1,19 @@ +SUMMARY = "High level voice service binding" +DESCRIPTION = "agl-service-voice-high is the binding library" +HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/apps/agl-service-voice-high" +SECTION = "apps" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS = "json-c systemd af-binder libafb-helpers libappcontroller nlohmann-json glib-2.0" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-voice-high;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "${AGL_APP_REVISION}" + +PV = "1.0+git${SRCPV}" +S = "${WORKDIR}/git" + +inherit cmake aglwgt + +RDEPENDS_${PN} += "virtual/voice-high-config" diff --git a/recipes-apis/agl-service-voice-high/default-voice-high-config/voice-high.json b/recipes-apis/agl-service-voice-high/default-voice-high-config/voice-high.json new file mode 100644 index 000000000..1b72b8c85 --- /dev/null +++ b/recipes-apis/agl-service-voice-high/default-voice-high-config/voice-high.json @@ -0,0 +1 @@ +{ "default": "" } diff --git a/recipes-apis/agl-service-voice-high/default-voice-high-config_1.0.bb b/recipes-apis/agl-service-voice-high/default-voice-high-config_1.0.bb new file mode 100644 index 000000000..b015dd5d9 --- /dev/null +++ b/recipes-apis/agl-service-voice-high/default-voice-high-config_1.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "High level voice service binding default voiceagent configuration" +DESCRIPTION = "Default voiceagent JSON configuration file for agl-service-voice-high binding" +HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/apps/agl-service-voice-high" +SECTION = "apps" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI = "file://voice-high.json" + +inherit allarch + +do_compile[noexec] = "1" + +do_install () { + install -D -m 644 ${WORKDIR}/voice-high.json ${D}${sysconfdir}/xdg/AGL/voice-high.json +} + +RPROVIDES_${PN} += "virtual/voice-high-config" + diff --git a/recipes-platform/packagegroups/packagegroup-agl-speech-services.bb b/recipes-platform/packagegroups/packagegroup-agl-speech-services.bb new file mode 100644 index 000000000..8dd97f394 --- /dev/null +++ b/recipes-platform/packagegroups/packagegroup-agl-speech-services.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "The set of packages for AGL Speech Subsystem" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-speech-services \ + " + +RDEPENDS_${PN} += "\ + agl-service-voice-high \ + agl-service-voice-high-capabilities \ + ${PREFERRED_RPROVIDER_virtual/voice-high-config} \ +" |