diff options
author | Johannes Pointner <h4nn35.work@gmail.com> | 2015-10-01 20:02:38 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-03 12:52:48 +0200 |
commit | 51b4620392aa9041d8512549bfa554bea368c5ea (patch) | |
tree | 6efa008032cfbf849c03114bc313fe494db98373 /recipes-qt/maliit/maliit-framework-qt5_git.bb | |
parent | d8a4d97e37868e3afe594046ed15b154ceccc084 (diff) | |
download | meta-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.bb | 24 |
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" | |||
4 | LICENSE = "LGPLv2.1" | 4 | LICENSE = "LGPLv2.1" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" |
6 | 6 | ||
7 | inherit qmake5 | 7 | inherit qmake5 qmake5_paths |
8 | 8 | ||
9 | SRC_URI = "git://github.com/maliit/framework.git;branch=master \ | 9 | SRC_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 | ||
21 | DEPENDS = "qtdeclarative" | 21 | DEPENDS = "qtdeclarative" |
22 | 22 | ||
23 | # FIXME: Do we need something like this with qt5? | ||
24 | #RDEPENDS_${PN} = "qt4-plugin-inputmethod-imsw-multi libqtsvg4" | ||
25 | |||
26 | RRECOMMENDS_${PN} = "maliit-plugins-qt5" | 23 | RRECOMMENDS_${PN} = "maliit-plugins-qt5" |
27 | 24 | ||
28 | FILES_${PN} += "\ | 25 | FILES_${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 | ||
35 | FILES_${PN}-dbg += "\ | 33 | FILES_${PN}-dbg += "\ |
36 | ${libdir}/maliit-framework-tests \ | 34 | ${libdir}/maliit-framework-tests \ |
35 | ${OE_QMAKE_PATH_PLUGINS}/platforminputcontexts/.debug \ | ||
37 | " | 36 | " |
38 | 37 | ||
39 | FILES_${PN}-dev += "\ | 38 | FILES_${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 | ||
45 | EXTRA_QMAKEVARS_PRE = "\ | 44 | EXTRA_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 | ||
61 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" | 61 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" |
62 | 62 | ||
63 | do_install_append() { | 63 | do_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 |