surpport seeking the recorded video
[vuplus_openembedded] / 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 = "LGPLv2.1 GPLv3"
4 PRIORITY = "optional"
5 HOMEPAGE = "https://qt.nokia.com/"
6 DEPENDS += "directfb tslib"
7 INC_PR = "r35"
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 = "http://get.qt.nokia.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
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     -qt-mouse-pc -qt-mouse-linuxinput \
36     -qt-kbd-tty -qt-kbd-linuxinput \
37     -DQT_KEYPAD_NAVIGATION \
38     "
39
40 require qt4.inc
41
42 do_install_append() {
43         install -d ${D}${sysconfdir}/profile.d/
44         install -m 0755 ${WORKDIR}/qte.sh ${D}${sysconfdir}/profile.d/
45 }
46
47 FILES_${PN} += " ${sysconfdir}/profile.d/qte.sh"
48
49 inherit qt4e
50