From 49931c57cb1a7f7d2c74fb7e2ad1591acf465b48 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Sun, 18 Dec 2016 21:58:26 +0900 Subject: [PATCH] Add recipe of AGL Demo HMI (Media Player) This recipe is to deliver AGL Demo Platform for CES2017 AGL Showcase by bitbake integration. To use hmi of Media Player, it should be installed on the target board at least once afer booting. The package of application, mediaplayer.wgt would be installed in /usr/AGL/apps on the target board. To install it, follow these steps from the target console or remote shell. # cd /usr/AGL/apps # afm-util install mediaplayer.wgt Change-Id: I30e69e0027c10a654f657fea250b8f76033f5a52 Signed-off-by: Tadao Tanikawa --- recipes-demo-hmi/mediaplayer/mediaplayer_git.bb | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes-demo-hmi/mediaplayer/mediaplayer_git.bb diff --git a/recipes-demo-hmi/mediaplayer/mediaplayer_git.bb b/recipes-demo-hmi/mediaplayer/mediaplayer_git.bb new file mode 100644 index 000000000..c551e6932 --- /dev/null +++ b/recipes-demo-hmi/mediaplayer/mediaplayer_git.bb @@ -0,0 +1,32 @@ +SUMMARY = "Media Player for CES2017 AGL Demonstration" +DESCRIPTION = "AGL HMI Application for demonstrating Media Player on AGL Distribution" +HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/mediaplayer" +LICENSE = "Apache-2.0" +SECTION = "apps" + +PV = "1.0+git${SRCPV}" +S = "${WORKDIR}/git" + +inherit qmake5 + +# 'wgtpkg-pack' in af-main-native is required. +DEPENDS = "af-main-native" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/mediaplayer;protocol=http" +SRCREV = "${AUTOREV}" + +RDEPENDS_${PN} += " \ + qtmultimedia-qmlplugins \ + qtquickcontrols2-qmlplugins \ + " + +do_install() { + install -d ${D}/usr/AGL/apps + install -m 0644 ${B}/package/${PN}.wgt ${D}/usr/AGL/apps/ +} + +FILES_${PN} += "/usr/AGL/apps/ \ + /usr/AGL/apps/${PN} \ + " -- 2.16.6