diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-01-03 05:48:33 +0900 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-01-03 16:15:10 +0000 |
commit | 9609b802dfb4b01b8f0dde3474c443a1b69c98f3 (patch) | |
tree | c98b7276c983fd4894eb442a86c51c020d64853b | |
parent | 0eab0a2af137af1b69cd69862c58d2b51f2e63bd (diff) |
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 <tanikawa.tadao@jp.panasonic.com>
3 files changed, 35 insertions, 0 deletions
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)} \ +" |