qtsensors: Add recipe
authorMikko Levonmaa <mikko.levonmaa@palm.com>
Tue, 8 Jan 2013 20:48:24 +0000 (12:48 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:44:12 +0000 (08:44 -0800)
* MJ: Add license information
* MJ: Fix PV

(From meta-qt5 rev: db7467e72a8330b0b73546ff3f68e424aeea4b1c)

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/qtsensors.inc [new file with mode: 0644]
meta-qt5/recipes-qt/qt5/qtsensors_git.bb [new file with mode: 0644]

diff --git a/meta-qt5/recipes-qt/qt5/qtsensors.inc b/meta-qt5/recipes-qt/qt5/qtsensors.inc
new file mode 100644 (file)
index 0000000..9c8d15d
--- /dev/null
@@ -0,0 +1,14 @@
+require qt5module.inc
+
+DEPENDS += "qtdeclarative"
+
+INC_PR = "r0"
+
+FILES_${PN}-plugins += " \
+            ${libdir}/${QT_DIR_NAME}/qml/QtSensors/qmldir \
+            ${libdir}/${QT_DIR_NAME}/qml/QtSensors/plugins.qmltypes \
+            ${libdir}/${QT_DIR_NAME}/qml/QtSensors/*${SOLIBSDEV} \
+"
+FILES_${PN}-plugins-dbg += " \
+            ${libdir}/${QT_DIR_NAME}/qml/QtSensors/.debug/* \
+"
diff --git a/meta-qt5/recipes-qt/qt5/qtsensors_git.bb b/meta-qt5/recipes-qt/qt5/qtsensors_git.bb
new file mode 100644 (file)
index 0000000..f7d324f
--- /dev/null
@@ -0,0 +1,19 @@
+require ${PN}.inc
+require qt5-git.inc
+
+# LICENSE files are missing in this old SRCREV, remove when upgraded
+# commit cf831b83142dee8114df3bc37c29116a66945f5f
+# Author: Timo Jyrinki <timo.jyrinki@canonical.com>
+# Date:   Mon Feb 11 08:56:35 2013 +0200
+# Subject: Add license files mandated by (L)GPL.
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780 \
+                    file://${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891 \
+                    file://${COMMON_LICENSE_DIR}/GFDL-1.3;md5=1083add59b39991c748ea70a92166959 \
+"
+
+# qtsensors wasn't released yet, last tag before this SRCREV is 5.0.0-beta1
+PV = "4.999+5.0.0-beta1+git${SRCPV}"
+
+PR = "${INC_PR}.0"
+
+SRCREV = "6323be3e2fc1b69145f37cda1d0214ec5fa3cb44"