summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2016-08-10 14:05:14 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2016-09-05 13:43:11 +0200
commitaa413ccc067000459795854ed74993068b36d64c (patch)
tree1f857845c1372d5a755935b791d8ef149942a0ab
parent20e3c35f9ce30dcd25fac773d2b63f43ac8668a1 (diff)
downloadmeta-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.bb39
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 @@
1DESCRIPTION = "Qt 5 bindings for the ofono dbus API"
2SECTION = "libs"
3LICENSE = "LGPLv2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
5
6DEPENDS += "qtbase qtdeclarative"
7
8SRCREV = "54435de3bed0b454ef4ea3ea32c7234fcd9f24c6"
9SRC_URI = "git://git.merproject.org/mer-core/libqofono.git"
10S = "${WORKDIR}/git"
11
12PV = "0.87+gitr${SRCPV}"
13
14inherit qmake5
15
16do_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
22PACKAGES += "${PN}-tests"
23
24FILES_${PN}-dbg += " \
25 /lib/libqofono-qt5/tests/.debug \
26 ${libdir}/qt5/qml/MeeGo/QOfono/.debug \
27"
28FILES_${PN}-tests = " \
29 ${libdir}/libqofono-qt5/tests/tst_* \
30 /opt/tests/libqofono-qt5 \
31"
32FILES_${PN} += " \
33 ${libdir}/qt5/qml/MeeGo/QOfono/qmldir \
34 ${libdir}/qt5/qml/MeeGo/QOfono/libQOfonoQtDeclarative.so \
35"
36FILES_${PN}-dev += " \
37 ${datadir}/qt5/mkspecs \
38 ${libdir}/libqofono-qt5.prl \
39"