diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc')
-rw-r--r-- | meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc new file mode 100644 index 0000000000..3f91be2a4d --- /dev/null +++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc | |||
@@ -0,0 +1,52 @@ | |||
1 | DESCRIPTION = "Qt Library for ConnMan" | ||
2 | HOMEPAGE = "https://github.com/nemomobile/libconnman-qt" | ||
3 | SECTION = "qt/lib" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" | ||
6 | SRCREV = "80ac184d859ea90c026403f5a520644945a5081a" | ||
7 | PV = "1.0.50+git${SRCPV}" | ||
8 | |||
9 | SRC_URI = "git://github.com/nemomobile/libconnman-qt.git;branch=master" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit pkgconfig | ||
14 | |||
15 | EXTRA_QMAKEVARS_PRE += "CONFIG+=notests TARGET_SUFFIX=${QT_DIR_NAME}" | ||
16 | |||
17 | do_configure_prepend() { | ||
18 | # Hack *.pro variables | ||
19 | find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' | ||
20 | } | ||
21 | do_install() { | ||
22 | oe_runmake install INSTALL_ROOT=${D} | ||
23 | } | ||
24 | |||
25 | PACKAGES =+ "${PN}-plugin ${PN}-plugin-dbg" | ||
26 | |||
27 | RDEPENDS_${PN} = "connman" | ||
28 | RDEPENDS_${PN}-plugin = "${PN}" | ||
29 | |||
30 | RRECOMMENDS_${PN} = "${PN}-plugin" | ||
31 | |||
32 | FILES_${PN} = " \ | ||
33 | ${libdir}/libconnman-qt*${SOLIBS} \ | ||
34 | " | ||
35 | FILES_${PN}-dev = " \ | ||
36 | ${includedir}/connman-qt*/* \ | ||
37 | ${libdir}/libconnman-qt*${SOLIBSDEV} \ | ||
38 | ${libdir}/libconnman-qt*.prl \ | ||
39 | ${libdir}/pkgconfig/connman-qt*.pc \ | ||
40 | " | ||
41 | FILES_${PN}-plugin = " \ | ||
42 | ${PLUGINS_TARGET}/qmldir \ | ||
43 | ${PLUGINS_TARGET}/lib*.so \ | ||
44 | " | ||
45 | FILES_${PN}-plugin-dbg = " \ | ||
46 | ${PLUGINS_TARGET}/.debug \ | ||
47 | ${PLUGINS_TARGET}/.debug/* \ | ||
48 | " | ||
49 | |||
50 | QT_IMPORTS_DIR = "${libdir}/${QT_DIR_NAME}/imports" | ||
51 | # the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro | ||
52 | PLUGINS_TARGET = "${QT_IMPORTS_DIR}/MeeGo/Connman" | ||