From db7467e72a8330b0b73546ff3f68e424aeea4b1c Mon Sep 17 00:00:00 2001 From: Mikko Levonmaa Date: Tue, 8 Jan 2013 12:48:24 -0800 Subject: [PATCH] qtsensors: Add recipe * MJ: Add license information * MJ: Fix PV Signed-off-by: Mikko Levonmaa Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtsensors.inc | 14 ++++++++++++++ recipes-qt/qt5/qtsensors_git.bb | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 recipes-qt/qt5/qtsensors.inc create mode 100644 recipes-qt/qt5/qtsensors_git.bb diff --git a/recipes-qt/qt5/qtsensors.inc b/recipes-qt/qt5/qtsensors.inc new file mode 100644 index 0000000000..9c8d15d712 --- /dev/null +++ b/recipes-qt/qt5/qtsensors.inc @@ -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/recipes-qt/qt5/qtsensors_git.bb b/recipes-qt/qt5/qtsensors_git.bb new file mode 100644 index 0000000000..f7d324fdc1 --- /dev/null +++ b/recipes-qt/qt5/qtsensors_git.bb @@ -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 +# 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"