diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-08-10 14:05:14 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-05 13:43:11 +0200 |
commit | aa413ccc067000459795854ed74993068b36d64c (patch) | |
tree | 1f857845c1372d5a755935b791d8ef149942a0ab | |
parent | 20e3c35f9ce30dcd25fac773d2b63f43ac8668a1 (diff) | |
download | meta-qt5-aa413ccc067000459795854ed74993068b36d64c.tar.gz |
libqofono: import from meta-luneos layer
* we alreadh have libconnman-qt5 here, so it makes sense to import libqofono as well
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-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 | " | ||