summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb')
-rw-r--r--meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb69
1 files changed, 69 insertions, 0 deletions
diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb
new file mode 100644
index 0000000000..d15d8d7608
--- /dev/null
+++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb
@@ -0,0 +1,69 @@
1DESCRIPTION = "Qt Library for ConnMan"
2HOMEPAGE = "https://github.com/nemomobile/libconnman-qt"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88"
5
6SECTION = "qt/lib"
7
8PR = "r0"
9
10inherit qt4x11 pkgconfig
11
12RDEPENDS_${PN} = "connman"
13RDEPENDS_${PN}-plugin = "${PN}"
14
15PROVIDES += "${PN}-plugin"
16
17PACKAGES =+ "${PN}-plugin ${PN}-plugin-dbg"
18RRECOMMENDS_${PN} = "${PN}-plugin"
19
20BRANCH = "master"
21# this matches 0.4.0 tag
22SRCREV = "3af5bd38d82255942f582398160a5d3354346ca3"
23
24SRC_URI = " \
25 git://github.com/nemomobile/${PN}.git;branch=${BRANCH} \
26 file://0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch \
27"
28
29S = "${WORKDIR}/git"
30
31QT_IMPORTS_DIR = "${libdir}/qt4/imports"
32# the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro
33PLUGINS_TARGET = "${QT_IMPORTS_DIR}/MeeGo/Connman"
34
35EXTRA_QMAKEVARS_PRE = " \
36 CONFIG+=notest \
37"
38
39do_configure_prepend() {
40 # Hack *.pro variables
41 find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';'
42}
43
44do_install() {
45 export INSTALL_ROOT=${D}
46 oe_runmake install
47}
48
49FILES_${PN} = " \
50 ${libdir}/libconnman-qt4${SOLIBS} \
51"
52
53FILES_${PN}-dev = " \
54 ${includedir}/connman-qt/* \
55 ${libdir}/libconnman-qt4${SOLIBSDEV} \
56 ${libdir}/libconnman-qt4.prl \
57 ${libdir}/pkgconfig/connman-qt4.pc \
58 ${libdir}/connman-qt4.pc \
59"
60
61FILES_${PN}-plugin = " \
62 ${PLUGINS_TARGET}/qmldir \
63 ${PLUGINS_TARGET}/lib*.so \
64"
65
66FILES_${PN}-plugin-dbg = " \
67 ${PLUGINS_TARGET}/.debug \
68 ${PLUGINS_TARGET}/.debug/* \
69"