From: Tadao Tanikawa Date: Tue, 2 Jan 2018 20:48:33 +0000 (+0900) Subject: Add QtAGLExtras X-Git-Tag: 5.0.0~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=commitdiff_plain;h=2ac388bcb356ab9eca3a5886e7cf12cd81b47f3a Add QtAGLExtras Qt AGLExtras module provides a set of easy to create AGL Qt application. It uses the AGL HMI and application framework, therefore the application can be easily integrated to AGL HomeScreen/WindowManager on AGL Demo Platform. Bug-AGL: SPEC-1229 Change-Id: If4b2d3087f46cef7ce61487f6f8a6acd4bbf4d98 Signed-off-by: Tadao Tanikawa --- diff --git a/recipes-demo-hmi/qtaglextras/qtaglextras_git.bb b/recipes-demo-hmi/qtaglextras/qtaglextras_git.bb new file mode 100644 index 000000000..1901e7a3b --- /dev/null +++ b/recipes-demo-hmi/qtaglextras/qtaglextras_git.bb @@ -0,0 +1,28 @@ +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS += "qtbase qtdeclarative qtquickcontrols2 qlibwindowmanager virtual/libhomescreen" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/qtaglextras;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "${AGL_DEFAULT_REVISION}" + +PV = "5.8.0+git${SRCPV}" +S = "${WORKDIR}/git/" + +inherit qmake5 + +PACKAGES += "${PN}-mkspecs" + +FILES_${PN}-mkspecs = "\ + ${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs \ +" + +FILES_${PN}-dev += " \ + ${OE_QMAKE_PATH_LIBS}/lib*${SOLIBSDEV} \ + ${OE_QMAKE_PATH_LIBS}/pkgconfig \ + ${OE_QMAKE_PATH_LIBS}/cmake/* \ + ${OE_QMAKE_PATH_LIBS}/*.prl \ + ${OE_QMAKE_PATH_LIBS}/*.la \ + ${OE_QMAKE_PATH_DATA}/* \ + ${OE_QMAKE_PATH_HEADERS}/* \ +" diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb index dbdd465a7..fdcba767c 100755 --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb @@ -62,11 +62,13 @@ AGL_APIS = " \ libnaviapi-agl \ " +QTAGLEXTRAS = "${@bb.utils.contains("DISTRO_FEATURES", "agl-hmi-framework", " qtaglextras", "",d)}" RDEPENDS_${PN}_append = " \ qtquickcontrols2-agl \ qtquickcontrols2-agl-style \ linux-firmware-ralink \ + ${QTAGLEXTRAS} \ ${MAPVIEWER} \ ${MOST_HVAC} \ ${AGL_APPS} \ diff --git a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bbappend b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bbappend index 08afa6c7f..300227e16 100644 --- a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bbappend +++ b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bbappend @@ -16,3 +16,8 @@ RDEPENDS_${PN}_remove = " \ qtwebkit-mkspecs \ qtwebkit-qmlplugins \ " + +# add QtAGLExtras +RDEPENDS_${PN} += " \ + ${@bb.utils.contains("DISTRO_FEATURES", "agl-hmi-framework", " qtaglextras-dev qtaglextras-mkspecs", "",d)} \ +"