xref: /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "NMap Carousel application is demonstrating the normal mapping technique using Qt5"
2*4882a593SmuzhiyunDESCRIPTION = "Normal mapping is used for making the icons appear 3D with lighting and shadows"
3*4882a593SmuzhiyunHOMEPAGE = "http://quitcoding.com/?page=work#cinex"
4*4882a593SmuzhiyunLICENSE = "CC-BY-3.0"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://README;beginline=44;endline=55;md5=3a9db934c393a0cf198cbe7e73ebec86"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunDEPENDS = "qtdeclarative qtgraphicaleffects"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSRC_URI = "http://quitcoding.com/download/Qt5_NMap_CarouselDemo_1.0.tgz"
10*4882a593SmuzhiyunSRC_URI[md5sum] = "c1b4568cdbb6b3af4ca10c5a90aa8128"
11*4882a593SmuzhiyunSRC_URI[sha256sum] = "445da212074a10a432f4508d125814212bbe7a967bfa47b015b92dfac6bfd65f"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunS = "${WORKDIR}/Qt5_NMap_CarouselDemo_1.0"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunrequire recipes-qt/qt5/qt5.inc
16*4882a593Smuzhiyun
17*4882a593Smuzhiyundo_install() {
18*4882a593Smuzhiyun    install -d ${D}${datadir}/${P}
19*4882a593Smuzhiyun    install -m 0755 ${B}/Qt5_NMap_CarouselDemo ${D}${datadir}/${P}
20*4882a593Smuzhiyun    cp ${S}/Qt5_NMap_CarouselDemo.qml ${D}${datadir}/${P}
21*4882a593Smuzhiyun    cp -R --no-dereference --preserve=mode,links ${S}/content ${D}${datadir}/${P}
22*4882a593Smuzhiyun}
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunFILES:${PN} += "${datadir}"
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunRDEPENDS:${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
27