aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/mediaplayer
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi/mediaplayer')
-rw-r--r--recipes-demo-hmi/mediaplayer/mediaplayer_git.bb27
1 files changed, 6 insertions, 21 deletions
diff --git a/recipes-demo-hmi/mediaplayer/mediaplayer_git.bb b/recipes-demo-hmi/mediaplayer/mediaplayer_git.bb
index 943492663..000f97652 100644
--- a/recipes-demo-hmi/mediaplayer/mediaplayer_git.bb
+++ b/recipes-demo-hmi/mediaplayer/mediaplayer_git.bb
@@ -1,33 +1,18 @@
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
-
-DEPENDS += "qtquickcontrols2 qtmultimedia"
-# 'wgtpkg-pack' in af-main-native is required.
-DEPENDS += "af-main-native"
-
+LICENSE = "Apache-2.0"
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 \
- "
+PV = "1.0+git${SRCPV}"
+S = "${WORKDIR}/git"
-do_install() {
- install -d ${D}/usr/AGL/apps
- install -m 0644 ${B}/package/${PN}.wgt ${D}/usr/AGL/apps/
-}
+inherit qmake5 aglwgt
-FILES_${PN} += "/usr/AGL/apps/ \
- /usr/AGL/apps/${PN} \
- "
+# build-time dependencies
+DEPENDS += "qtquickcontrols2 qtmultimedia"