qt4: remove qte.sh from shared SRC_URI and PACKAGE_ARCH_palmpre
[openembedded.git] / recipes / qt4 / qt4-embedded.inc
blob168a8677e830be473189b87a799e5160c5f1976d
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 = "r33"
9 QT_BASE_NAME ?= "qt4-embedded"
10 QT_BASE_LIB  ?= "libqt-embedded"
11 QT_DIR_NAME = "qtopia"
12 QT_LIBINFIX = "E"
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            "
28 # Set necessary variables in the profile
29 SRC_URI += "file://qte.sh"
31 S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}"
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 -qt-kbd-linuxinput \
38     -DQT_KEYPAD_NAVIGATION \
39     "
41 require qt4.inc
43 do_install_append() {
44         install -d ${D}${sysconfdir}/profile.d/
45         install -m 0755 ${WORKDIR}/qte.sh ${D}${sysconfdir}/profile.d/
48 FILES_${PN} += " ${sysconfdir}/profile.d/qte.sh"
50 inherit qt4e