Patchwork [5/8] qt5nmapper: 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-6-git-send-email-neena.busireddy@freescale.com>
Download mbox | patch
Permalink /patch/74499/
State New, archived
Headers show

Comments

Neena Busireddy - June 30, 2014, 8:04 p.m.
NMapper is a small application to experiment with normal mapping on Qt5.

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/qt5nmapper_1.0.bb |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 recipes-qt/examples/qt5nmapper_1.0.bb

Patch

diff --git a/recipes-qt/examples/qt5nmapper_1.0.bb b/recipes-qt/examples/qt5nmapper_1.0.bb
new file mode 100644
index 0000000..9b1b727
--- /dev/null
+++ b/recipes-qt/examples/qt5nmapper_1.0.bb
@@ -0,0 +1,28 @@ 
+SUMMARY = "QT5 NMapper application"
+DESCRIPTION = "NMapper application is demonstrating the normal mapping technique using Qt5"
+HOMEPAGE = "http://quitcoding.com/?page=work#cinex"
+LICENSE = "CC-BY-3.0"
+LIC_FILES_CHKSUM = "file://README;beginline=47;endline=58;md5=9fb5bf76d564bc53812e40b133ff40dc"
+
+DEPENDS = "qtdeclarative qtgraphicaleffects"
+
+SRC_URI = "http://quitcoding.com/download/Qt5_NMapper_1.0.tgz"
+SRC_URI[md5sum] = "dafc425280144d8e286788e75a0dba0f"
+SRC_URI[sha256sum] = "607fbf4c448f00d3c563f9ef8a582bcb6e8fe550e80b56bf8d9127a417faa53b"
+
+S = "${WORKDIR}/Qt5_NMapper_1.0"
+
+require recipes-qt/qt5/qt5.inc
+
+do_install() {
+    install -d ${D}${datadir}/${P}
+    install -m 0755 ${B}/Qt5_NMapper ${D}${datadir}/${P}  
+    cp ${S}/Qt5_NMapper.qml ${D}${datadir}/${P}  
+    cp -a ${S}/content ${D}${datadir}/${P}  
+}
+
+FILES_${PN}-dbg += "${datadir}/${P}/.debug"
+FILES_${PN} += "${datadir}"
+
+RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
+