diff options
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-embedded.inc')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-embedded.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-embedded.inc b/meta/recipes-qt/qt4/qt4-embedded.inc index 9e8bf3a0d7..de1b88ee83 100644 --- a/meta/recipes-qt/qt4/qt4-embedded.inc +++ b/meta/recipes-qt/qt4/qt4-embedded.inc | |||
@@ -21,6 +21,9 @@ QT_CONFIG_FLAGS += " \ | |||
21 | require qt4.inc | 21 | require qt4.inc |
22 | 22 | ||
23 | do_install_append() { | 23 | do_install_append() { |
24 | install -d ${D}/${libdir}/fonts | ||
25 | touch ${D}/${libdir}/fonts/fontdir | ||
26 | |||
24 | install -d ${D}${sysconfdir}/profile.d/ | 27 | install -d ${D}${sysconfdir}/profile.d/ |
25 | install -m 0755 ${WORKDIR}/qte.sh ${D}${sysconfdir}/profile.d/ | 28 | install -m 0755 ${WORKDIR}/qte.sh ${D}${sysconfdir}/profile.d/ |
26 | } | 29 | } |
@@ -31,5 +34,32 @@ PACKAGES += " ${PN}-conf" | |||
31 | FILES_${PN}-conf += " ${sysconfdir}/profile.d/qte.sh" | 34 | FILES_${PN}-conf += " ${sysconfdir}/profile.d/qte.sh" |
32 | RRECOMMENDS_${PN} += " ${PN}-conf" | 35 | RRECOMMENDS_${PN} += " ${PN}-conf" |
33 | 36 | ||
37 | OTHER_PACKAGES += "\ | ||
38 | ${QT_BASE_NAME}-fonts \ | ||
39 | ${QT_BASE_NAME}-fonts-ttf-vera \ | ||
40 | ${QT_BASE_NAME}-fonts-ttf-dejavu \ | ||
41 | ${QT_BASE_NAME}-fonts-pfa \ | ||
42 | ${QT_BASE_NAME}-fonts-pfb \ | ||
43 | ${QT_BASE_NAME}-fonts-qpf" | ||
44 | |||
45 | RRECOMMENDS_${QT_BASE_NAME}-fonts = " \ | ||
46 | ${QT_BASE_NAME}-fonts-ttf-vera \ | ||
47 | ${QT_BASE_NAME}-fonts-ttf-dejavu \ | ||
48 | ${QT_BASE_NAME}-fonts-pfa \ | ||
49 | ${QT_BASE_NAME}-fonts-pfb \ | ||
50 | ${QT_BASE_NAME}-fonts-qpf" | ||
51 | RRECOMMENDS_${QT_BASE_NAME}-demos += " \ | ||
52 | ${QT_BASE_NAME}-fonts" | ||
53 | |||
54 | ALLOW_EMPTY_${QT_BASE_NAME}-fonts = "1" | ||
55 | PACKAGES_DYNAMIC += "${QT_BASE_NAME}-fonts-*" | ||
56 | |||
57 | FILES_${QT_BASE_NAME}-fonts-ttf-vera = "${libdir}/fonts/Vera*.ttf" | ||
58 | FILES_${QT_BASE_NAME}-fonts-ttf-dejavu = "${libdir}/fonts/DejaVu*.ttf" | ||
59 | FILES_${QT_BASE_NAME}-fonts-pfa = "${libdir}/fonts/*.pfa" | ||
60 | FILES_${QT_BASE_NAME}-fonts-pfb = "${libdir}/fonts/*.pfb" | ||
61 | FILES_${QT_BASE_NAME}-fonts-qpf = "${libdir}/fonts/*.qpf*" | ||
62 | FILES_${QT_BASE_NAME}-fonts = "${libdir}/fonts/README ${libdir}/fonts/fontdir" | ||
63 | |||
34 | inherit qt4e | 64 | inherit qt4e |
35 | 65 | ||