1*4882a593Smuzhiyunrequire recipes-qt/qt5/qt5.inc 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunSUMMARY = "Qt 5/6 Library for ConnMan" 4*4882a593SmuzhiyunHOMEPAGE = "https://github.com/sailfishos/libconnman-qt" 5*4882a593SmuzhiyunLICENSE = "Apache-2.0" 6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" 7*4882a593SmuzhiyunDEPENDS += "qtbase qtdeclarative" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunVERSION = "1.2.46" 10*4882a593SmuzhiyunPV = "${VERSION}+git${SRCPV}" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSRCREV = "6786936cba9048ee943c0cd5d051c0b8fc70896f" 13*4882a593SmuzhiyunSRC_URI = "git://github.com/sailfishos/libconnman-qt.git;protocol=https;branch=master" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunS = "${WORKDIR}/git" 16*4882a593Smuzhiyun 17*4882a593Smuzhiyuninherit pkgconfig 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunEXTRA_QMAKEVARS_PRE = "CONFIG+=no-module-prefix VERSION=${VERSION}" 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunRDEPENDS:${PN} += "connman" 22*4882a593Smuzhiyun 23*4882a593Smuzhiyundo_install:append() { 24*4882a593Smuzhiyun if ls ${D}${libdir}/pkgconfig/connman-qt5.pc >/dev/null 2>/dev/null; then 25*4882a593Smuzhiyun sed -i "s@-L${STAGING_LIBDIR}@-L\${libdir}@g" ${D}${libdir}/pkgconfig/connman-qt5.pc 26*4882a593Smuzhiyun fi 27*4882a593Smuzhiyun} 28