diff options
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-embedded.inc')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-embedded.inc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-embedded.inc b/meta/recipes-qt/qt4/qt4-embedded.inc new file mode 100644 index 0000000000..2ed1819f6f --- /dev/null +++ b/meta/recipes-qt/qt4/qt4-embedded.inc | |||
@@ -0,0 +1,34 @@ | |||
1 | DESCRIPTION = "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 = "http://qt.nokia.com" | ||
6 | DEPENDS += "directfb tslib" | ||
7 | INC_PR = "r26" | ||
8 | |||
9 | QT_BASE_NAME ?= "qt4-embedded" | ||
10 | QT_BASE_LIB ?= "libqt-embedded" | ||
11 | |||
12 | # Set necessary variables in the profile | ||
13 | SRC_URI += "file://qte.sh" | ||
14 | |||
15 | QT_CONFIG_FLAGS += " \ | ||
16 | -embedded ${QT_ARCH} \ | ||
17 | -qtlibinfix ${QT_LIBINFIX} \ | ||
18 | -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ | ||
19 | -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \ | ||
20 | -qt-kbd-tty \ | ||
21 | -DQT_KEYPAD_NAVIGATION \ | ||
22 | " | ||
23 | |||
24 | require qt4.inc | ||
25 | |||
26 | do_install_append() { | ||
27 | install -d ${D}${sysconfdir}/profile.d/ | ||
28 | install -m 0755 ${WORKDIR}/qte.sh ${D}${sysconfdir}/profile.d/ | ||
29 | } | ||
30 | |||
31 | FILES_${PN} += " ${sysconfdir}/profile.d/qte.sh" | ||
32 | |||
33 | inherit qt4e | ||
34 | |||