qt5nmapcarousedemo: Create recipe to demonstrate qt5 example.
authorNeena Busireddy <neena.busireddy@freescale.com>
Mon, 30 Jun 2014 20:04:31 +0000 (15:04 -0500)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:46:05 +0000 (08:46 -0800)
Qt5 Nmapcarousel demonstrates the normal mapping technique using Qt5

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: ed02fe97c53d4401b610844106e2f0b29e2c2fb7)

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/qt5nmapcarousedemo_1.0.bb [new file with mode: 0644]

diff --git a/meta-qt5/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb b/meta-qt5/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb
new file mode 100644 (file)
index 0000000..7edf727
--- /dev/null
@@ -0,0 +1,27 @@
+SUMMARY = "NMap Carousel application is demonstrating the normal mapping technique using Qt5"
+DESCRIPTION = "Normal mapping is used for making the icons appear 3D with lighting and shadows"
+HOMEPAGE = "http://quitcoding.com/?page=work#cinex"
+LICENSE = "CC-BY-3.0"
+LIC_FILES_CHKSUM = "file://README;beginline=44;endline=55;md5=3a9db934c393a0cf198cbe7e73ebec86"
+
+DEPENDS = "qtdeclarative qtgraphicaleffects"
+
+SRC_URI = "http://quitcoding.com/download/Qt5_NMap_CarouselDemo_1.0.tgz"
+SRC_URI[md5sum] = "c1b4568cdbb6b3af4ca10c5a90aa8128"
+SRC_URI[sha256sum] = "445da212074a10a432f4508d125814212bbe7a967bfa47b015b92dfac6bfd65f"
+
+S = "${WORKDIR}/Qt5_NMap_CarouselDemo_1.0"
+
+require recipes-qt/qt5/qt5.inc
+
+do_install() {
+    install -d ${D}${datadir}/${P}
+    install -m 0755 ${B}/Qt5_NMap_CarouselDemo ${D}${datadir}/${P}  
+    cp ${S}/Qt5_NMap_CarouselDemo.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"