Browse Source

ttf-roboto: add recipe

Roboto is an Apache licensed sans-serif typeface family developed by Google as
the system font for its mobile operating system Android, and released in 2011
for Android 4.0 "Ice Cream Sandwich".

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diego Rondini 4 years ago
parent
commit
d6c7b0a33e
1 changed files with 14 additions and 0 deletions
  1. 14 0
      meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb

+ 14 - 0
meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb

@@ -0,0 +1,14 @@
+require ttf.inc
+
+SUMMARY = "Roboto fonts"
+HOMEPAGE = "https://fonts.google.com/specimen/Roboto"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI = "https://github.com/google/roboto/releases/download/v${PV}/roboto-android.zip"
+SRC_URI[md5sum] = "3b43a5cb33196ec25e44d5fcb40219e1"
+SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf"
+
+S = "${WORKDIR}"
+
+FILES_${PN} = "${datadir}/fonts/truetype/*.ttf"