diff options
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)} \ +" |