diff options
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc (renamed from meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb) | 61 | ||||
| -rw-r--r-- | meta-oe/recipes-qt/libconnman-qt/libconnman-qt_git.bb | 3 | ||||
| -rw-r--r-- | meta-oe/recipes-qt/libconnman-qt/libconnman-qte_git.bb | 3 |
3 files changed, 30 insertions, 37 deletions
diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc index 2288c4f97b..77e70e8998 100644 --- a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb +++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc | |||
| @@ -1,66 +1,53 @@ | |||
| 1 | DESCRIPTION = "Qt Library for ConnMan" | 1 | DESCRIPTION = "Qt Library for ConnMan" |
| 2 | HOMEPAGE = "https://github.com/nemomobile/libconnman-qt" | 2 | HOMEPAGE = "https://github.com/nemomobile/libconnman-qt" |
| 3 | SECTION = "qt/lib" | ||
| 3 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" | 5 | LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" |
| 6 | SRCREV = "ddbeaf72b4d3c49285b0513b28948edacfc40b51" | ||
| 7 | PV = "1.0.46+git${SRCPV}" | ||
| 5 | 8 | ||
| 6 | SECTION = "qt/lib" | 9 | SRC_URI = "git://github.com/nemomobile/libconnman-qt.git;branch=master" |
| 7 | |||
| 8 | |||
| 9 | inherit qt4x11 pkgconfig | ||
| 10 | |||
| 11 | RDEPENDS_${PN} = "connman" | ||
| 12 | RDEPENDS_${PN}-plugin = "${PN}" | ||
| 13 | |||
| 14 | PROVIDES += "${PN}-plugin" | ||
| 15 | |||
| 16 | PACKAGES =+ "${PN}-plugin ${PN}-plugin-dbg" | ||
| 17 | RRECOMMENDS_${PN} = "${PN}-plugin" | ||
| 18 | |||
| 19 | BRANCH = "master" | ||
| 20 | SRCREV = "6a5e4f981112a90a8c19d82bd671da389d2af993" | ||
| 21 | |||
| 22 | SRC_URI = " \ | ||
| 23 | git://github.com/nemomobile/${PN}.git;branch=${BRANCH} \ | ||
| 24 | " | ||
| 25 | 10 | ||
| 26 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 27 | 12 | ||
| 28 | QT_IMPORTS_DIR = "${libdir}/qt4/imports" | 13 | inherit pkgconfig |
| 29 | # the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro | ||
| 30 | PLUGINS_TARGET = "${QT_IMPORTS_DIR}/MeeGo/Connman" | ||
| 31 | 14 | ||
| 32 | EXTRA_QMAKEVARS_PRE = " \ | 15 | EXTRA_QMAKEVARS_PRE += "CONFIG+=notests" |
| 33 | CONFIG+=notest \ | ||
| 34 | " | ||
| 35 | 16 | ||
| 36 | do_configure_prepend() { | 17 | do_configure_prepend() { |
| 37 | # Hack *.pro variables | 18 | # Hack *.pro variables |
| 38 | find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' | 19 | find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' |
| 39 | } | 20 | } |
| 40 | |||
| 41 | do_install() { | 21 | do_install() { |
| 42 | export INSTALL_ROOT=${D} | 22 | oe_runmake install INSTALL_ROOT=${D} |
| 43 | oe_runmake install | ||
| 44 | } | 23 | } |
| 45 | 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 | |||
| 46 | FILES_${PN} = " \ | 32 | FILES_${PN} = " \ |
| 47 | ${libdir}/libconnman-qt4${SOLIBS} \ | 33 | ${libdir}/libconnman-qt*${SOLIBS} \ |
| 48 | " | 34 | " |
| 49 | |||
| 50 | FILES_${PN}-dev = " \ | 35 | FILES_${PN}-dev = " \ |
| 51 | ${includedir}/connman-qt/* \ | 36 | ${includedir}/connman-qt*/* \ |
| 52 | ${libdir}/libconnman-qt4${SOLIBSDEV} \ | 37 | ${libdir}/libconnman-qt*${SOLIBSDEV} \ |
| 53 | ${libdir}/libconnman-qt4.prl \ | 38 | ${libdir}/libconnman-qt*.prl \ |
| 54 | ${libdir}/pkgconfig/connman-qt4.pc \ | 39 | ${libdir}/pkgconfig/connman-qt*.pc \ |
| 55 | ${libdir}/connman-qt4.pc \ | 40 | ${libdir}/connman-qt*.pc \ |
| 56 | " | 41 | " |
| 57 | |||
| 58 | FILES_${PN}-plugin = " \ | 42 | FILES_${PN}-plugin = " \ |
| 59 | ${PLUGINS_TARGET}/qmldir \ | 43 | ${PLUGINS_TARGET}/qmldir \ |
| 60 | ${PLUGINS_TARGET}/lib*.so \ | 44 | ${PLUGINS_TARGET}/lib*.so \ |
| 61 | " | 45 | " |
| 62 | |||
| 63 | FILES_${PN}-plugin-dbg = " \ | 46 | FILES_${PN}-plugin-dbg = " \ |
| 64 | ${PLUGINS_TARGET}/.debug \ | 47 | ${PLUGINS_TARGET}/.debug \ |
| 65 | ${PLUGINS_TARGET}/.debug/* \ | 48 | ${PLUGINS_TARGET}/.debug/* \ |
| 66 | " | 49 | " |
| 50 | |||
| 51 | QT_IMPORTS_DIR = "${libdir}/${QT_DIR_NAME}/imports" | ||
| 52 | # the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro | ||
| 53 | PLUGINS_TARGET = "${QT_IMPORTS_DIR}/MeeGo/Connman" | ||
diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_git.bb b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_git.bb new file mode 100644 index 0000000000..8d8822c5e1 --- /dev/null +++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_git.bb | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | inherit qt4x11 | ||
| 2 | |||
| 3 | require libconnman-qt.inc | ||
diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qte_git.bb b/meta-oe/recipes-qt/libconnman-qt/libconnman-qte_git.bb new file mode 100644 index 0000000000..7ee4bdb081 --- /dev/null +++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qte_git.bb | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | inherit qt4e | ||
| 2 | |||
| 3 | require libconnman-qt.inc | ||
