aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-01-03 05:48:33 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-01-03 16:15:49 +0000
commit2ac388bcb356ab9eca3a5886e7cf12cd81b47f3a (patch)
tree546e779a29b117c1e9904db57091da5d1be7d413
parent99affbadb0ea5d8bfa58a72546f556a3e0fd1f1d (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>
-rw-r--r--recipes-demo-hmi/qtaglextras/qtaglextras_git.bb28
-rwxr-xr-xrecipes-platform/packagegroups/packagegroup-agl-demo-platform.bb2
-rw-r--r--recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bbappend5
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)} \
+"