xref: /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/examples/qtsmarthome_1.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Qt5 smarthome QML demo application"
2*4882a593SmuzhiyunDESCRIPTION = "This is the Smarthome QML demo application. It shows some user interfaces for controlling an automated house"
3*4882a593SmuzhiyunHOMEPAGE = "http://www.basyskom.com/news/143-demos-qt5-port.html"
4*4882a593SmuzhiyunLICENSE = "LGPL-2.1-or-later & GFDL-1.2"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
6*4882a593Smuzhiyun                    file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunDEPENDS = "qtdeclarative qtgraphicaleffects"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "http://share.basyskom.com/demos/smarthome_src.tar.gz"
11*4882a593SmuzhiyunSRC_URI[md5sum] = "883b0376239baec20ebec072e938a995"
12*4882a593SmuzhiyunSRC_URI[sha256sum] = "fceaa813c33e462bad6c0383eaef81a6f6e586c15d1fa73898173b517fc1cda6"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunS = "${WORKDIR}/smarthome_src"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunrequire recipes-qt/qt5/qt5.inc
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundo_install() {
19*4882a593Smuzhiyun    install -d ${D}${datadir}/${P}
20*4882a593Smuzhiyun    install -m 0755 ${B}/smarthome ${D}${datadir}/${P}
21*4882a593Smuzhiyun    cp -R --no-dereference --preserve=mode,links ${S}/qml ${D}${datadir}/${P}
22*4882a593Smuzhiyun    cp -R --no-dereference --preserve=mode,links ${S}/components ${D}${datadir}/${P}
23*4882a593Smuzhiyun}
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunFILES:${PN} += "${datadir}"
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunRDEPENDS:${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
28