summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/vera-fonts/qpf-bitstream-vera-sans-mono_1.10.bb27
-rw-r--r--packages/vera-fonts/qpf-bitstream-vera_1.10.bb40
-rw-r--r--packages/vera-fonts/ttf-bitstream-vera_1.10.bb33
3 files changed, 96 insertions, 4 deletions
diff --git a/packages/vera-fonts/qpf-bitstream-vera-sans-mono_1.10.bb b/packages/vera-fonts/qpf-bitstream-vera-sans-mono_1.10.bb
index 7dfd933287..5d8a2cf6f6 100644
--- a/packages/vera-fonts/qpf-bitstream-vera-sans-mono_1.10.bb
+++ b/packages/vera-fonts/qpf-bitstream-vera-sans-mono_1.10.bb
@@ -1,7 +1,8 @@
DESCRIPTION = "Bitstream Vera Monospaced Font, QPF for Qt/Embedded"
SECTION = "opie/fonts"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://openzaurus.org/mirror/fonts-bitstream-vera-sans-mono.tar.gz"
S = "${WORKDIR}/verasansmono"
@@ -26,7 +27,25 @@ set -e
${sbindir}/update-qtfontdir
}
-PACKAGES = "qpf-bitstream-vera-sans-mono-small qpf-bitstream-vera-sans-mono-large qpf-bitstream-vera-sans-mono-huge"
-FILES_qpf-bitstream-vera-sans-mono-small = "${palmqtdir}/lib/fonts/verasansmono_1*"
-FILES_qpf-bitstream-vera-sans-mono-large = "${palmqtdir}/lib/fonts/verasansmono_2*"
+PACKAGE_ARCH = "all"
+
+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*"
diff --git a/packages/vera-fonts/qpf-bitstream-vera_1.10.bb b/packages/vera-fonts/qpf-bitstream-vera_1.10.bb
index e69de29bb2..95b68fdd3f 100644
--- a/packages/vera-fonts/qpf-bitstream-vera_1.10.bb
+++ b/packages/vera-fonts/qpf-bitstream-vera_1.10.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "The Bitstream Vera fonts - QPF Edition"
+SECTION = "opie/fonts"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "r1"
+
+SRC_URI = "http://openzaurus.org/mirror/vera-qpf_1.10-3.tar.gz"
+S = "${WORKDIR}/vera-qpf"
+
+do_install () {
+ install -d ${D}${palmqtdir}/lib/fonts/
+ for i in *.qpf; do
+ install -m 644 $i ${D}${palmqtdir}/lib/fonts/${i}
+ done
+}
+
+pkg_postinst () {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+set -e
+. /etc/profile
+${sbindir}/update-qtfontdir
+}
+
+PACKAGE_ARCH = "all"
+
+PACKAGES = "qpf-bitstream-vera-small qpf-bitstream-vera-large"
+
+FILES_qpf-bitstream-vera-small = "${palmqtdir}/lib/fonts/vera_80_50* \
+${palmqtdir}/lib/fonts/vera_80_50i* ${palmqtdir}/lib/fonts/vera_80_75* ${palmqtdir}/lib/fonts/vera_80_75i* \
+${palmqtdir}/lib/fonts/vera_100_50* ${palmqtdir}/lib/fonts/vera_100_50i* ${palmqtdir}/lib/fonts/vera_100_75* \
+${palmqtdir}/lib/fonts/vera_100_75i* ${palmqtdir}/lib/fonts/vera_120_50* ${palmqtdir}/lib/fonts/vera_120_50i* \
+${palmqtdir}/lib/fonts/vera_120_75* ${palmqtdir}/lib/fonts/vera_120_75i*"
+
+FILES_qpf-bitstream-vera-large = "${palmqtdir}/lib/fonts/vera_140_50* ${palmqtdir}/lib/fonts/vera_140_50i* \
+${palmqtdir}/lib/fonts/vera_140_75* \
+${palmqtdir}/lib/fonts/vera_140_75i* ${palmqtdir}/lib/fonts/vera_160_50* ${palmqtdir}/lib/fonts/vera_160_50i* \
+${palmqtdir}/lib/fonts/vera_160_75* ${palmqtdir}/lib/fonts/vera_160_75i* ${palmqtdir}/lib/fonts/vera_180_50* \
+${palmqtdir}/lib/fonts/vera_180_50i* ${palmqtdir}/lib/fonts/vera_180_75* ${palmqtdir}/lib/fonts/vera_180_75i*"
diff --git a/packages/vera-fonts/ttf-bitstream-vera_1.10.bb b/packages/vera-fonts/ttf-bitstream-vera_1.10.bb
index e69de29bb2..11b87768ae 100644
--- a/packages/vera-fonts/ttf-bitstream-vera_1.10.bb
+++ b/packages/vera-fonts/ttf-bitstream-vera_1.10.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "The Bitstream Vera fonts - TTF Edition"
+SECTION = "x11/fonts"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PR = "r1"
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2"
+
+do_install () {
+ install -d ${D}${prefix}/share/fonts/ttf/
+ for i in *.ttf; do
+ install -m 644 $i ${D}${prefix}/share/fonts/ttf/${i}
+ done
+
+ # fontconfig ships this too. not sure what to do about it.
+ #install -d ${D}/etc/fonts
+ #install -m 644 local.conf ${D}/etc/fonts/local.conf
+
+
+ install -d ${D}${prefix}/share/doc/${PN}/
+ for i in *.TXT; do
+ install -m 644 $i ${D}${prefix}/share/doc/${PN}/$i
+ done
+}
+
+pkg_postinst () {
+#!/bin/sh
+fc-cache
+}
+
+PACKAGE_ARCH = "all"
+
+FILES_${PN} = "/etc /usr/share/fonts"