From 82744513c902f09a7e58695fa013a51aa9713784 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 20 Jan 2020 17:58:48 -0500 Subject: alexa-viewer: add recipe and conditionally add to demo image Add recipe for demo voice capabilities GUI metadata event viewer for Alexa voiceagent, and conditionally add it to the list of applications in packagegroup-agl-demo-platform based on the agl-voiceagent-alexa feature being present in IMAGE_FEATURES. Bug-AGL: SPEC-3110 Change-Id: I7b84ace51430937dbcb35f4773b06290039a19bd Signed-off-by: Scott Murray --- recipes-demo-hmi/alexa-viewer/alexa-viewer_git.bb | 33 ++++++++++++++++++++++ .../packagegroup-agl-demo-platform.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 recipes-demo-hmi/alexa-viewer/alexa-viewer_git.bb diff --git a/recipes-demo-hmi/alexa-viewer/alexa-viewer_git.bb b/recipes-demo-hmi/alexa-viewer/alexa-viewer_git.bb new file mode 100644 index 000000000..f98704eed --- /dev/null +++ b/recipes-demo-hmi/alexa-viewer/alexa-viewer_git.bb @@ -0,0 +1,33 @@ +SUMMARY = "Demo voice capabilities template viewer for Alexa voiceagent" +DESCRIPTION = "Demo voice capabilities template viewer for Alexa voiceagent" +HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/alexa-viewer" +SECTION = "apps" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" + +DEPENDS = " \ + qtquickcontrols2 \ + qlibwindowmanager \ + qlibhomescreen \ + af-binder \ + libqtappfw \ +" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/alexa-viewer;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "${AGL_APP_REVISION}" + +PV = "1.0+git${SRCPV}" +S = "${WORKDIR}/git" + +inherit cmake_qt5 aglwgt + +OECMAKE_CXX_FLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}" + +RDEPENDS_${PN} = " \ + libqtappfw \ + libafbwsc \ + qlibwindowmanager \ + qlibhomescreen \ + agl-service-voice-high-capabilities \ +" diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb index 05081683e..eaa674d98 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb @@ -59,6 +59,7 @@ AGL_APPS = " \ agl-service-signal-composer \ low-can-demo \ virtual/mixer \ + ${@bb.utils.contains('IMAGE_FEATURES', 'agl-voiceagent-alexa', 'alexa-viewer' , '', d)} \ " QTAGLEXTRAS = "${@bb.utils.contains("DISTRO_FEATURES", "agl-hmi-framework", " qtaglextras", "",d)}" -- cgit 1.2.3-korg