diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-graphics/ttf-fonts | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-graphics/ttf-fonts')
3 files changed, 95 insertions, 0 deletions
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts/30-liberation-aliases.conf b/meta/recipes-graphics/ttf-fonts/liberation-fonts/30-liberation-aliases.conf new file mode 100644 index 0000000000..06094503cc --- /dev/null +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts/30-liberation-aliases.conf | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | ||
3 | <!-- conf.d/sub-pixel.conf --> | ||
4 | <fontconfig> | ||
5 | <alias> | ||
6 | <family>sans-serif</family> | ||
7 | <accept><family>Liberation Sans</family></accept> | ||
8 | </alias> | ||
9 | <alias> | ||
10 | <family>serif</family> | ||
11 | <accept><family>Liberation Serif</family></accept> | ||
12 | </alias> | ||
13 | <alias> | ||
14 | <family>monospace</family> | ||
15 | <accept><family>Liberation Mono</family></accept> | ||
16 | </alias> | ||
17 | </fontconfig> | ||
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..c99521f9b6 --- /dev/null +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb | |||
@@ -0,0 +1,39 @@ | |||
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 | RDEPENDS_${PN} = "fontconfig-utils" | ||
12 | PR = "r4" | ||
13 | PE = "1" | ||
14 | |||
15 | inherit fontcache | ||
16 | |||
17 | FONT_PACKAGES = "${PN}" | ||
18 | |||
19 | SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \ | ||
20 | file://30-liberation-aliases.conf" | ||
21 | |||
22 | SRC_URI[md5sum] = "4846797ef0fc70b0cbaede2514677c58" | ||
23 | SRC_URI[sha256sum] = "0e0d0957c85b758561a3d4aef4ebcd2c39959e5328429d96ae106249d83531a1" | ||
24 | |||
25 | do_install () { | ||
26 | install -d ${D}${datadir}/fonts/ttf/ | ||
27 | for i in *.ttf; do | ||
28 | install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i} | ||
29 | done | ||
30 | |||
31 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
32 | install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
33 | |||
34 | install -d ${D}${prefix}/share/doc/${BPN}/ | ||
35 | install -m 0644 License.txt ${D}${datadir}/doc/${BPN}/ | ||
36 | } | ||
37 | |||
38 | PACKAGES = "${PN}" | ||
39 | FILES_${PN} += "${sysconfdir} ${datadir}" | ||
diff --git a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb new file mode 100644 index 0000000000..75f78a2745 --- /dev/null +++ b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "The Bitstream Vera fonts - TTF Edition" | ||
2 | DESCRIPTION = "The Bitstream Vera fonts include four monospace and sans \ | ||
3 | faces (normal, oblique, bold, bold oblique) and two serif faces (normal \ | ||
4 | and bold). In addition Fontconfig/Xft2 can artificially oblique the \ | ||
5 | serif faces for you: this loses hinting and distorts the faces slightly, \ | ||
6 | but is visibly different than normal and bold, and reasonably pleasing." | ||
7 | SECTION = "x11/fonts" | ||
8 | LICENSE = "BitstreamVera" | ||
9 | LIC_FILES_CHKSUM = "file://COPYRIGHT.TXT;md5=27d7484b1e18d0ee4ce538644a3f04be" | ||
10 | PR = "r7" | ||
11 | RDEPENDS_${PN} = "fontconfig-utils" | ||
12 | |||
13 | inherit fontcache | ||
14 | |||
15 | FONT_PACKAGES = "${PN}" | ||
16 | |||
17 | SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" | ||
18 | |||
19 | do_install () { | ||
20 | install -d ${D}${prefix}/share/fonts/ttf/ | ||
21 | for i in *.ttf; do | ||
22 | install -m 644 $i ${D}${prefix}/share/fonts/ttf/${i} | ||
23 | done | ||
24 | |||
25 | # fontconfig ships this too. not sure what to do about it. | ||
26 | #install -d ${D}${sysconfdir}/fonts | ||
27 | #install -m 644 local.conf ${D}${sysconfdir}/fonts/local.conf | ||
28 | |||
29 | |||
30 | install -d ${D}${prefix}/share/doc/${BPN}/ | ||
31 | for i in *.TXT; do | ||
32 | install -m 644 $i ${D}${prefix}/share/doc/${BPN}/$i | ||
33 | done | ||
34 | } | ||
35 | |||
36 | FILES_${PN} = "/etc ${datadir}/fonts" | ||
37 | |||
38 | SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6" | ||
39 | SRC_URI[sha256sum] = "db5b27df7bbb318036ebdb75acd3e98f1bd6eb6608fb70a67d478cd243d178dc" | ||