Patchwork [6/8] quitbattery: Create recipe to demonstrate qt5 example.

login
register
mail settings
Submitter Neena Busireddy
Date June 30, 2014, 8:04 p.m.
Message ID <1404158675-20358-7-git-send-email-neena.busireddy@freescale.com>
Download mbox | patch
Permalink /patch/74489/
State New, archived
Headers show

Comments

Neena Busireddy - June 30, 2014, 8:04 p.m.
This example demonstrates how QUItBattery could behave
in different situations.

This recipe originated from the wandboard wiki page
http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
---
 recipes-qt/examples/quitbattery_1.0.0.bb |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 recipes-qt/examples/quitbattery_1.0.0.bb

Patch

diff --git a/recipes-qt/examples/quitbattery_1.0.0.bb b/recipes-qt/examples/quitbattery_1.0.0.bb
new file mode 100644
index 0000000..ea218d7
--- /dev/null
+++ b/recipes-qt/examples/quitbattery_1.0.0.bb
@@ -0,0 +1,26 @@ 
+SUMMARY = "QT5 QUItBattery"
+DESCRIPTION = "This package contains QUItBatteryComponent with few usage examples"
+HOMEPAGE = "http://quitcoding.com/?page=work#cinex"
+LICENSE = "CC-BY-3.0"
+LIC_FILES_CHKSUM = "file://README;beginline=37;endline=46;md5=6df4bcb7f9092d42a84f32eacb61bdc4"
+
+DEPENDS = "qtdeclarative qtgraphicaleffects"
+
+SRC_URI = "http://quitcoding.com/download/QUItBattery_1.0.0.tar.gz"
+SRC_URI[md5sum] = "7c7babc1086491b116b01d154b6163fd"
+SRC_URI[sha256sum] = "38dcb7630553c397f9d8a53c6411b1a6237956ed8dd4859e01487b1dd8f37873"
+
+S = "${WORKDIR}/QUItBattery_1.0.0"
+
+require recipes-qt/qt5/qt5.inc
+
+do_install() {
+    install -d ${D}${datadir}/${P}
+    install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P}  
+    cp -a ${S}/qml ${D}${datadir}/${P}  
+}
+
+FILES_${PN}-dbg += "${datadir}/${P}/.debug"
+FILES_${PN} += "${datadir}"
+
+RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"