summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schlien <ts@ferncast.de>2025-02-27 16:11:07 +0100
committerKhem Raj <raj.khem@gmail.com>2025-02-27 13:10:01 -0800
commit1365e7bcb4c02ced8472c6b33e077b88ad5f885f (patch)
treec7fff89d97c50c6bfc76b51a759960a8f4f7c127
parent5c3234313166e1b2d58cf4d7314568d7c27aa99a (diff)
downloadmeta-openembedded-1365e7bcb4c02ced8472c6b33e077b88ad5f885f.tar.gz
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 <ts@ferncast.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb21
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb27
2 files changed, 27 insertions, 21 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb
deleted file mode 100644
index 188064c37c..0000000000
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1require ttf.inc
2
3SUMMARY = "Liberation fonts - TTF Version"
4HOMEPAGE = "https://www.redhat.com/promo/fonts/"
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://License.txt;md5=5b171c5100029d884fcea21d9a2b7543 \
8"
9
10
11SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz"
12S = "${WORKDIR}/liberation-fonts-${PV}"
13
14PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif"
15FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif"
16
17FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*"
18FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*"
19FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*"
20
21SRC_URI[sha256sum] = "174cf27c57612971434ec8cc4a52bfd37bad8408e9b9219539c6d5113df6ff8f"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb
new file mode 100644
index 0000000000..7b0828574c
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb
@@ -0,0 +1,27 @@
1require ttf.inc
2
3SUMMARY = "Liberation fonts - TTF Version"
4HOMEPAGE = "https://github.com/liberationfonts"
5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=f96db970a9a46c5369142b99f530366b \
7"
8
9
10SRCREV = "4b0192046158094654e865245832c66d2104219e"
11SRC_URI = "git://github.com/liberationfonts/liberation-fonts.git;branch=main;protocol=https"
12
13DEPENDS = "fontforge-native"
14S = "${WORKDIR}/git"
15
16PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif"
17FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif"
18
19FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*"
20FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*"
21FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*"
22
23inherit python3native
24
25do_compile() {
26 cd ${S}; make ttf;
27}