summaryrefslogtreecommitdiff
path: root/packages/qt4/qt-embedded.inc
blob: 7de7a80a47f5a67f31695767eb7b50b441d3df16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SUMMARY = "Qt is a versatile cross-platform application framework -- this is the embedded version."
SECTION = "libs"
LICENSE = "GPL"
PRIORITY = "optional"
HOMEPAGE = "http://www.trolltech.com"
DEPENDS += "tslib"

SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \
           file://qconfig-oe.h \
           file://0001-cross-compile.patch;patch=1 \
           file://0003-no-tools.patch;patch=1 \
           file://0004-no-qmake.patch;patch=1 \
           file://0005-fix-mkspecs.patch;patch=1 \
           file://0006-freetype-host-includes.patch;patch=1 \
           file://0007-openssl-host-includes.patch;patch=1 \
           file://qt-lib-infix.patch;patch=1 \
           file://build-tools.patch;patch=1 \
           file://support-2bpp.patch;patch=1 \
           "
S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}"

QT_CONFIG_FLAGS += " \
    -nomake demos -nomake examples -nomake tools -qtlibinfix E\
    -embedded ${QT_ARCH} \
    -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows \
    -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc\
    -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb\
    -qt-kbd-tty -qt-kbd-usb -qt-kbd-qvfb\
    -webkit \
    -DQT_KEYPAD_NAVIGATION \
    "

do_configure_prepend() {
    cp ${WORKDIR}/qconfig-oe.h ${S}/src/corelib/global
}

QT_BASE_NAME = "qt-embedded"
QT_BASE_LIB  = "libqt-embedded"
QT_DIR_NAME = "qtopia"
QT_LIBINFIX="E"
require qt_depends.inc
require qt_configuration.inc
require qt_packaging.inc
require qt_staging.inc

inherit qt4e