summaryrefslogtreecommitdiffstats
path: root/recipes-qt/maliit/maliit-framework-qt5_git.bb
diff options
context:
space:
mode:
authorJohannes Pointner <h4nn35.work@gmail.com>2015-10-01 20:02:38 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-10-03 12:52:48 +0200
commit51b4620392aa9041d8512549bfa554bea368c5ea (patch)
tree6efa008032cfbf849c03114bc313fe494db98373 /recipes-qt/maliit/maliit-framework-qt5_git.bb
parentd8a4d97e37868e3afe594046ed15b154ceccc084 (diff)
downloadmeta-qt5-51b4620392aa9041d8512549bfa554bea368c5ea.tar.gz
maliit-framework-qt5: fixed paths and enabled qt5-inputcontext
* Fixes paths for qt5 using qmake5_paths variables and enables qt5-inputcontext. Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/maliit/maliit-framework-qt5_git.bb')
-rw-r--r--recipes-qt/maliit/maliit-framework-qt5_git.bb24
1 files changed, 12 insertions, 12 deletions
diff --git a/recipes-qt/maliit/maliit-framework-qt5_git.bb b/recipes-qt/maliit/maliit-framework-qt5_git.bb
index 975892d6..62a7209b 100644
--- a/recipes-qt/maliit/maliit-framework-qt5_git.bb
+++ b/recipes-qt/maliit/maliit-framework-qt5_git.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://wiki.maliit.org/Main_Page"
4LICENSE = "LGPLv2.1" 4LICENSE = "LGPLv2.1"
5LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" 5LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad"
6 6
7inherit qmake5 7inherit qmake5 qmake5_paths
8 8
9SRC_URI = "git://github.com/maliit/framework.git;branch=master \ 9SRC_URI = "git://github.com/maliit/framework.git;branch=master \
10 file://0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch \ 10 file://0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch \
@@ -20,9 +20,6 @@ GTKIMMODULES_PACKAGES = "${PN}-gtk"
20 20
21DEPENDS = "qtdeclarative" 21DEPENDS = "qtdeclarative"
22 22
23# FIXME: Do we need something like this with qt5?
24#RDEPENDS_${PN} = "qt4-plugin-inputmethod-imsw-multi libqtsvg4"
25
26RRECOMMENDS_${PN} = "maliit-plugins-qt5" 23RRECOMMENDS_${PN} = "maliit-plugins-qt5"
27 24
28FILES_${PN} += "\ 25FILES_${PN} += "\
@@ -30,24 +27,26 @@ FILES_${PN} += "\
30 ${bindir} \ 27 ${bindir} \
31 ${datadir}/applications/maliit-server.desktop \ 28 ${datadir}/applications/maliit-server.desktop \
32 ${datadir}/dbus-1 \ 29 ${datadir}/dbus-1 \
30 ${OE_QMAKE_PATH_PLUGINS}/platforminputcontexts \
33" 31"
34 32
35FILES_${PN}-dbg += "\ 33FILES_${PN}-dbg += "\
36 ${libdir}/maliit-framework-tests \ 34 ${libdir}/maliit-framework-tests \
35 ${OE_QMAKE_PATH_PLUGINS}/platforminputcontexts/.debug \
37" 36"
38 37
39FILES_${PN}-dev += "\ 38FILES_${PN}-dev += "\
40 ${includedir}/maliit \ 39 ${includedir}/maliit \
41 ${libdir}/pkgconfig \ 40 ${libdir}/pkgconfig \
42 ${libdir}/qt5/mkspecs \ 41 ${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs \
43" 42"
44 43
45EXTRA_QMAKEVARS_PRE = "\ 44EXTRA_QMAKEVARS_PRE = "\
46 PREFIX=${prefix} \ 45 PREFIX=${OE_QMAKE_PATH_PREFIX} \
47 LIBDIR=${libdir} \ 46 LIBDIR=${OE_QMAKE_PATH_LIBS} \
48 DATADIR=${datadir} \ 47 DATADIR=${OE_QMAKE_PATH_DATA} \
49 QT_IM_PLUGIN_PATH=${libdir}/qt4/plugins/inputmethods \ 48 QT_INSTALL_PLUGINS=${OE_QMAKE_PATH_PLUGINS} \
50 MALIIT_INSTALL_PRF=${QMAKE_MKSPEC_PATH}/mkspecs/features \ 49 MALIIT_INSTALL_PRF=${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features \
51 SCHEMADIR=${sysconfdir}/gconf/schemas \ 50 SCHEMADIR=${sysconfdir}/gconf/schemas \
52 CONFIG+=disable-gconf \ 51 CONFIG+=disable-gconf \
53 CONFIG+=disable-gtk-cache-update \ 52 CONFIG+=disable-gtk-cache-update \
@@ -56,14 +55,15 @@ EXTRA_QMAKEVARS_PRE = "\
56 CONFIG+=nodoc \ 55 CONFIG+=nodoc \
57 CONFIG+=noxcb \ 56 CONFIG+=noxcb \
58 CONFIG+=enable-dbus-activation \ 57 CONFIG+=enable-dbus-activation \
58 CONFIG+=qt5-inputcontext \
59" 59"
60 60
61EXTRA_OEMAKE += "INSTALL_ROOT=${D}" 61EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
62 62
63do_install_append() { 63do_install_append() {
64 #Fix absolute paths 64 #Fix absolute paths
65 sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}${QT_DIR_NAME}/mkspecs/features/maliit-framework.prf 65 sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/maliit-framework.prf
66 sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}${QT_DIR_NAME}/mkspecs/features/maliit-plugins.prf 66 sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/features/maliit-plugins.prf
67 67
68 install -d ${D}${datadir}/applications 68 install -d ${D}${datadir}/applications
69 install -m 644 ${WORKDIR}/maliit-server.desktop ${D}${datadir}/applications 69 install -m 644 ${WORKDIR}/maliit-server.desktop ${D}${datadir}/applications