diff options
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.bb | 69 |
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 @@ | |||
| 1 | DESCRIPTION = "Qt Library for ConnMan" | ||
| 2 | HOMEPAGE = "https://github.com/nemomobile/libconnman-qt" | ||
| 3 | LICENSE = "Apache-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" | ||
| 5 | |||
| 6 | SECTION = "qt/lib" | ||
| 7 | |||
| 8 | PR = "r0" | ||
| 9 | |||
| 10 | inherit qt4x11 pkgconfig | ||
| 11 | |||
| 12 | RDEPENDS_${PN} = "connman" | ||
| 13 | RDEPENDS_${PN}-plugin = "${PN}" | ||
| 14 | |||
| 15 | PROVIDES += "${PN}-plugin" | ||
| 16 | |||
| 17 | PACKAGES =+ "${PN}-plugin ${PN}-plugin-dbg" | ||
| 18 | RRECOMMENDS_${PN} = "${PN}-plugin" | ||
| 19 | |||
| 20 | BRANCH = "master" | ||
| 21 | # this matches 0.4.0 tag | ||
| 22 | SRCREV = "3af5bd38d82255942f582398160a5d3354346ca3" | ||
| 23 | |||
| 24 | SRC_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 | |||
| 29 | S = "${WORKDIR}/git" | ||
| 30 | |||
| 31 | QT_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 | ||
| 33 | PLUGINS_TARGET = "${QT_IMPORTS_DIR}/MeeGo/Connman" | ||
| 34 | |||
| 35 | EXTRA_QMAKEVARS_PRE = " \ | ||
| 36 | CONFIG+=notest \ | ||
| 37 | " | ||
| 38 | |||
| 39 | do_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 | |||
| 44 | do_install() { | ||
| 45 | export INSTALL_ROOT=${D} | ||
| 46 | oe_runmake install | ||
| 47 | } | ||
| 48 | |||
| 49 | FILES_${PN} = " \ | ||
| 50 | ${libdir}/libconnman-qt4${SOLIBS} \ | ||
| 51 | " | ||
| 52 | |||
| 53 | FILES_${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 | |||
| 61 | FILES_${PN}-plugin = " \ | ||
| 62 | ${PLUGINS_TARGET}/qmldir \ | ||
| 63 | ${PLUGINS_TARGET}/lib*.so \ | ||
| 64 | " | ||
| 65 | |||
| 66 | FILES_${PN}-plugin-dbg = " \ | ||
| 67 | ${PLUGINS_TARGET}/.debug \ | ||
| 68 | ${PLUGINS_TARGET}/.debug/* \ | ||
| 69 | " | ||
