1*4882a593SmuzhiyunSUMMARY = "Qt Simple Image Viewer" 2*4882a593SmuzhiyunDESCRIPTION = "A simple image viewer using a mix of C++ and qml code for demonstration." 3*4882a593SmuzhiyunLICENSE = "GPL-2.0-only" 4*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE.txt;md5=11c7965a9059e287de5d93b98adf6d1a" 5*4882a593SmuzhiyunDEPENDS = "qtdeclarative" 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunSRCREV = "7b9810b0f02f9ac74fae3ead6e2e9fb5c1382173" 8*4882a593SmuzhiyunSRC_URI = "git://code.ossystems.com.br/qt/qsiv;protocol=http;branch=master" 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunS = "${WORKDIR}/git" 11*4882a593Smuzhiyun 12*4882a593Smuzhiyuninherit qmake5 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunEXTRA_QMAKEVARS_PRE += "target.path=${libdir}/${P}" 15*4882a593Smuzhiyun 16*4882a593Smuzhiyundo_install:append() { 17*4882a593Smuzhiyun install -d ${D}${bindir} 18*4882a593Smuzhiyun echo "#!/bin/sh" > ${D}${bindir}/qsiv 19*4882a593Smuzhiyun echo "export QML_IMPORT_PATH=${libdir}/${P}/qml/qsiv" >> ${D}${bindir}/qsiv 20*4882a593Smuzhiyun echo "export QML2_IMPORT_PATH=${libdir}/${P}/qml/qsiv" >> ${D}${bindir}/qsiv 21*4882a593Smuzhiyun echo "${libdir}/${P}/qsiv \$* " >> ${D}${bindir}/qsiv 22*4882a593Smuzhiyun chmod +x ${D}${bindir}/qsiv 23*4882a593Smuzhiyun} 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunFILES:${PN} += "${libdir}/${P}" 26*4882a593SmuzhiyunRDEPENDS:${PN} += "qtdeclarative-qmlplugins" 27