diff options
Diffstat (limited to 'meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.4.bb')
-rw-r--r-- | meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.4.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.4.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.4.bb new file mode 100644 index 0000000000..53f4252814 --- /dev/null +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.4.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "Liberation(tm) Fonts" | ||
2 | DESCRIPTION = "The Liberation(tm) Fonts is a font family originally \ | ||
3 | created by Ascender(c) which aims at metric compatibility with \ | ||
4 | Arial, Times New Roman, Courier New." | ||
5 | HOMEPAGE = "https://github.com/liberationfonts/liberation-fonts" | ||
6 | BUGTRACKER = "https://bugzilla.redhat.com/" | ||
7 | |||
8 | SECTION = "x11/fonts" | ||
9 | LICENSE = "OFL-1.1" | ||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f96db970a9a46c5369142b99f530366b" | ||
11 | PE = "1" | ||
12 | |||
13 | SRC_URI = "https://github.com/liberationfonts/liberation-fonts/files/6418984/liberation-fonts-ttf-${PV}.tar.gz \ | ||
14 | file://30-liberation-aliases.conf" | ||
15 | SRC_URI[sha256sum] = "26f85412dd0aa9d061504a1cc8aaf0aa12a70710e8d47d8b65a1251757c1a5ef" | ||
16 | |||
17 | S = "${WORKDIR}/liberation-fonts-ttf-${PV}" | ||
18 | |||
19 | inherit allarch fontcache | ||
20 | |||
21 | do_install () { | ||
22 | install -d ${D}${datadir}/fonts/ttf/ | ||
23 | for i in *.ttf; do | ||
24 | install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i} | ||
25 | done | ||
26 | |||
27 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
28 | install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
29 | |||
30 | install -d ${D}${prefix}/share/doc/${BPN}/ | ||
31 | install -m 0644 LICENSE ${D}${datadir}/doc/${BPN}/ | ||
32 | } | ||
33 | |||
34 | PACKAGES = "${PN}" | ||
35 | FILES_${PN} += "${sysconfdir} ${datadir}" | ||
36 | |||
37 | BBCLASSEXTEND = "native nativesdk" | ||