1*4882a593SmuzhiyunDESCRIPTION = "Qt 5 bindings for the ofono dbus API for Jolla's oFono extensions" 2*4882a593SmuzhiyunSECTION = "libs" 3*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only" 4*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://src/qofonoext.cpp;;beginline=1;endline=14;md5=e78738e9230b2e0f55eb7f63e3444df5" 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunDEPENDS += "qtbase qtdeclarative qtxmlpatterns libqofono" 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunSRCREV = "ebe45e0fe46578c24e9fe241e84cd5ca0f097372" 9*4882a593SmuzhiyunSRC_URI = "git://github.com/sailfishos/libqofonoext.git;protocol=https;branch=master" 10*4882a593SmuzhiyunS = "${WORKDIR}/git" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunPV = "1.027+gitr${SRCPV}" 13*4882a593Smuzhiyun 14*4882a593Smuzhiyuninherit pkgconfig qmake5 15*4882a593Smuzhiyun 16*4882a593Smuzhiyundo_install:append() { 17*4882a593Smuzhiyun if ls ${D}${libdir}/pkgconfig/qofono-qt5.pc >/dev/null 2>/dev/null; then 18*4882a593Smuzhiyun sed -i "s@-L${STAGING_LIBDIR}@-L\${libdir}@g" ${D}${libdir}/pkgconfig/qofono-qt5.pc 19*4882a593Smuzhiyun fi 20*4882a593Smuzhiyun} 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunPACKAGES += "${PN}-tests" 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunFILES:${PN} += " \ 25*4882a593Smuzhiyun ${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/qmldir \ 26*4882a593Smuzhiyun ${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/plugins.qmltypes \ 27*4882a593Smuzhiyun ${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/libqofonoextdeclarative.so \ 28*4882a593Smuzhiyun" 29