summaryrefslogtreecommitdiff
path: root/packages/opie-ttf-support/opie-ttf-support_1.1.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-01-19 14:11:16 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-19 14:11:16 +0000
commit03e2c13cfe59893605eab3e84dd0a8ec9407b914 (patch)
treee873158ede54cb9847baab36fec49fcba66e7a86 /packages/opie-ttf-support/opie-ttf-support_1.1.bb
parentbb98b35f632879626a0c3d069f7d5bc1d77e98b7 (diff)
opie-ttf-support: updated to 1.1
- this version generate line for 'fixed' font from first fixed width TrueType font - close #441 and #599
Diffstat (limited to 'packages/opie-ttf-support/opie-ttf-support_1.1.bb')
-rw-r--r--packages/opie-ttf-support/opie-ttf-support_1.1.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/opie-ttf-support/opie-ttf-support_1.1.bb b/packages/opie-ttf-support/opie-ttf-support_1.1.bb
new file mode 100644
index 0000000000..f012af4a72
--- /dev/null
+++ b/packages/opie-ttf-support/opie-ttf-support_1.1.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Meta-package for Opie TTF support"
+DEPENDS = "freetype"
+SECTION = "opie/fonts"
+
+SRC_URI = "file://update-qtttffontdir.c"
+S = "${WORKDIR}"
+
+do_compile() {
+ ${CC} ${CFLAGS} ${LDFLAGS} -I${STAGING_INCDIR}/freetype2 -lfreetype -o update-qtttffontdir update-qtttffontdir.c
+}
+
+do_install() {
+ install -d ${D}${sbindir}
+ install -m 0755 update-qtttffontdir ${D}${sbindir}
+}
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+mkdir -p /opt/QtPalmtop/lib/fonts/
+${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype >/opt/QtPalmtop/lib/fonts/fontdir
+}