1 SUMMARY = "Alexa service binding default configuration to connect to Alexa"
2 DESCRIPTION = "Alexa alexa-voiceagent-service binding configuration files"
3 HOMEPAGE = "https://github.com/alexa/alexa-auto-sdk/tree/master/platforms/agl/alexa-voiceagent-service"
7 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
9 SRC_URI = "file://AlexaAutoCoreEngineConfig.json.in"
13 ALEXA_WAKEWORD ??= "false"
17 if test x"${ALEXA_CLIENTID}" == x"" ; then
18 bbfatal "ALEXA CLIENTID not defined in your environment e.g. conf/local.conf"
21 if test x"${ALEXA_SERIALNUMBER}" == x"" ; then
22 bbfatal "ALEXA SERIALNUMBER not defined in your environment e.g. conf/local.conf"
25 if test x"${ALEXA_PRODUCTID}" == x"" ; then
26 bbfatal "ALEXA PRODUCTID not defined in your environment e.g. conf/local.conf"
33 sed -e "s/@@ALEXA_CLIENTID@@/${ALEXA_CLIENTID}/" -e "s/@@ALEXA_SERIALNUMBER@@/${ALEXA_SERIALNUMBER}/" -e "s/@@ALEXA_PRODUCTID@@/${ALEXA_PRODUCTID}/" -e "s/@@WAKEWORD@@/${ALEXA_WAKEWORD}/" ${WORKDIR}/AlexaAutoCoreEngineConfig.json.in > ${WORKDIR}/AlexaAutoCoreEngineConfig.json
36 install -D -m 644 ${WORKDIR}/AlexaAutoCoreEngineConfig.json ${D}${sysconfdir}/xdg/AGL/AlexaAutoCoreEngineConfig.json
39 RPROVIDES_${PN} += "virtual/alexa-voiceagent-config"