qt5everywheredemo: Create recipe to demonstrate qt5 example.
authorNeena Busireddy <neena.busireddy@freescale.com>
Mon, 30 Jun 2014 20:04:28 +0000 (15:04 -0500)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:46:03 +0000 (08:46 -0800)
Qt5 Everywhere Demo provides a quick tour of Qt 5.0, primarily
focusing on its graphical capabilities.

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

(From meta-qt5 rev: 164f9aa413ce3dc93ebc5cfedecb366bcd984091)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb [new file with mode: 0644]

diff --git a/meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb b/meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb
new file mode 100644 (file)
index 0000000..4f7022c
--- /dev/null
@@ -0,0 +1,25 @@
+SUMMARY = "Qt5 everywhere demo"
+DESCRIPTION = "Quick tour of Qt 5.0, primarily focusing on its graphical capabilities."
+HOMEPAGE = "https://qt.gitorious.org/qt-labs"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://main.cpp;md5=1187cb795a0f96bce64e63dd1a67dc2b"
+
+DEPENDS = "qtdeclarative qtgraphicaleffects"
+
+SRCREV = "9a868f96ee63c21ceda890d8dfc9d33f093d1b6d"
+SRC_URI = "git://gitorious.org/qt-labs/qt5-everywhere-demo.git"
+
+S = "${WORKDIR}/git/QtDemo"
+
+require recipes-qt/qt5/qt5.inc
+
+do_install() {
+    install -d ${D}${datadir}/${P}
+    install -m 0755 ${B}/QtDemo ${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"