[OE-core] [PATCH 5/6] liberation-fonts: update to 1.07.4

Andreas Müller schnitzeltony at googlemail.com
Fri Feb 13 05:59:54 UTC 2015


* Chose 1.xx because V2.xx has missing Liberation Sans Narrow font due to
  licensing problems [1]
* A bit of a test for fontforge-native

[1] https://fedorahosted.org/liberation-fonts/

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 ...beration-fonts_1.04.bb => liberation-fonts_1.07.4.bb} | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
 rename meta/recipes-graphics/ttf-fonts/{liberation-fonts_1.04.bb => liberation-fonts_1.07.4.bb} (66%)

diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.07.4.bb
similarity index 66%
rename from meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
rename to meta/recipes-graphics/ttf-fonts/liberation-fonts_1.07.4.bb
index 89fa4b2..0f9a6c1 100644
--- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
+++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.07.4.bb
@@ -7,31 +7,33 @@ BUGTRACKER = "https://bugzilla.redhat.com/"
 
 SECTION = "x11/fonts"
 LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-PR = "r4"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 PE = "1"
 
 inherit fontcache
 
+DEPENDS += "fontforge-native"
+
 FONT_PACKAGES = "${PN}"
 
 SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \
            file://30-liberation-aliases.conf"
 
-SRC_URI[md5sum] = "4846797ef0fc70b0cbaede2514677c58"
-SRC_URI[sha256sum] = "0e0d0957c85b758561a3d4aef4ebcd2c39959e5328429d96ae106249d83531a1"
+SRC_URI[md5sum] = "29e1482c6e568503138f7420597e635d"
+SRC_URI[sha256sum] = "ad98b7498dc2992f7f0868f79b65ce4a720a3acdb63ab3f1f1cb6881117a5406"
 
 do_install () {
 	install -d ${D}${datadir}/fonts/ttf/
-	for i in *.ttf; do
-		install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i}
+        cd ${S}/${BPN}-ttf-${PV}
+	for fontfile in *.ttf; do
+		install -m 0644 $fontfile ${D}${datadir}/fonts/ttf/$fontfile
 	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/${BPN}/
-	install -m 0644 License.txt ${D}${datadir}/doc/${BPN}/
+	install -m 0644 ${S}/License.txt ${D}${datadir}/doc/${BPN}/
 }
 
 PACKAGES = "${PN}"
-- 
1.9.3




More information about the Openembedded-core mailing list