Skip to contentSkip to conversation

libconnman-qt: update to 1.0.50+git80ac184

PATCH New Andreas Oberritter 1 participant 1 message Mar 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libconnman-qt: update to 1.0.50+git80ac184

Allows to install versions for Qt4/X11 and Qt4/Embedded into the same filesystem by overriding the target name.

This version also removes a superflous .pc file from ${libdir}.

---
v2: Fix libconnman-qte linker error when building the qml plugin.
There was no response about the patch from upstream yet.

 meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc |  7 ++--
 ...n.pro-fix-build-with-custom-target-suffix.patch | 42 ++++++++++++++++++++++
 .../recipes-qt/libconnman-qt/libconnman-qte_git.bb |  2 ++
 3 files changed, 47 insertions(+), 4 deletions(-)
 create mode 100644 meta-oe/recipes-qt/libconnman-qt/libconnman-qte/plugin.pro-fix-build-with-custom-target-suffix.patch
meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc +3 -4
index 77e70e8..3f91be2 100644
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/nemomobile/libconnman-qt"
 SECTION = "qt/lib"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88"
-SRCREV = "ddbeaf72b4d3c49285b0513b28948edacfc40b51"
-PV = "1.0.46+git${SRCPV}"
+SRCREV = "80ac184d859ea90c026403f5a520644945a5081a"
+PV = "1.0.50+git${SRCPV}"
 
 SRC_URI = "git://github.com/nemomobile/libconnman-qt.git;branch=master"
 
@@ -12,7 +12,7 @@ S = "${WORKDIR}/git"
 
 inherit pkgconfig
 
-EXTRA_QMAKEVARS_PRE += "CONFIG+=notests"
+EXTRA_QMAKEVARS_PRE += "CONFIG+=notests TARGET_SUFFIX=${QT_DIR_NAME}"
 
 do_configure_prepend() {
     # Hack *.pro variables
@@ -37,7 +37,6 @@ FILES_${PN}-dev = " \
     ${libdir}/libconnman-qt*${SOLIBSDEV} \
     ${libdir}/libconnman-qt*.prl \
     ${libdir}/pkgconfig/connman-qt*.pc \
-    ${libdir}/connman-qt*.pc \
 "
 FILES_${PN}-plugin = " \
     ${PLUGINS_TARGET}/qmldir \
meta-oe/recipes-qt/libconnman-qt/libconnman-qte/plugin.pro-fix-build-with-custom-target-suffix.patch new file +42 -0

42 lines not on this page · raw message

meta-oe/recipes-qt/libconnman-qt/libconnman-qte_git.bb +2 -0
index 7ee4bdb..9d44957 100644
@@ -1,3 +1,5 @@
 inherit qt4e
 
 require libconnman-qt.inc
+
+SRC_URI += "file://plugin.pro-fix-build-with-custom-target-suffix.patch"
Signature · 1 line
1.8.3.2