From 902589932c94a9c9112fa34f25b6ea867e20bc39 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 28 Dec 2016 18:29:57 +0100 Subject: Use inherit aglwgt in application recipes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change converts the application recipes for hvac, mediaplayer, mixer, settings to use the aglwgt bbclass. This simplifies the application workflow and ensures interoperability with the SDK. Change-Id: Icaa8ba3f931844be6063c18957c07aa598591f06 Signed-off-by: Jan-Simon Möller --- recipes-demo-hmi/settings/settings_git.bb | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'recipes-demo-hmi/settings') diff --git a/recipes-demo-hmi/settings/settings_git.bb b/recipes-demo-hmi/settings/settings_git.bb index 427ea7cca..a018c062d 100644 --- a/recipes-demo-hmi/settings/settings_git.bb +++ b/recipes-demo-hmi/settings/settings_git.bb @@ -1,35 +1,18 @@ SUMMARY = "Settings for CES2017 AGL Demonstration" DESCRIPTION = "AGL HMI Application for demonstrating Settings on AGL Distribution" HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/settings" -LICENSE = "Apache-2.0" SECTION = "apps" -PV = "1.0+git${SRCPV}" -S = "${WORKDIR}/git" - -inherit qmake5 - -DEPENDS += "qtquickcontrols2" -# 'wgtpkg-pack' in af-main-native is required. -DEPENDS += "af-main-native" -# setting has binding, so af-binder is required. -DEPENDS += "af-binder" - +LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/settings;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/ -} +# build-time dependencies +DEPENDS += "qtquickcontrols2" -FILES_${PN} += "/usr/AGL/apps/ \ - /usr/AGL/apps/${PN} \ - " +inherit qmake5 aglwgt -- cgit 1.2.3-korg