diff options
| -rw-r--r-- | recipes-connectivity/libqofono/libqofono_git.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-connectivity/libqofono/libqofono_git.bb b/recipes-connectivity/libqofono/libqofono_git.bb new file mode 100644 index 00000000..88df1351 --- /dev/null +++ b/recipes-connectivity/libqofono/libqofono_git.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | DESCRIPTION = "Qt 5 bindings for the ofono dbus API" | ||
| 2 | SECTION = "libs" | ||
| 3 | LICENSE = "LGPLv2.1" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 5 | |||
| 6 | DEPENDS += "qtbase qtdeclarative" | ||
| 7 | |||
| 8 | SRCREV = "54435de3bed0b454ef4ea3ea32c7234fcd9f24c6" | ||
| 9 | SRC_URI = "git://git.merproject.org/mer-core/libqofono.git" | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | PV = "0.87+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}-dbg += " \ | ||
| 25 | /lib/libqofono-qt5/tests/.debug \ | ||
| 26 | ${libdir}/qt5/qml/MeeGo/QOfono/.debug \ | ||
| 27 | " | ||
| 28 | FILES_${PN}-tests = " \ | ||
| 29 | ${libdir}/libqofono-qt5/tests/tst_* \ | ||
| 30 | /opt/tests/libqofono-qt5 \ | ||
| 31 | " | ||
| 32 | FILES_${PN} += " \ | ||
| 33 | ${libdir}/qt5/qml/MeeGo/QOfono/qmldir \ | ||
| 34 | ${libdir}/qt5/qml/MeeGo/QOfono/libQOfonoQtDeclarative.so \ | ||
| 35 | " | ||
| 36 | FILES_${PN}-dev += " \ | ||
| 37 | ${datadir}/qt5/mkspecs \ | ||
| 38 | ${libdir}/libqofono-qt5.prl \ | ||
| 39 | " | ||
