ttf-liberation: Upgrade 0.2 -> 2.1.5
PATCH 1/1 ttf-liberation: Upgrade 0.2 -> 2.1.5
The liberation font release 0.2 is not available for download anymore and was released in 2007, so let's do an update.
Since 2007 also the license has changed to a better suited SIL Open Font License. In addition, the ttf is now build from source like, e.g., in ttf-lohit.
Signed-off-by Thomas Schlien <[email protected]>
--- .../ttf-fonts/ttf-liberation_0.2.bb | 21 --------------- .../ttf-fonts/ttf-liberation_2.1.5.bb | 27 +++++++++++++++++++ 2 files changed, 27 insertions(+), 21 deletions(-) delete mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb
meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb deleted +0 -21
@@ -1,21 +0,0 @@ -require ttf.inc - -SUMMARY = "Liberation fonts - TTF Version" -HOMEPAGE = "https://www.redhat.com/promo/fonts/" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://License.txt;md5=5b171c5100029d884fcea21d9a2b7543 \ -" - - -SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz" -S = "${WORKDIR}/liberation-fonts-${PV}" - -PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" -FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" - -FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" -FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" -FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*" - -SRC_URI[sha256sum] = "174cf27c57612971434ec8cc4a52bfd37bad8408e9b9219539c6d5113df6ff8f"
meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb new file +27 -0
@@ -0,0 +1,27 @@ +require ttf.inc + +SUMMARY = "Liberation fonts - TTF Version" +HOMEPAGE = "https://github.com/liberationfonts" +LICENSE = "OFL-1.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f96db970a9a46c5369142b99f530366b \ +" + + +SRCREV = "4b0192046158094654e865245832c66d2104219e" +SRC_URI = "git://github.com/liberationfonts/liberation-fonts.git;branch=main;protocol=https" + +DEPENDS = "fontforge-native" +S = "${WORKDIR}/git" + +PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" +FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" + +FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" +FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" +FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*" + +inherit python3native + +do_compile() { + cd ${S}; make ttf; +}