summaryrefslogtreecommitdiff
path: root/packages/qpf-fonts/qpf-bitstream-vera-sans-mono_1.10.bb
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-06-07 09:29:28 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-06-07 09:29:28 +0000
commitd8858809bff2b9bf50f87c04e303e6b988ecf682 (patch)
tree759af90b26abcb7dd22a0392b1187f9eaf9276a0 /packages/qpf-fonts/qpf-bitstream-vera-sans-mono_1.10.bb
parent1571a7edea7968de3469e0763c27f3231a6fe553 (diff)
move bitstream-vera fonts to ttf-fonts and qpf-fonts respectively.
Diffstat (limited to 'packages/qpf-fonts/qpf-bitstream-vera-sans-mono_1.10.bb')
-rw-r--r--packages/qpf-fonts/qpf-bitstream-vera-sans-mono_1.10.bb55
1 files changed, 55 insertions, 0 deletions
diff --git a/packages/qpf-fonts/qpf-bitstream-vera-sans-mono_1.10.bb b/packages/qpf-fonts/qpf-bitstream-vera-sans-mono_1.10.bb
new file mode 100644
index 0000000000..10d2d4acdd
--- /dev/null
+++ b/packages/qpf-fonts/qpf-bitstream-vera-sans-mono_1.10.bb
@@ -0,0 +1,55 @@
+DESCRIPTION = "Bitstream Vera Monospaced Font, QPF for Qt/Embedded"
+SECTION = "opie/fonts"
+LICENSE = "Bitstream Vera"
+PACKAGE_ARCH = "all"
+PR = "r3"
+
+PROVIDES += "qpf-bitstream-vera-sans-mono-small"
+PROVIDES += "qpf-bitstream-vera-sans-mono-larger"
+PROVIDES += "qpf-bitstream-vera-sans-mono-large"
+PROVIDES += "qpf-bitstream-vera-sans-mono-huge"
+
+SRC_URI = "http://openzaurus.org/mirror/fonts-bitstream-vera-sans-mono.tar.gz"
+S = "${WORKDIR}/verasansmono"
+
+FILES_${PN} += "/opt"
+
+do_install () {
+ install -d ${D}${palmqtdir}/lib/fonts/
+
+ cd ${WORKDIR}
+ files=`find . -name "*.qpf"`
+ for i in $files; do
+ install -m 644 $i ${D}${palmqtdir}/lib/fonts/
+ done
+}
+
+pkg_postinst () {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+set -e
+. /etc/profile
+${sbindir}/update-qtfontdir
+}
+
+
+PACKAGES = "\
+qpf-bitstream-vera-sans-mono-small \
+qpf-bitstream-vera-sans-mono-large \
+qpf-bitstream-vera-sans-mono-larger \
+qpf-bitstream-vera-sans-mono-huge"
+
+FILES_qpf-bitstream-vera-sans-mono-small = "\
+${palmqtdir}/lib/fonts/verasansmono_10* \
+ ${palmqtdir}/lib/fonts/verasansmono_11* \
+ ${palmqtdir}/lib/fonts/verasansmono_12* \
+ ${palmqtdir}/lib/fonts/verasansmono_13* \
+ ${palmqtdir}/lib/fonts/verasansmono_14*"
+FILES_qpf-bitstream-vera-sans-mono-large = "\
+ ${palmqtdir}/lib/fonts/verasansmono_15*" \
+ ${palmqtdir}/lib/fonts/verasansmono_16* \
+ ${palmqtdir}/lib/fonts/verasansmono_17* \
+ ${palmqtdir}/lib/fonts/verasansmono_18* \
+ ${palmqtdir}/lib/fonts/verasansmono_19*"
+FILES_qpf-bitstream-vera-sans-mono-larger = "${palmqtdir}/lib/fonts/verasansmono_2*"
+FILES_qpf-bitstream-vera-sans-mono-huge = "${palmqtdir}/lib/fonts/verasansmono_3*"