diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-qt/qt4/qt4-embedded.inc | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-embedded.inc')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-embedded.inc | 75 |
1 files changed, 75 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..ef5cf2cf24 --- /dev/null +++ b/meta/recipes-qt/qt4/qt4-embedded.inc | |||
@@ -0,0 +1,75 @@ | |||
1 | SUMMARY = "Cross-platform UI toolkit and application framework (framebuffer version)" | ||
2 | DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the embedded (framebuffer) version." | ||
3 | SECTION = "libs" | ||
4 | HOMEPAGE = "http://qt-project.org/" | ||
5 | DEPENDS += "directfb tslib" | ||
6 | INC_PR = "r52" | ||
7 | |||
8 | QT4EDEPENDS = "" | ||
9 | QT_BASE_LIB ?= "libqt-embedded" | ||
10 | |||
11 | # Set necessary variables in the profile | ||
12 | SRC_URI += "file://qte.sh \ | ||
13 | file://0033-configure-support-c-0x-standard-for-directfd.patch \ | ||
14 | " | ||
15 | |||
16 | QT_EMBEDDED_FLAGS ?= " \ | ||
17 | -embedded $QT_ARCH \ | ||
18 | -qtlibinfix ${QT_LIBINFIX} \ | ||
19 | " | ||
20 | QT_EMBEDDED_EXTRA_FLAGS ?= " \ | ||
21 | -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ | ||
22 | -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \ | ||
23 | -qt-kbd-tty -qt-kbd-linuxinput \ | ||
24 | " | ||
25 | QT_EMBEDDED_KEYPAD_FLAGS ?= " \ | ||
26 | -DQT_KEYPAD_NAVIGATION \ | ||
27 | " | ||
28 | |||
29 | QT_CONFIG_FLAGS += "${QT_EMBEDDED_FLAGS} ${QT_EMBEDDED_EXTRA_FLAGS} ${QT_EMBEDDED_KEYPAD_FLAGS}" | ||
30 | |||
31 | require qt4.inc | ||
32 | |||
33 | do_install_append() { | ||
34 | install -d ${D}/${libdir}/fonts | ||
35 | touch ${D}/${libdir}/fonts/fontdir | ||
36 | |||
37 | install -d ${D}${sysconfdir}/profile.d/ | ||
38 | install -m 0755 ${WORKDIR}/qte.sh ${D}${sysconfdir}/profile.d/ | ||
39 | } | ||
40 | |||
41 | # We put the qte profile into it's own package as we don't want to install all qt stuff | ||
42 | # with depending on the global package qt4-embedded | ||
43 | PACKAGES += " ${PN}-conf" | ||
44 | FILES_${PN}-conf += " ${sysconfdir}/profile.d/qte.sh" | ||
45 | RRECOMMENDS_${PN} += " ${PN}-conf" | ||
46 | |||
47 | OTHER_PACKAGES += "\ | ||
48 | ${QT_BASE_NAME}-fonts \ | ||
49 | ${QT_BASE_NAME}-fonts-ttf-vera \ | ||
50 | ${QT_BASE_NAME}-fonts-ttf-dejavu \ | ||
51 | ${QT_BASE_NAME}-fonts-pfa \ | ||
52 | ${QT_BASE_NAME}-fonts-pfb \ | ||
53 | ${QT_BASE_NAME}-fonts-qpf" | ||
54 | |||
55 | RRECOMMENDS_${QT_BASE_NAME}-fonts = " \ | ||
56 | ${QT_BASE_NAME}-fonts-ttf-vera \ | ||
57 | ${QT_BASE_NAME}-fonts-ttf-dejavu \ | ||
58 | ${QT_BASE_NAME}-fonts-pfa \ | ||
59 | ${QT_BASE_NAME}-fonts-pfb \ | ||
60 | ${QT_BASE_NAME}-fonts-qpf" | ||
61 | RRECOMMENDS_${QT_BASE_NAME}-demos += " \ | ||
62 | ${QT_BASE_NAME}-fonts" | ||
63 | |||
64 | ALLOW_EMPTY_${QT_BASE_NAME}-fonts = "1" | ||
65 | PACKAGES_DYNAMIC += "^${QT_BASE_NAME}-fonts-.*" | ||
66 | |||
67 | FILES_${QT_BASE_NAME}-fonts-ttf-vera = "${libdir}/fonts/Vera*.ttf" | ||
68 | FILES_${QT_BASE_NAME}-fonts-ttf-dejavu = "${libdir}/fonts/DejaVu*.ttf" | ||
69 | FILES_${QT_BASE_NAME}-fonts-pfa = "${libdir}/fonts/*.pfa" | ||
70 | FILES_${QT_BASE_NAME}-fonts-pfb = "${libdir}/fonts/*.pfb" | ||
71 | FILES_${QT_BASE_NAME}-fonts-qpf = "${libdir}/fonts/*.qpf*" | ||
72 | FILES_${QT_BASE_NAME}-fonts = "${libdir}/fonts/README ${libdir}/fonts/fontdir" | ||
73 | |||
74 | inherit qt4e | ||
75 | |||