Skip to contentSkip to conversation

ttf-fonts: Update ttf-ubuntu-font-family recipe

PATCH New Daniel Gomez 1 participant 1 message Jun 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ttf-fonts: Update ttf-ubuntu-font-family recipe

Current version 0.80 is no longer available with the link in the recipe. Update it to use 0.83 version.

---
 ...ont-family_0.80.bb => ttf-ubuntu-font-family_0.83.bb} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-graphics/ttf-fonts/{ttf-ubuntu-font-family_0.80.bb => ttf-ubuntu-font-family_0.83.bb} (65%)
meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb renamed from meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.80.bb +6 -3
similarity index 65%
rename from meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.80.bb
rename to meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb
index d5d1b9a17..b8aa4c01c 100644
@@ -6,10 +6,13 @@ LICENSE = "UFL"
 LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=325a1a9029112a2405e743c7f816427b"
 PR = "r1"
 
-SRC_URI = "http://font.ubuntu.com/download/ubuntu-font-family-${PV}.zip"
+SHA1SUM = "0cef8205"
 
-SRC_URI[md5sum] = "a1fc70f5a5b1d096ab8310886cddaa1c"
-SRC_URI[sha256sum] = "107170099bbc3beae8602b97a5c423525d363106c3c24f787d43e09811298e4c"
+SRC_URI = "https://assets.ubuntu.com/v1/${SHA1SUM}-ubuntu-font-family-${PV}.zip"
+
+
+SRC_URI[md5sum] = "c5a5059d6856b4ddf79d824dcaf5ad32"
+SRC_URI[sha256sum] = "61a2b342526fd552f19fef438bb9211a8212de19ad96e32a1209c039f1d68ecf"
 
 S = "${WORKDIR}/ubuntu-font-family-${PV}"
 

--
2.27.0