diff options
| author | Herman van Hazendonk <github.com@herrie.org> | 2020-08-13 16:03:02 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2020-08-26 16:43:05 +0200 |
| commit | 1a97beaa7c5fcd6d3dd1af7f81ecf1538fc34b53 (patch) | |
| tree | 9fba680f01db8fa2dec993df02e6fa4232649291 | |
| parent | 4d3191999e9156df0fc3fd9a86611be892a11d7e (diff) | |
| download | meta-qt5-1a97beaa7c5fcd6d3dd1af7f81ecf1538fc34b53.tar.gz | |
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>
| -rw-r--r-- | recipes-connectivity/libqofono/libqofonoext_git.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-connectivity/libqofono/libqofonoext_git.bb b/recipes-connectivity/libqofono/libqofonoext_git.bb new file mode 100644 index 00000000..b14aca5f --- /dev/null +++ b/recipes-connectivity/libqofono/libqofonoext_git.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | DESCRIPTION = "Qt 5 bindings for the ofono dbus API for Jolla's oFono extensions" | ||
| 2 | SECTION = "libs" | ||
| 3 | LICENSE = "LGPLv2.1" | ||
| 4 | LIC_FILES_CHKSUM = "file://src/qofonoext.cpp;;beginline=1;endline=14;md5=e78738e9230b2e0f55eb7f63e3444df5" | ||
| 5 | |||
| 6 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns libqofono" | ||
| 7 | |||
| 8 | SRCREV = "bd0999247f3c6446463f83b1f86c3de39c1a5425" | ||
| 9 | SRC_URI = "git://git.sailfishos.org/mer-core/libqofonoext.git;protocol=https;" | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | PV = "1.025+gitr${SRCPV}" | ||
| 13 | |||
| 14 | inherit qmake5 | ||
| 15 | |||
| 16 | do_install_append() { | ||
| 17 | if ls ${D}${libdir}/pkgconfig/qofono-qt5.pc >/dev/null 2>/dev/null; then | ||
| 18 | sed -i "s@-L${STAGING_LIBDIR}@-L\${libdir}@g" ${D}${libdir}/pkgconfig/qofono-qt5.pc | ||
| 19 | fi | ||
| 20 | } | ||
| 21 | |||
| 22 | PACKAGES += "${PN}-tests" | ||
| 23 | |||
| 24 | FILES_${PN} += " \ | ||
| 25 | ${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/qmldir \ | ||
| 26 | ${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/plugins.qmltypes \ | ||
| 27 | ${OE_QMAKE_PATH_QML}/org/nemomobile/ofono/libqofonoextdeclarative.so \ | ||
| 28 | " | ||
