From acb222dfc613df9de644a8c890d7b31c5d572d8c Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 8 Aug 2008 07:42:45 +0000 Subject: liberation-fonts: update to 1.04 from Fedora git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5031 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/ttf-fonts/liberation-fonts_1.04.bb | 31 +++++++++++++++++++++++ meta/packages/ttf-fonts/liberation-fonts_3.bb | 32 ------------------------ 2 files changed, 31 insertions(+), 32 deletions(-) create mode 100644 meta/packages/ttf-fonts/liberation-fonts_1.04.bb delete mode 100644 meta/packages/ttf-fonts/liberation-fonts_3.bb (limited to 'meta/packages') diff --git a/meta/packages/ttf-fonts/liberation-fonts_1.04.bb b/meta/packages/ttf-fonts/liberation-fonts_1.04.bb new file mode 100644 index 000000000..33bf2a98c --- /dev/null +++ b/meta/packages/ttf-fonts/liberation-fonts_1.04.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "The fonts - TTF Edition" +SECTION = "x11/fonts" +PRIORITY = "optional" +LICENSE = "GPLv2" +PACKAGE_ARCH = "all" +RDEPENDS = "fontconfig-utils" +PE = "1" + +SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \ + file://30-liberation-aliases.conf" + +do_install () { + install -d ${D}${datadir}/fonts/ttf/ + for i in *.ttf; do + install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i} + done + + install -d ${D}${sysconfdir}/fonts/conf.d/ + install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ + + install -d ${D}${prefix}/share/doc/${PN}/ + install -m 0644 License.txt ${D}${datadir}/doc/${PN}/ +} + +pkg_postinst () { +#!/bin/sh +fc-cache +} + +PACKAGES = "${PN}" +FILES_${PN} += "${sysconfdir} ${datadir}" diff --git a/meta/packages/ttf-fonts/liberation-fonts_3.bb b/meta/packages/ttf-fonts/liberation-fonts_3.bb deleted file mode 100644 index d20f459ac..000000000 --- a/meta/packages/ttf-fonts/liberation-fonts_3.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = "The fonts - TTF Edition" -SECTION = "x11/fonts" -PRIORITY = "optional" -LICENSE = "GPLv2" -PACKAGE_ARCH = "all" -RDEPENDS = "fontconfig-utils" - -SRC_URI = "http://www.redhat.com/f/fonts/liberation-fonts-ttf-3.tar.gz \ - file://30-liberation-aliases.conf" - -S = "${WORKDIR}/${PN}-0.2/" - -do_install () { - install -d ${D}${datadir}/fonts/ttf/ - for i in *.ttf; do - install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i} - done - - install -d ${D}${sysconfdir}/fonts/conf.d/ - install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ - - install -d ${D}${prefix}/share/doc/${PN}/ - install -m 0644 License.txt ${D}${datadir}/doc/${PN}/ -} - -pkg_postinst () { -#!/bin/sh -fc-cache -} - -PACKAGES = "${PN}" -FILES_${PN} += "${sysconfdir} ${datadir}" -- cgit v1.2.3