summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2016-07-18 10:28:13 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-07-29 11:00:57 +0200
commit0b6853fc43ee468160a585b09ffa9a073dc647f2 (patch)
tree393f67f373b938d99ee258351cb346899255a414 /meta-oe
parent5a319d329e607102def6a75b1736ba5b32f6f3fb (diff)
downloadmeta-openembedded-0b6853fc43ee468160a585b09ffa9a073dc647f2.tar.gz
ttf-vlgothic: add a ttf font
Add an extra ttf font vlgothic. The font is derived from from M+ FONTS which is created by M+ FONTS PROJECT and under the Free license. So it has to obey the mplus licence. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/conf/layer.conf1
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb28
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
index 898398d32..c5e74c298 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -63,6 +63,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
63 ttf-sazanami->fontconfig \ 63 ttf-sazanami->fontconfig \
64 ttf-tlwg->fontconfig \ 64 ttf-tlwg->fontconfig \
65 ttf-ubuntu-font-family->fontconfig \ 65 ttf-ubuntu-font-family->fontconfig \
66 ttf-vlgothic->fontconfig \
66 ttf-wqy-zenhei->fontconfig \ 67 ttf-wqy-zenhei->fontconfig \
67 source-han-sans-cn-fonts->fontconfig \ 68 source-han-sans-cn-fonts->fontconfig \
68 source-han-sans-jp-fonts->fontconfig \ 69 source-han-sans-jp-fonts->fontconfig \
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb
new file mode 100644
index 000000000..62f2bb280
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20141206.bb
@@ -0,0 +1,28 @@
1require ttf.inc
2
3SUMMARY = "Japanese TrueType fonts from Vine Linux"
4AUTHOR = "Contributor: noonov <noonov@gmail.com>"
5HOMEPAGE = "http://vlgothic.dicey.org/"
6
7LICENSE = "mplus & BSD"
8LIC_FILES_CHKSUM = "file://LICENSE.en;md5=66ecd0fd7e4da6246fa30317c7b66755 \
9 file://LICENSE_E.mplus;md5=1c4767416f20215f1e61b970f2117db9 \
10"
11
12SRC_URI = "https://osdn.jp/dl/vlgothic/VLGothic-${PV}.tar.xz"
13
14SRC_URI[md5sum] = "bb7fadb2dff09a4fb6a11dc9dfdc0c36"
15SRC_URI[sha256sum] = "982040db2f9cb73d7c6ab7d9d163f2ed46d1180f330c9ba2fae303649bf8102d"
16
17S = "${WORKDIR}/VLGothic"
18
19do_install_append () {
20 install -D -m644 ${S}/LICENSE_E.mplus ${D}${datadir}/licenses/${PN}/COPYING_MPLUS.txt
21 install -D -m644 ${S}/README.sazanami ${D}${datadir}/licenses/${PN}/COPYING_SAZANAMI.txt
22 install -D -m644 ${S}/LICENSE.en ${D}${datadir}/licenses/${PN}/COPYING_VLGOTHIC.txt
23}
24
25PACKAGES = "${PN}"
26FONT_PACKAGES = "${PN}"
27
28FILES_${PN} = "${datadir}/fonts/truetype ${datadir}/licenses"