From 2ccaa489dc5a3e07dcca9d8cc44404436791aaf2 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 5 Feb 2018 15:50:21 +0200 Subject: ttf-opensans: fetch files from git repo Use git repo for the files, so there's no warnings about missing checksums. Change-Id: If37c144a9b41b7a1b8d8b389091897124b7e3d8e Reviewed-by: Mikko Gronoff --- recipes/fonts/ttf-opensans.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes/fonts/ttf-opensans.bb b/recipes/fonts/ttf-opensans.bb index a4af90e..1d581ac 100644 --- a/recipes/fonts/ttf-opensans.bb +++ b/recipes/fonts/ttf-opensans.bb @@ -31,20 +31,20 @@ SUMMARY = "Open Sans Fonts" SECTION = "fonts" HOMEPAGE = "https://fonts.google.com" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87" +LIC_FILES_CHKSUM = "file://apache/opensans/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87" INHIBIT_DEFAULT_DEPS = "1" -do_unpack[depends] += "unzip-native:do_populate_sysroot" inherit allarch fontcache -SRC_URI = "https://fonts.google.com/download?family=Open%20Sans;downloadfilename=Open_Sans.zip" -# Google packs fonts package on demand which results in unpredictable md5sum, so disable checksum check -BB_STRICT_CHECKSUM = "" +SRC_URI = "git://github.com/google/fonts" +SRCREV = "beaec0837bd21524b57ecb435158f9011fc03999" + +S = "${WORKDIR}/git" do_install() { install -m 0755 -d ${D}${datadir}/fonts/truetype/opensans - install -m 0644 ${WORKDIR}/*.ttf ${D}${datadir}/fonts/truetype/opensans + install -m 0644 apache/opensans/*.ttf ${D}${datadir}/fonts/truetype/opensans } PACKAGES = "${PN}" -- cgit v1.2.3-54-g00ecf