mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-09 23:54:36 +02:00
libqofonoext: Add recipe
In order to more easily use some oFono bits like (multi)-sim and network management in QML, let's add libqofonoext as well. Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
This commit is contained in:
committed by
Martin Jansa
parent
4d3191999e
commit
1a97beaa7c
28
recipes-connectivity/libqofono/libqofonoext_git.bb
Normal file
28
recipes-connectivity/libqofono/libqofonoext_git.bb
Normal file
@@ -0,0 +1,28 @@
|
||||
DESCRIPTION = "Qt 5 bindings for the ofono dbus API for Jolla's oFono extensions"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = "file://src/qofonoext.cpp;;beginline=1;endline=14;md5=e78738e9230b2e0f55eb7f63e3444df5"
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtxmlpatterns libqofono"
|
||||
|
||||
SRCREV = "bd0999247f3c6446463f83b1f86c3de39c1a5425"
|
||||
SRC_URI = "git://git.sailfishos.org/mer-core/libqofonoext.git;protocol=https;"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PV = "1.025+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} += " \
|
||||
${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/qmldir \
|
||||
${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/plugins.qmltypes \
|
||||
${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/libqofonoextdeclarative.so \
|
||||
"
|
||||
Reference in New Issue
Block a user