diff options
author | Thomas Schlien <ts@ferncast.de> | 2025-02-27 16:11:07 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-02-27 13:10:01 -0800 |
commit | 1365e7bcb4c02ced8472c6b33e077b88ad5f885f (patch) | |
tree | c7fff89d97c50c6bfc76b51a759960a8f4f7c127 | |
parent | 5c3234313166e1b2d58cf4d7314568d7c27aa99a (diff) | |
download | meta-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.bb | 21 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb | 27 |
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 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | SUMMARY = "Liberation fonts - TTF Version" | ||
4 | HOMEPAGE = "https://www.redhat.com/promo/fonts/" | ||
5 | LICENSE = "GPL-2.0-only" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
7 | file://License.txt;md5=5b171c5100029d884fcea21d9a2b7543 \ | ||
8 | " | ||
9 | |||
10 | |||
11 | SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz" | ||
12 | S = "${WORKDIR}/liberation-fonts-${PV}" | ||
13 | |||
14 | PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" | ||
15 | FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" | ||
16 | |||
17 | FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" | ||
18 | FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" | ||
19 | FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*" | ||
20 | |||
21 | SRC_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 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | SUMMARY = "Liberation fonts - TTF Version" | ||
4 | HOMEPAGE = "https://github.com/liberationfonts" | ||
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f96db970a9a46c5369142b99f530366b \ | ||
7 | " | ||
8 | |||
9 | |||
10 | SRCREV = "4b0192046158094654e865245832c66d2104219e" | ||
11 | SRC_URI = "git://github.com/liberationfonts/liberation-fonts.git;branch=main;protocol=https" | ||
12 | |||
13 | DEPENDS = "fontforge-native" | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" | ||
17 | FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" | ||
18 | |||
19 | FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" | ||
20 | FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" | ||
21 | FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*" | ||
22 | |||
23 | inherit python3native | ||
24 | |||
25 | do_compile() { | ||
26 | cd ${S}; make ttf; | ||
27 | } | ||