diff options
Diffstat (limited to 'templates/feature/agl-voiceagent-alexa-wakeword')
6 files changed, 0 insertions, 99 deletions
diff --git a/templates/feature/agl-voiceagent-alexa-wakeword/50_bblayers.conf.inc b/templates/feature/agl-voiceagent-alexa-wakeword/50_bblayers.conf.inc deleted file mode 100644 index 31f4dca8..00000000 --- a/templates/feature/agl-voiceagent-alexa-wakeword/50_bblayers.conf.inc +++ /dev/null @@ -1,6 +0,0 @@ -BBLAYERS =+ " \ - ${METADIR}/external/alexa-auto-sdk/extensions/extras/amazonlite/meta-aac-amazonlite \ -" - -# Include the recipe for the required module as well -BBFILES += "${METADIR}/external/alexa-auto-sdk/extensions/extras/amazonlite/modules/*/*.bb" diff --git a/templates/feature/agl-voiceagent-alexa-wakeword/50_local.conf.inc b/templates/feature/agl-voiceagent-alexa-wakeword/50_local.conf.inc deleted file mode 100644 index 41af3db8..00000000 --- a/templates/feature/agl-voiceagent-alexa-wakeword/50_local.conf.inc +++ /dev/null @@ -1 +0,0 @@ -ALEXA_WAKEWORD = "true" diff --git a/templates/feature/agl-voiceagent-alexa-wakeword/50_setup.sh b/templates/feature/agl-voiceagent-alexa-wakeword/50_setup.sh deleted file mode 100644 index 6e1d2503..00000000 --- a/templates/feature/agl-voiceagent-alexa-wakeword/50_setup.sh +++ /dev/null @@ -1,45 +0,0 @@ -# Install and patch Amazon Alexa Auto SDK "amazonlite" wakeword engine - -pushd $METADIR >/dev/null 2>&1 - -WAKEWORD_FEATURE_DIR="$METADIR/meta-agl-devel/templates/feature/agl-voiceagent-alexa-wakeword" -AMAZONLITE_VER="2.3" -AMAZONLITE_PATCH="${WAKEWORD_FEATURE_DIR}/amazonlite-${AMAZONLITE_VER}.patch" -AUTOSDK_EXTRAS_DIR="$METADIR/external/alexa-auto-sdk/extensions/extras" -AMAZONLITE_DIR="${AUTOSDK_EXTRAS_DIR}/amazonlite" - -if [ -f "${AMAZONLITE_DIR}/README.md" ]; then - ver=`grep '^Unzip the' "${AMAZONLITE_DIR}/README.md" | sed 's/.*amazonlite-\([0-9]\+\.[0-9]\+\)\.zip.*/\1/'` - if [ "$ver" != ${AMAZONLITE_VER} ]; then - echo "ERROR: ${AMAZONLITE_DIR} does not contain version ${AMAZONLITE_VER}!" >&2 - exit 1 - fi -fi - -test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs -DOWNLOAD_DIR=${XDG_DOWNLOAD_DIR:-$HOME/Downloads} - -if [ ! -f "${DOWNLOAD_DIR}/amazonlite-${AMAZONLITE_VER}.zip" ]; then - echo "ERROR: amazonlite-${AMAZONLITE_VER}.zip not found in ${DOWNLOAD_DIR}!" >&2 - exit 1 -elif [ ! -d "${AUTOSDK_EXTRAS_DIR}" ]; then - echo "ERROR: Directory ${AUTOSDK_EXTRAS_DIR} not present!" >&2 - exit 1 -fi -cd "${AUTOSDK_EXTRAS_DIR}" -if [ ! -d amazonlite ]; then - echo "Extracting ${DOWNLOAD_DIR}/amazonlite-${AMAZONLITE_VER}.zip" - unzip -q "${DOWNLOAD_DIR}/amazonlite-${AMAZONLITE_VER}.zip" || exit 1 - cd amazonlite - echo "Patching ${AMAZONLITE_DIR}" - patch -p0 < "${AMAZONLITE_PATCH}" -else - cat <<-EOF -The amazonlite ${AMAZONLITE_VER} wakeword engine is already installed. -To force reinstallation, manually remove the directory: - ${AMAZONLITE_DIR} - -EOF -fi - -popd >/dev/null 2>&1 diff --git a/templates/feature/agl-voiceagent-alexa-wakeword/README_feature_agl-voiceagent-alexa-wakeword.md b/templates/feature/agl-voiceagent-alexa-wakeword/README_feature_agl-voiceagent-alexa-wakeword.md deleted file mode 100644 index 4917a96f..00000000 --- a/templates/feature/agl-voiceagent-alexa-wakeword/README_feature_agl-voiceagent-alexa-wakeword.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -description: Feature agl-voiceagent-alexa-wakeword -authors: Scott Murray <scott.murray@konsulko.com> ---- - -### Feature agl-voiceagent-alexa-wakeword - -Enables building the Amazon Alexa voiceagent binding with included wakeword engine support. - -Note that this features assumes that the amazonlite wakeword engine ZIP file -(i.e. amazonlite-2.3.zip) is present in the directory pointed at by the -XDG_DOWNLOAD_DIR environment variable if it is set, and $HOME/Downloads -otherwise. The zip file will be extracted into place in the alexa-auto-sdk -repository (at external/alexa-auto-sdk/extensions/extra/amazonlite), and -patched to work with the version of Yocto used by AGL. diff --git a/templates/feature/agl-voiceagent-alexa-wakeword/amazonlite-2.3.patch b/templates/feature/agl-voiceagent-alexa-wakeword/amazonlite-2.3.patch deleted file mode 100644 index ec9975fa..00000000 --- a/templates/feature/agl-voiceagent-alexa-wakeword/amazonlite-2.3.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- meta-aac-amazonlite/recipes-avs/avs-device-sdk/avs-device-sdk_%.bbappend.bak 2021-02-01 16:41:34.464564753 -0500 -+++ meta-aac-amazonlite/recipes-avs/avs-device-sdk/avs-device-sdk_%.bbappend 2021-02-01 16:41:54.392457938 -0500 -@@ -3,6 +3,8 @@ - - SRC_URI += "file://${AMAZONLITE_PACKAGES}/${WRAPPER_NAME}-${WRAPPER_VERSION}.tgz" - -+inherit python3native -+ - AMAZONLITE_CPP_MODEL_NAME ?= "D.en-US.alexa.cpp" - AMAZONLITE_CPP_MODEL_PATH = "${STAGING_DIR_HOST}${datadir}/pryon-lite/models" - -@@ -19,5 +21,5 @@ - PACKAGECONFIG += "amazonlite" - - do_configure_prepend() { -- ${WORKDIR}/${WRAPPER_NAME}/apply_adapter.py ${S} --} -\ No newline at end of file -+ ${PYTHON} ${WORKDIR}/${WRAPPER_NAME}/apply_adapter.py ${S} -+} ---- meta-aac-amazonlite/conf/layer.conf.bak 2021-02-01 17:44:07.559285446 -0500 -+++ meta-aac-amazonlite/conf/layer.conf 2021-02-01 17:44:42.847875916 -0500 -@@ -9,6 +9,8 @@ - BBFILE_PATTERN_aac-amazonlite = "^${LAYERDIR}/" - BBFILE_PRIORITY_aac-amazonlite = "6" - -+LAYERSERIES_COMPAT_aac-amazonlite = "kirkstone" -+ - AMAZONLITE ?= "ON" - AMAZONLITE_PACKAGES = "${LAYERDIR}/packages" - diff --git a/templates/feature/agl-voiceagent-alexa-wakeword/included.dep b/templates/feature/agl-voiceagent-alexa-wakeword/included.dep deleted file mode 100644 index 71688dda..00000000 --- a/templates/feature/agl-voiceagent-alexa-wakeword/included.dep +++ /dev/null @@ -1 +0,0 @@ -agl-voiceagent-alexa |