diff options
Diffstat (limited to 'recipes-qt/qt4/qt4-embedded.inc')
-rw-r--r-- | recipes-qt/qt4/qt4-embedded.inc | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/recipes-qt/qt4/qt4-embedded.inc b/recipes-qt/qt4/qt4-embedded.inc new file mode 100644 index 0000000000..60eb179a6b --- /dev/null +++ b/recipes-qt/qt4/qt4-embedded.inc | |||
@@ -0,0 +1,51 @@ | |||
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 = "r25" | ||
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 \ | ||
16 | file://0002-fix-resinit-declaration.patch \ | ||
17 | file://0003-no-tools.patch \ | ||
18 | file://0004-no-qmake.patch \ | ||
19 | file://0006-freetype-host-includes.patch \ | ||
20 | file://0007-openssl-host-includes.patch \ | ||
21 | file://0008-qt-lib-infix.patch \ | ||
22 | file://0009-support-2bpp.patch \ | ||
23 | file://fix-config-tests.patch \ | ||
24 | file://g++.conf \ | ||
25 | file://linux.conf \ | ||
26 | " | ||
27 | |||
28 | # Set necessary variables in the profile | ||
29 | SRC_URI += "file://qte.sh" | ||
30 | |||
31 | S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}" | ||
32 | |||
33 | QT_CONFIG_FLAGS += " \ | ||
34 | -qtlibinfix ${QT_LIBINFIX} \ | ||
35 | -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ | ||
36 | -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \ | ||
37 | -qt-kbd-tty \ | ||
38 | -DQT_KEYPAD_NAVIGATION \ | ||
39 | " | ||
40 | |||
41 | require qt4.inc | ||
42 | |||
43 | do_install_append() { | ||
44 | install -d ${D}${sysconfdir}/profile.d/ | ||
45 | install -m 0755 ${WORKDIR}/qte.sh ${D}${sysconfdir}/profile.d/ | ||
46 | } | ||
47 | |||
48 | FILES_${PN} += " ${sysconfdir}/profile.d/qte.sh" | ||
49 | |||
50 | inherit qt4e | ||
51 | |||