From: Tadao Tanikawa Date: Wed, 21 Dec 2016 10:39:01 +0000 (+0900) Subject: Remove redundancy from recipe CES2017-demo X-Git-Tag: 3.0.0~33 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=9cd95faf6e886fdf10823f13fe3d38616fd0d566;p=AGL%2Fmeta-agl-demo.git Remove redundancy from recipe CES2017-demo Because some apps(mediaplayer, hvac, and setting) sperated from AGL/DemoApps/CES2017, CES2017-demo.bb being redundant. v2 (jsmoeller): add 2 dependencies back Change-Id: Iacf9a8d3f841888d2d12defe9930898beac4abfa Signed-off-by: Tadao Tanikawa Signed-off-by: Jan-Simon Möller --- diff --git a/recipes-demo-hmi/CES2017-demo/CES2017-demo.bb b/recipes-demo-hmi/CES2017-demo/CES2017-demo.bb index b72510caf..276a22733 100644 --- a/recipes-demo-hmi/CES2017-demo/CES2017-demo.bb +++ b/recipes-demo-hmi/CES2017-demo/CES2017-demo.bb @@ -8,7 +8,7 @@ S = "${WORKDIR}/git/" PN = "ces2017-demo" inherit qmake5 -DEPENDS = " qtbase qtdeclarative qtquickcontrols2 qtvirtualkeyboard qtmultimedia homescreen zip-native" +DEPENDS = "homescreen zip-native qtmultimedia qtquickcontrols2" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=815ca599c9df247a0c7f619bab123dad" @@ -57,38 +57,6 @@ do_install_prepend() { - echo " \ - \ - HVAC \ - \ - HVAC app. \ - Qt \ - \ - Apache 2.0 \ - \ -" > ${B}/apps/HVAC/config.xml - - cd ${B}/apps/HVAC/ - zip hvac.wgt config.xml hvac - - - - echo " \ - \ - MediaPlayer \ - \ - MediaPlayer app. \ - Qt \ - \ - Apache 2.0 \ - \ -" > ${B}/apps/MediaPlayer/config.xml - - cd ${B}/apps/MediaPlayer/ - zip mediaplayer.wgt config.xml mediaplayer - - - echo " \ \ Phone \ @@ -121,27 +89,10 @@ do_install_prepend() { - echo " \ - \ - Settings \ - \ - Settings app. \ - Qt \ - \ - Apache 2.0 \ - \ -" > ${B}/apps/Settings/config.xml - - cd ${B}/apps/Settings/ - zip settings.wgt config.xml settings - - cat > ${B}/apps/installAllApps.sh <<-EOF #!/bin/sh /usr/bin/afm-util install controls.wgt /usr/bin/afm-util install dashboard.wgt - /usr/bin/afm-util install hvac.wgt - /usr/bin/afm-util install mediaplayer.wgt /usr/bin/afm-util install phone.wgt /usr/bin/afm-util install radio.wgt /usr/bin/afm-util install settings.wgt @@ -153,11 +104,8 @@ do_install() { install -d ${D}/usr/AGL/${PN} install -m 0644 ${B}/apps/Controls/controls.wgt ${D}/usr/AGL/${PN}/ install -m 0644 ${B}/apps/Dashboard/dashboard.wgt ${D}/usr/AGL/${PN}/ - install -m 0644 ${B}/apps/HVAC/hvac.wgt ${D}/usr/AGL/${PN}/ - install -m 0644 ${B}/apps/MediaPlayer/mediaplayer.wgt ${D}/usr/AGL/${PN}/ install -m 0644 ${B}/apps/Phone/phone.wgt ${D}/usr/AGL/${PN}/ install -m 0644 ${B}/apps/Radio/radio.wgt ${D}/usr/AGL/${PN}/ - install -m 0644 ${B}/apps/Settings/settings.wgt ${D}/usr/AGL/${PN}/ install -m 0755 ${B}/apps/installAllApps.sh ${D}/usr/AGL/${PN}/