diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-graphics/ttf-fonts | |
parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
download | meta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-graphics/ttf-fonts')
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb | 18 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf | 16 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb | 44 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | 28 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-gentium/OFL.gz | bin | 0 -> 1963 bytes | |||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb | 135 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb | 18 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb | 22 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb | 33 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.69.bb | 18 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb | 22 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf.inc | 23 |
12 files changed, 377 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb new file mode 100644 index 000000000..bb259b918 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "Unicode Mingti (printed) TrueType Font" | ||
2 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" | ||
3 | LICENSE = "${PN}" | ||
4 | SRC_DISTRIBUTE_LICENSES += "${PN}" | ||
5 | RPROVIDES_${PN} = "virtual-chinese-font" | ||
6 | PR = "r2" | ||
7 | |||
8 | SRC_URI = \ | ||
9 | "http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz" | ||
10 | S = "${WORKDIR}" | ||
11 | |||
12 | require ttf.inc | ||
13 | |||
14 | FILES_${PN} = "${datadir}" | ||
15 | |||
16 | |||
17 | SRC_URI[md5sum] = "d219fcaf953f3eb1889399955a00379f" | ||
18 | SRC_URI[sha256sum] = "8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf new file mode 100644 index 000000000..9c6e56bf7 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf | |||
@@ -0,0 +1,16 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | ||
3 | <fontconfig> | ||
4 | <alias> | ||
5 | <family>DejaVu Serif</family> | ||
6 | <default><family>serif</family></default> | ||
7 | </alias> | ||
8 | <alias> | ||
9 | <family>DejaVu Sans</family> | ||
10 | <default><family>sans-serif</family></default> | ||
11 | </alias> | ||
12 | <alias> | ||
13 | <family>DejaVu Sans Mono</family> | ||
14 | <default><family>monospace</family></default> | ||
15 | </alias> | ||
16 | </fontconfig> | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb new file mode 100644 index 000000000..f852cbffd --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb | |||
@@ -0,0 +1,44 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | DESCRIPTION = "DejaVu font - TTF Edition" | ||
4 | HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" | ||
5 | LICENSE = "Bitstream Vera" | ||
6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/dejavu-fonts-ttf-${PV}/LICENSE;md5=9f867da7a73fad2715291348e80d0763" | ||
7 | |||
8 | # all subpackages except ${PN}-dbg and ${PN}-common itself rdepends on ${PN}-common | ||
9 | RDEPENDS_${PN}-sans = "${PN}-common" | ||
10 | RDEPENDS_${PN}-sans-mono = "${PN}-common" | ||
11 | RDEPENDS_${PN}-sans-condensed = "${PN}-common" | ||
12 | RDEPENDS_${PN}-serif = "${PN}-common" | ||
13 | RDEPENDS_${PN}-serif-condensed = "${PN}-common" | ||
14 | RDEPENDS_${PN}-common = "" | ||
15 | PR = "r3" | ||
16 | |||
17 | SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ | ||
18 | file://30-dejavu-aliases.conf" | ||
19 | |||
20 | S = "${WORKDIR}/dejavu-fonts-ttf-${PV}/ttf" | ||
21 | |||
22 | do_install_append () { | ||
23 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
24 | install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
25 | } | ||
26 | |||
27 | PACKAGES = "${PN}-dbg \ | ||
28 | ${PN}-sans \ | ||
29 | ${PN}-sans-mono \ | ||
30 | ${PN}-sans-condensed \ | ||
31 | ${PN}-serif \ | ||
32 | ${PN}-serif-condensed \ | ||
33 | ${PN}-common" | ||
34 | RRECOMMENDS_${PN}-dbg = "" | ||
35 | |||
36 | FILES_${PN}-sans = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf" | ||
37 | FILES_${PN}-sans-mono = "${datadir}/fonts/truetype/DejaVuSansMono*.ttf" | ||
38 | FILES_${PN}-sans-condensed = "${datadir}/fonts/truetype/DejaVuSansCondensed*.ttf" | ||
39 | FILES_${PN}-serif = "${datadir}/fonts/truetype/DejaVuSerif.ttf ${datadir}/fonts/truetype/DejaVuSerif-*.ttf" | ||
40 | FILES_${PN}-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed*.ttf" | ||
41 | FILES_${PN}-common = "${sysconfdir}" | ||
42 | |||
43 | SRC_URI[md5sum] = "ff871dff0b3e8a11cd5c54478f11073f" | ||
44 | SRC_URI[sha256sum] = "243642a1c3f4b6fd00125f5772ac5c8e4d0bb6586f5abb05829ead4b83ad5233" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb new file mode 100644 index 000000000..3fa04abf5 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | DESCRIPTION = "Droid fonts - TTF Edition" | ||
4 | HOMEPAGE = "http://www.droidfonts.com/" | ||
5 | LICENSE = "Apache-2.0" | ||
6 | PR = "r0" | ||
7 | # git magic below - SRCREV is an ID of /data/fonts subtree | ||
8 | # (so we don't need to fetch full platform/frameworks/base.git) | ||
9 | SRCREV = "31f255e44e618ff3b923f332e8fcb83403fd39f5" | ||
10 | PV = "0.0+${PR}+gitr${SRCREV}" | ||
11 | |||
12 | SRC_URI = "git://android.git.kernel.org/platform/frameworks/base.git;protocol=git;branch=master" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | do_install_prepend() { | ||
17 | rm ${S}/Ahem.ttf # we're not packaging it | ||
18 | } | ||
19 | |||
20 | PACKAGES = "${PN}-dbg ttf-droid-sans ttf-droid-sans-mono \ | ||
21 | ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" | ||
22 | RRECOMMENDS_${PN}-dbg = "" | ||
23 | |||
24 | FILES_ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf" | ||
25 | FILES_ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf" | ||
26 | FILES_ttf-droid-sans-fallback = "${datadir}/fonts/truetype/DroidSansFallback.ttf" | ||
27 | FILES_ttf-droid-sans-japanese = "${datadir}/fonts/truetype/DroidSansJapanese.ttf" | ||
28 | FILES_ttf-droid-serif = "${datadir}/fonts/truetype/DroidSerif*.ttf" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium/OFL.gz b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium/OFL.gz new file mode 100644 index 000000000..7ebada757 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium/OFL.gz | |||
Binary files differ | |||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb new file mode 100644 index 000000000..698b2edf8 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb | |||
@@ -0,0 +1,135 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | DESCRIPTION = "Gentium fonts - TTF Version" | ||
4 | HOMEPAGE = "http://scripts.sil.org/gentium" | ||
5 | LICENSE = "SIL Open Font License" | ||
6 | LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL" | ||
7 | PR = "r3" | ||
8 | |||
9 | SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz \ | ||
10 | file://OFL.gz" | ||
11 | |||
12 | S = "${WORKDIR}/ttf-sil-gentium-${PV}" | ||
13 | |||
14 | do_install_append() { | ||
15 | |||
16 | install -d ${D}${datadir}/doc/ttf-gentium/ | ||
17 | install -d ${D}${datadir}/doc/ttf-gentium-alt/ | ||
18 | |||
19 | install -m 0644 ${WORKDIR}/OFL ${D}${datadir}/doc/ttf-gentium/ | ||
20 | install -m 0644 ${WORKDIR}/OFL ${D}${datadir}/doc/ttf-gentium-alt/ | ||
21 | |||
22 | } | ||
23 | |||
24 | PACKAGES = "${PN}-dbg ${PN} ${PN}-alt" | ||
25 | |||
26 | FILES_ttf-gentium-alt = "${datadir}/fonts/truetype/GenAI*.ttf \ | ||
27 | ${datadir}/fonts/truetype/GenAR*.ttf \ | ||
28 | ${datadir}/doc/ttf-gentium-alt/*" | ||
29 | |||
30 | FILES_${PN} = "${datadir}/fonts/truetype/GenI*.ttf \ | ||
31 | ${datadir}/fonts/truetype/GenR*.ttf \ | ||
32 | ${datadir}/doc/ttf-gentium/*" | ||
33 | |||
34 | # | ||
35 | # License | ||
36 | # | ||
37 | # Gentium is released under the SIL Open Font License - please read it carefully | ||
38 | # and do not download the fonts unless you agree to the terms of the license: | ||
39 | # | ||
40 | # This Font Software is Copyright (c) 2003-2005, SIL International | ||
41 | # (http://scripts.sil.org/). All Rights Reserved. | ||
42 | # | ||
43 | # "Gentium" is a Reserved Font Name for this Font Software. "SIL" is a Reserved | ||
44 | # Font Name for this Font Software. | ||
45 | # | ||
46 | # This Font Software is licensed under the SIL Open Font License, Version 1.0. No | ||
47 | # modification of the license is permitted, only verbatim copy is allowed. This | ||
48 | # license is copied below, and is also available with a FAQ | ||
49 | # at:http://scripts.sil.org/OFL SIL OPEN FONT LICENSE | ||
50 | # | ||
51 | # Version 1.0 - 22 November 2005 | ||
52 | # | ||
53 | # PREAMBLE | ||
54 | # | ||
55 | # The goals of the Open Font License (OFL) are to stimulate worldwide development | ||
56 | # of cooperative font projects, to support the font creation efforts of academic | ||
57 | # and linguistic communities, and to provide an open framework in which fonts may | ||
58 | # be shared and improved in partnership with others. | ||
59 | # | ||
60 | # The OFL allows the licensed fonts to be used, studied, modified and | ||
61 | # redistributed freely as long as they are not sold by themselves. The fonts, | ||
62 | # including any derivative works, can be bundled, embedded, redistributed and | ||
63 | # sold with any software provided that the font names of derivative works are | ||
64 | # changed. The fonts and derivatives, however, cannot be released under any other | ||
65 | # type of license. | ||
66 | # | ||
67 | # DEFINITIONS | ||
68 | # | ||
69 | # "Font Software" refers to any and all of the following: | ||
70 | # | ||
71 | # * font files data files source code build scripts documentation | ||
72 | # | ||
73 | # "Reserved Font Name" refers to the Font Software name as seen by users and any | ||
74 | # other names as specified after the copyright statement. | ||
75 | # | ||
76 | # "Standard Version" refers to the collection of Font Software components as | ||
77 | # distributed by the Copyright Holder. | ||
78 | # | ||
79 | # "Modified Version" refers to any derivative font software made by adding to, | ||
80 | # deleting, or substituting -- in part or in whole -- any of the components of | ||
81 | # the Standard Version, by changing formats or by porting the Font Software to a | ||
82 | # new environment. | ||
83 | # | ||
84 | # "Author" refers to any designer, engineer, programmer, technical writer or | ||
85 | # other person who contributed to the Font Software. | ||
86 | # | ||
87 | # PERMISSION & CONDITIONS | ||
88 | # | ||
89 | # Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
90 | # the Font Software, to use, study, copy, merge, embed, modify, redistribute, and | ||
91 | # sell modified and unmodified copies of the Font Software, subject to the | ||
92 | # following conditions: | ||
93 | # | ||
94 | # 1) Neither the Font Software nor any of its individual components, in Standard | ||
95 | # or Modified Versions, may be sold by itself. | ||
96 | # | ||
97 | # 2) Standard or Modified Versions of the Font Software may be bundled, | ||
98 | # redistributed and sold with any software, provided that each copy contains the | ||
99 | # above copyright notice and this license. These can be included either as | ||
100 | # stand-alone text files, human-readable headers or in the appropriate | ||
101 | # machine-readable metadata fields within text or binary files as long as those | ||
102 | # fields can be easily viewed by the user. | ||
103 | # | ||
104 | # 3) No Modified Version of the Font Software may use the Reserved Font Name(s), | ||
105 | # in part or in whole, unless explicit written permission is granted by the | ||
106 | # Copyright Holder. This restriction applies to all references stored in the Font | ||
107 | # Software, such as the font menu name and other font description fields, which | ||
108 | # are used to differentiate the font from others. | ||
109 | # | ||
110 | # 4) The name(s) of the Copyright Holder or the Author(s) of the Font Software | ||
111 | # shall not be used to promote, endorse or advertise any Modified Version, except | ||
112 | # to acknowledge the contribution(s) of the Copyright Holder and the Author(s) or | ||
113 | # with their explicit written permission. | ||
114 | # | ||
115 | # 5) The Font Software, modified or unmodified, in part or in whole, must be | ||
116 | # distributed using this license, and may not be distributed under any other | ||
117 | # license. | ||
118 | # | ||
119 | # TERMINATION | ||
120 | # | ||
121 | # This license becomes null and void if any of the above conditions are not met. | ||
122 | # | ||
123 | # DISCLAIMER | ||
124 | # | ||
125 | # THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
126 | # IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, | ||
127 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, | ||
128 | # TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR | ||
129 | # ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, | ||
130 | # INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF | ||
131 | # CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE | ||
132 | # THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. | ||
133 | |||
134 | SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883" | ||
135 | SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb new file mode 100644 index 000000000..3984f868a --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | DESCRIPTION = "Hunky fonts - TTF Version" | ||
4 | HOMEPAGE = "http://sourceforge.net/projects/hunkyfonts" | ||
5 | LICENSE = "LGPL" | ||
6 | PR = "r3" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2" | ||
9 | |||
10 | S = "${WORKDIR}/hunkyfonts-${PV}/TTF/" | ||
11 | |||
12 | PACKAGES = "${PN}-dbg ttf-hunky-sans ttf-hunky-serif" | ||
13 | RRECOMMENDS_${PN}-dbg = "" | ||
14 | FILES_ttf-hunky-sans = "${datadir}/fonts/truetype/HunkySans*.ttf" | ||
15 | FILES_ttf-hunky-serif = "${datadir}/fonts/truetype/HunkySerif*.ttf" | ||
16 | |||
17 | SRC_URI[md5sum] = "36444795a356fb8a56c63b2840729bab" | ||
18 | SRC_URI[sha256sum] = "e0b1849c545b6af276407d93025c73094dd74fc259b07c1d91594fdbb9a0b829" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb new file mode 100644 index 000000000..a6f885b8d --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | DESCRIPTION = "MPlus font - TTF Edition" | ||
4 | HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" | ||
5 | LICENSE = "${PN}" | ||
6 | PR = "r0" | ||
7 | |||
8 | SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}" | ||
10 | |||
11 | python populate_packages_prepend() { | ||
12 | plugindir = bb.data.expand('${datadir}/fonts/ttf-mplus/', d) | ||
13 | do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s', extra_depends = "ttf-common") | ||
14 | } | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}${datadir}/fonts/ttf-mplus | ||
18 | install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/ | ||
19 | } | ||
20 | |||
21 | SRC_URI[md5sum] = "d1400184b51b3871e8d2fca6c50e18ae" | ||
22 | SRC_URI[sha256sum] = "a20b9b9b03c2a6fb1e2137d29e8a6ce06406ba1e008906ea3c474dc048dc06a6" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb new file mode 100644 index 000000000..1b9a01b2a --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | DESCRIPTION = "Sazanami Gothic/Mincho Japanese TrueType fonts" | ||
4 | DESCRIPTION_ttf-sazanami-gothic = "Sazanami Gothic Japanese TrueType font" | ||
5 | DESCRIPTION_ttf-sazanami-mincho = "Sazanami Mincho Japanese TrueType font" | ||
6 | AUTHOR = "Electronic Font Open Laboratory (/efont/)" | ||
7 | HOMEPAGE = "http://sourceforge.jp/projects/efont/" | ||
8 | LICENSE = "${PN}" | ||
9 | SRC_DISTRIBUTE_LICENSES += "${PN}" | ||
10 | RPROVIDES_${PN} = "virtual-japanese-font" | ||
11 | PR = "r5" | ||
12 | |||
13 | SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2" | ||
14 | S = "${WORKDIR}/sazanami-20040629" | ||
15 | |||
16 | PACKAGES = "${PN}-dbg ttf-sazanami-gothic ttf-sazanami-mincho" | ||
17 | RRECOMMENDS_${PN}-dbg = "" | ||
18 | FILES_ttf-sazanami-gothic = "${datadir}/fonts/truetype/sazanami-gothic.ttf \ | ||
19 | ${datadir}/doc/ttf-sazanami-gothic/README" | ||
20 | FILES_ttf-sazanami-mincho = "${datadir}/fonts/truetype/sazanami-mincho.ttf \ | ||
21 | ${datadir}/doc/ttf-sazanami-mincho/README" | ||
22 | |||
23 | do_install_append() { | ||
24 | # README contains the redistribution license | ||
25 | install -d ${D}${datadir}/doc/ | ||
26 | install -d ${D}${datadir}/doc/ttf-sazanami-gothic | ||
27 | install -d ${D}${datadir}/doc/ttf-sazanami-mincho | ||
28 | install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-gothic | ||
29 | install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho | ||
30 | } | ||
31 | |||
32 | SRC_URI[md5sum] = "ceef10579a75c92483171f3bd7f77df2" | ||
33 | SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.69.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.69.bb new file mode 100644 index 000000000..cc8d2e4cb --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.69.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | DESCRIPTION = "Ubuntu Font Family - TTF Version" | ||
4 | HOMEPAGE = "http://font.ubuntu.com" | ||
5 | LICENSE = "UFL" | ||
6 | PR = "r0" | ||
7 | |||
8 | SRC_URI = "http://font.ubuntu.com/download/ubuntu-font-family-${PV}+ufl.zip" | ||
9 | SRC_URI[md5sum] = "2c3287ea72f81ce025095f7a6d68af28" | ||
10 | SRC_URI[sha256sum] = "23206a306d92ec57404ab3bc75610b6d8cfed0b8ddcfbe51b99fb48519a4855b" | ||
11 | S = "${WORKDIR}/ubuntu-font-family-0.69+ufl" | ||
12 | |||
13 | PACKAGES = "${PN}-dbg ttf-ubuntu-mono ttf-ubuntu-sans ttf-ubuntu-serif" | ||
14 | RRECOMMENDS_${PN}-dbg = "" | ||
15 | |||
16 | FILES_ttf-ubuntu-mono = "${datadir}/fonts/truetype/*Mono*" | ||
17 | FILES_ttf-ubuntu-sans = "${datadir}/fonts/truetype/Ubuntu-*" | ||
18 | FILES_ttf-ubuntu-serif = "${datadir}/fonts/truetype/*Serif*" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb new file mode 100644 index 000000000..2d1d23e12 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | DESCRIPTION = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font" | ||
4 | AUTHOR = "Qianqian Fang and The WenQuanYi Project Contributors" | ||
5 | HOMEPAGE = "http://wqy.sourceforge.net/en/" | ||
6 | LICENSE = "GPLv2" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}-0.tar.gz" | ||
9 | S = "${WORKDIR}/wqy-zenhei" | ||
10 | |||
11 | do_install_append () { | ||
12 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
13 | install -m 0644 ${S}/44-wqy-zenhei.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
14 | install -m 0644 ${S}/66-wqy-zenhei-sharp.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
15 | } | ||
16 | |||
17 | PACKAGES = "${PN}" | ||
18 | |||
19 | FILES_${PN} = "${datadir}/fonts ${sysconfdir}" | ||
20 | |||
21 | SRC_URI[md5sum] = "bf2c1cb512606d995873bada27c777da" | ||
22 | SRC_URI[sha256sum] = "47355b6ec84bb309614b6d657ddfda993b96ed0be569264f82e523b254f945b2" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf.inc b/meta-oe/recipes-graphics/ttf-fonts/ttf.inc new file mode 100644 index 000000000..af3f27853 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf.inc | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION ?= "TrueType font package ${PN}" | ||
2 | SECTION = "fonts" | ||
3 | PRIORITY = "optional" | ||
4 | # don't use RRECOMMENDS_${PN} here because sometimes each font is packaged to separate package and each one needs this dep to call update-fonts | ||
5 | RRECOMMENDS += "font-update-common" | ||
6 | |||
7 | # we don't need a compiler nor a c library for these fonts | ||
8 | INHIBIT_DEFAULT_DEPS = "1" | ||
9 | |||
10 | do_install() { | ||
11 | install -d ${D}${datadir}/fonts/truetype/ | ||
12 | find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; | ||
13 | } | ||
14 | |||
15 | pkg_postinst_append() { | ||
16 | update-fonts | ||
17 | } | ||
18 | |||
19 | pkg_postrm_append() { | ||
20 | update-fonts | ||
21 | } | ||
22 | |||
23 | PACKAGE_ARCH = "all" | ||