speech-framework: Add initial speech-framework feature 23/18323/3
authorShotaro Uchida <shotaru@amazon.com>
Wed, 21 Nov 2018 21:17:37 +0000 (06:17 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 30 Nov 2018 18:18:16 +0000 (18:18 +0000)
Change-Id: I458161fea56928e338c1fe208e643e9a33141f6e
Signed-off-by: Shotaro Uchida <shotaru@amazon.com>
meta-speech-framework/conf/layer.conf [new file with mode: 0644]
meta-speech-framework/recipes-apis/agl-service-voice-high/agl-service-voice-high_git.bb [new file with mode: 0644]
meta-speech-framework/recipes-platform/packagegroups/packagegroup-agl-core-services.bbappend [new file with mode: 0644]
templates/feature/agl-speech-framework/50_bblayers.conf.inc [new file with mode: 0644]

diff --git a/meta-speech-framework/conf/layer.conf b/meta-speech-framework/conf/layer.conf
new file mode 100644 (file)
index 0000000..9e2ac61
--- /dev/null
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+       ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "speech-framework"
+BBFILE_PATTERN_speech-framework = "^${LAYERDIR}/"
+BBFILE_PRIORITY_speech-framework = "8"
diff --git a/meta-speech-framework/recipes-apis/agl-service-voice-high/agl-service-voice-high_git.bb b/meta-speech-framework/recipes-apis/agl-service-voice-high/agl-service-voice-high_git.bb
new file mode 100644 (file)
index 0000000..3416e10
--- /dev/null
@@ -0,0 +1,17 @@
+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.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/apps/agl-service-voice-high;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "b6abca2edcb36c0c0848d1cd8dc291f23293aa80"
+
+PV = "1.0+git${SRCPV}"
+S  = "${WORKDIR}/git"
+
+inherit cmake aglwgt
+
+DEPENDS += "json-c systemd af-binder glib-2.0 lua"
\ No newline at end of file
diff --git a/meta-speech-framework/recipes-platform/packagegroups/packagegroup-agl-core-services.bbappend b/meta-speech-framework/recipes-platform/packagegroups/packagegroup-agl-core-services.bbappend
new file mode 100644 (file)
index 0000000..b27aa90
--- /dev/null
@@ -0,0 +1 @@
+RDEPENDS_${PN} += "agl-service-voice-high"
\ No newline at end of file
diff --git a/templates/feature/agl-speech-framework/50_bblayers.conf.inc b/templates/feature/agl-speech-framework/50_bblayers.conf.inc
new file mode 100644 (file)
index 0000000..60f88c9
--- /dev/null
@@ -0,0 +1,5 @@
+
+BBLAYERS =+ " \
+       ${METADIR}/meta-agl-devel/meta-speech-framework \
+       "
+