diff options
| author | Neena Busireddy <neena.busireddy@freescale.com> | 2014-06-30 15:04:33 -0500 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-06 19:45:45 +0200 |
| commit | 723530340e8c58ba4573e0f50fcb168ff39f857f (patch) | |
| tree | 6730ded1f3bb1cec9970d6fa63f9ac167c29f3b6 /recipes-qt/examples | |
| parent | 96fb1cadc56709c670ccb416969ebfd1571f941e (diff) | |
| download | meta-qt5-723530340e8c58ba4573e0f50fcb168ff39f857f.tar.gz | |
quitbattery: Create recipe to demonstrate qt5 example.
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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/examples')
| -rw-r--r-- | recipes-qt/examples/quitbattery_1.0.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
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 00000000..ea218d72 --- /dev/null +++ b/recipes-qt/examples/quitbattery_1.0.0.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "QT5 QUItBattery" | ||
| 2 | DESCRIPTION = "This package contains QUItBatteryComponent with few usage examples" | ||
| 3 | HOMEPAGE = "http://quitcoding.com/?page=work#cinex" | ||
| 4 | LICENSE = "CC-BY-3.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://README;beginline=37;endline=46;md5=6df4bcb7f9092d42a84f32eacb61bdc4" | ||
| 6 | |||
| 7 | DEPENDS = "qtdeclarative qtgraphicaleffects" | ||
| 8 | |||
| 9 | SRC_URI = "http://quitcoding.com/download/QUItBattery_1.0.0.tar.gz" | ||
| 10 | SRC_URI[md5sum] = "7c7babc1086491b116b01d154b6163fd" | ||
| 11 | SRC_URI[sha256sum] = "38dcb7630553c397f9d8a53c6411b1a6237956ed8dd4859e01487b1dd8f37873" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/QUItBattery_1.0.0" | ||
| 14 | |||
| 15 | require recipes-qt/qt5/qt5.inc | ||
| 16 | |||
| 17 | do_install() { | ||
| 18 | install -d ${D}${datadir}/${P} | ||
| 19 | install -m 0755 ${B}/QUItBattery ${D}${datadir}/${P} | ||
| 20 | cp -a ${S}/qml ${D}${datadir}/${P} | ||
| 21 | } | ||
| 22 | |||
| 23 | FILES_${PN}-dbg += "${datadir}/${P}/.debug" | ||
| 24 | FILES_${PN} += "${datadir}" | ||
| 25 | |||
| 26 | RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" | ||
