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>
This commit is contained in:
Kai Kang
2016-07-18 10:28:13 +08:00
committed by Martin Jansa
parent 5a319d329e
commit 0b6853fc43
2 changed files with 29 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
ttf-sazanami->fontconfig \
ttf-tlwg->fontconfig \
ttf-ubuntu-font-family->fontconfig \
ttf-vlgothic->fontconfig \
ttf-wqy-zenhei->fontconfig \
source-han-sans-cn-fonts->fontconfig \
source-han-sans-jp-fonts->fontconfig \

View File

@@ -0,0 +1,28 @@
require ttf.inc
SUMMARY = "Japanese TrueType fonts from Vine Linux"
AUTHOR = "Contributor: noonov <noonov@gmail.com>"
HOMEPAGE = "http://vlgothic.dicey.org/"
LICENSE = "mplus & BSD"
LIC_FILES_CHKSUM = "file://LICENSE.en;md5=66ecd0fd7e4da6246fa30317c7b66755 \
file://LICENSE_E.mplus;md5=1c4767416f20215f1e61b970f2117db9 \
"
SRC_URI = "https://osdn.jp/dl/vlgothic/VLGothic-${PV}.tar.xz"
SRC_URI[md5sum] = "bb7fadb2dff09a4fb6a11dc9dfdc0c36"
SRC_URI[sha256sum] = "982040db2f9cb73d7c6ab7d9d163f2ed46d1180f330c9ba2fae303649bf8102d"
S = "${WORKDIR}/VLGothic"
do_install_append () {
install -D -m644 ${S}/LICENSE_E.mplus ${D}${datadir}/licenses/${PN}/COPYING_MPLUS.txt
install -D -m644 ${S}/README.sazanami ${D}${datadir}/licenses/${PN}/COPYING_SAZANAMI.txt
install -D -m644 ${S}/LICENSE.en ${D}${datadir}/licenses/${PN}/COPYING_VLGOTHIC.txt
}
PACKAGES = "${PN}"
FONT_PACKAGES = "${PN}"
FILES_${PN} = "${datadir}/fonts/truetype ${datadir}/licenses"