From c8e5702127e507e82e6f68a4b8c546803accea9d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 30 Jun 2005 08:19:37 +0000 Subject: import clean BK tree at cset 1.3670 --- packages/ttf-fonts/.mtn2git_empty | 0 packages/ttf-fonts/ttf-dejavu_1.11.bb | 18 ++++++++++++++++++ packages/ttf-fonts/ttf.inc | 19 +++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 packages/ttf-fonts/.mtn2git_empty (limited to 'packages/ttf-fonts') diff --git a/packages/ttf-fonts/.mtn2git_empty b/packages/ttf-fonts/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/ttf-fonts/ttf-dejavu_1.11.bb b/packages/ttf-fonts/ttf-dejavu_1.11.bb index e69de29bb2..64d0ac3e60 100644 --- a/packages/ttf-fonts/ttf-dejavu_1.11.bb +++ b/packages/ttf-fonts/ttf-dejavu_1.11.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "DejaVu font - TTF Edition" +LICENSE = "Bitstream Vera" +HOMEPAGE = "http://dejavu.sourceforge.net/wiki/index.php/Main_Page" + +SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-ttf-${PV}.tar.gz" + +include ttf.inc + +S = "${WORKDIR}/dejavu-ttf-${PV}" + +PACKAGES = "ttf-dejavu-sans ttf-dejavu-sans-mono ttf-dejavu-sans-condensed \ + ttf-dejavu-serif ttf-dejavu-serif-condensed" + +FILES_ttf-dejavu-sans = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf" +FILES_ttf-dejavu-sans-mono = "${datadir}/fonts/truetype/DejaVuSansMono.ttf ${datadir}/fonts/truetype/DejaVuSansMono-*.ttf" +FILES_ttf-dejavu-sans-condensed = "${datadir}/fonts/truetype/DejaVuSansCondensed.ttf ${datadir}/fonts/truetype/DejaVuSansCondensed-*.ttf" +FILES_ttf-dejavu-serif = "${datadir}/fonts/truetype/DejaVuSerif.ttf ${datadir}/fonts/truetype/DejaVuSerif-*.ttf" +FILES_ttf-dejavu-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed.ttf ${datadir}/fonts/truetype/DejaVuSerifCondensed-*.ttf" diff --git a/packages/ttf-fonts/ttf.inc b/packages/ttf-fonts/ttf.inc index e69de29bb2..4cf5262280 100644 --- a/packages/ttf-fonts/ttf.inc +++ b/packages/ttf-fonts/ttf.inc @@ -0,0 +1,19 @@ +SECTION = "x11/fonts" #maybe this should be "fonts/ttf"? +PRIORITY = "optional" +PACKAGE_ARCH = "all" +#DEPENDS = "fontconfig" +#RSUGGESTS = "libfontconfig-utils" + +# I dont want TTF fonts to depend on fontconfig on device +# as those fonts can be used not only in X11 enviroment +# for example I use them with OPIE + +do_install() { + install -d ${D}${datadir}/fonts/truetype/ + install -m 0644 ${S}/*.ttf ${D}${datadir}/fonts/truetype/ +} + +#pkg_postinst () { +##!/bin/sh +#fc-cache +#} -- cgit v1.2.3