Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org...
[openembedded.git] / recipes / qt4 / qt4-embedded.inc
1 SUMMARY = "Qt is a versatile cross-platform application framework -- this is the embedded version."
2 SECTION = "libs"
3 LICENSE = "GPL QPL"
4 PRIORITY = "optional"
5 HOMEPAGE = "http://www.trolltech.com"
6 DEPENDS += "directfb tslib"
7 INC_PR = "r14"
8
9 QT_BASE_NAME ?= "qt4-embedded"
10 QT_BASE_LIB  ?= "libqt-embedded"
11 QT_DIR_NAME = "qtopia"
12 QT_LIBINFIX = "E"
13
14 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
15            file://0001-cross-compile.patch;patch=1 \
16            file://0002-fix-resinit-declaration.patch;patch=1 \
17            file://0003-no-tools.patch;patch=1 \
18            file://0004-no-qmake.patch;patch=1 \
19            file://0006-freetype-host-includes.patch;patch=1 \
20            file://0007-openssl-host-includes.patch;patch=1 \
21            file://0008-qt-lib-infix.patch;patch=1 \
22            file://0009-support-2bpp.patch;patch=1 \
23            file://fix-config-tests.patch;patch=1 \
24            file://g++.conf \
25            file://linux.conf \
26            "
27 S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}"
28
29 QT_CONFIG_FLAGS += " \
30     -qtlibinfix ${QT_LIBINFIX} \
31     -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows \
32     -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \
33     -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb \
34     -qt-kbd-tty \
35     -DQT_KEYPAD_NAVIGATION \
36     "
37
38 require qt4.inc
39
40 inherit qt4e
41