Files
meta-qt5/recipes-connectivity/libqofono/libqofono_git.bb
Daniel Gomez 52982b287d libqofono: Fix new repo and update 0.100 -> 0.103
libqofono repository has been moved to the Sailfish OS GitHub group
as part of the migration of Mer and Sailfish to Sailfish OS domain.
More details here:
https://forum.sailfishos.org/t/changes-needed-to-merge-the-project-names-to-sailfish-os/1672

Update recipe to 0.103 release.

Update 0001-also-emit-modemRemoved-and-modemAdded.patch with devtool to
fix patch-fuzz QA Issue:

WARNING: libqofono-0.100+gitrAUTOINC+047b667f18-r0 do_patch: QA Issue:
Patch log indicates that patches do not apply cleanly. [patch-fuzz]

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2021-11-13 11:03:16 +01:00

42 lines
1.1 KiB
BlitzBasic

DESCRIPTION = "Qt 5 bindings for the ofono dbus API"
SECTION = "libs"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS += "qtbase qtdeclarative qtxmlpatterns"
SRCREV = "047b667f18ca73cb7f884f174d1d164a616d6814"
SRC_URI = "git://github.com/sailfishos/libqofono.git;protocol=https;branch=master \
file://0001-also-emit-modemRemoved-and-modemAdded.patch \
"
S = "${WORKDIR}/git"
PV = "0.103+gitr${SRCPV}"
inherit qmake5
do_install:append() {
if ls ${D}${libdir}/pkgconfig/qofono-qt5.pc >/dev/null 2>/dev/null; then
sed -i "s@-L${STAGING_LIBDIR}@-L\${libdir}@g" ${D}${libdir}/pkgconfig/qofono-qt5.pc
fi
}
PACKAGES += "${PN}-tests"
FILES:${PN}-tests = " \
${libdir}/libqofono-qt5/tests/tst_* \
/opt/examples/libqofono-qt5/ \
/opt/tests/libqofono-qt5 \
"
FILES:${PN} += " \
${OE_QMAKE_PATH_QML}/MeeGo/QOfono/qmldir \
${OE_QMAKE_PATH_QML}/MeeGo/QOfono/plugins.qmltypes \
${OE_QMAKE_PATH_QML}/MeeGo/QOfono/libQOfonoQtDeclarative.so \
"
FILES:${PN}-dev += " \
${OE_QMAKE_PATH_ARCHDATA}/mkspecs \
${libdir}/libqofono-qt5.prl \
${datadir}/qt5/mkspecs \
"