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