From 0a096d1814ecaedd5646bb8490c83072fd76adf6 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 10 Mar 2021 08:53:27 +0200 Subject: [PATCH] Add recipe for Qt Positioning The git repository is shared with Qt Location module, but this recipe builds only the Qt Positioning module. Change-Id: I82d18b8b11ea35f7c65f3564443b196f69712325 Reviewed-by: Mikko Gronoff --- .../packagegroups/packagegroup-qt6-modules.bb | 1 + .../packagegroup-qt6-toolchain-target.bb | 1 + recipes-qt/qt6/qtpositioning_git.bb | 26 +++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 recipes-qt/qt6/qtpositioning_git.bb diff --git a/recipes-qt/packagegroups/packagegroup-qt6-modules.bb b/recipes-qt/packagegroups/packagegroup-qt6-modules.bb index 4db1384..3f5337c 100644 --- a/recipes-qt/packagegroups/packagegroup-qt6-modules.bb +++ b/recipes-qt/packagegroups/packagegroup-qt6-modules.bb @@ -20,6 +20,7 @@ RDEPENDS_${PN} += " \ qtmqtt \ qtnetworkauth \ qtopcua \ + qtpositioning \ qtquick3d \ qtquickcontrols2 \ qtquickdesigner-components \ diff --git a/recipes-qt/packagegroups/packagegroup-qt6-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-qt6-toolchain-target.bb index 3170642..951b840 100644 --- a/recipes-qt/packagegroups/packagegroup-qt6-toolchain-target.bb +++ b/recipes-qt/packagegroups/packagegroup-qt6-toolchain-target.bb @@ -21,6 +21,7 @@ RDEPENDS_${PN} += "\ qtmqtt-dev \ qtnetworkauth-dev \ qtopcua-dev \ + qtpositioning-dev \ qtquick3d-dev \ qtquickcontrols2-dev \ qtquickdesigner-components-dev \ diff --git a/recipes-qt/qt6/qtpositioning_git.bb b/recipes-qt/qt6/qtpositioning_git.bb new file mode 100644 index 0000000..d71d8ed --- /dev/null +++ b/recipes-qt/qt6/qtpositioning_git.bb @@ -0,0 +1,26 @@ +LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" +LIC_FILES_CHKSUM = " \ + file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ + file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ + file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \ + file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ +" + +inherit qt6-cmake + +include recipes-qt/qt6/qt6-git.inc +include recipes-qt/qt6/qt6.inc + +QT_MODULE = "qtlocation" + +DEPENDS += "qtbase" + +PACKAGECONFIG ?= "nmea qml" +PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative,qtquickcontrols2" +PACKAGECONFIG[geoclue] = ",,,geoclue" +PACKAGECONFIG[gypsy] = "-DFEATURE_gypsy=ON,-DFEATURE_gypsy=OFF,gconf gypsy" +PACKAGECONFIG[nmea] = ",,qtserialport" +PACKAGECONFIG[qml] = ",,qtdeclarative" + +SRCREV = "0a027b248e5882e85c4eaa8ddcdae923ad3e9ab5"