diff options
Diffstat (limited to 'meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb')
-rw-r--r-- | meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb new file mode 100644 index 0000000000..89fa4b211d --- /dev/null +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb | |||
@@ -0,0 +1,38 @@ | |||
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://fedorahosted.org/liberation-fonts/" | ||
6 | BUGTRACKER = "https://bugzilla.redhat.com/" | ||
7 | |||
8 | SECTION = "x11/fonts" | ||
9 | LICENSE = "GPLv2" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
11 | PR = "r4" | ||
12 | PE = "1" | ||
13 | |||
14 | inherit fontcache | ||
15 | |||
16 | FONT_PACKAGES = "${PN}" | ||
17 | |||
18 | SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \ | ||
19 | file://30-liberation-aliases.conf" | ||
20 | |||
21 | SRC_URI[md5sum] = "4846797ef0fc70b0cbaede2514677c58" | ||
22 | SRC_URI[sha256sum] = "0e0d0957c85b758561a3d4aef4ebcd2c39959e5328429d96ae106249d83531a1" | ||
23 | |||
24 | do_install () { | ||
25 | install -d ${D}${datadir}/fonts/ttf/ | ||
26 | for i in *.ttf; do | ||
27 | install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i} | ||
28 | done | ||
29 | |||
30 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
31 | install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
32 | |||
33 | install -d ${D}${prefix}/share/doc/${BPN}/ | ||
34 | install -m 0644 License.txt ${D}${datadir}/doc/${BPN}/ | ||
35 | } | ||
36 | |||
37 | PACKAGES = "${PN}" | ||
38 | FILES_${PN} += "${sysconfdir} ${datadir}" | ||