mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 15:25:53 +01:00
angstrom-layers: add ttf-fonts to meta-openembedded
* liberation was left out because poky already has it * freefonts was left out due to missing license Signed-off-by: Koen Kooi <k-kooi@ti.com>
This commit is contained in:
parent
8ddd12450d
commit
a955d07e4d
18
recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb
Normal file
18
recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
DESCRIPTION = "Unicode Mingti (printed) TrueType Font"
|
||||||
|
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts"
|
||||||
|
LICENSE = "${PN}"
|
||||||
|
SRC_DISTRIBUTE_LICENSES += "${PN}"
|
||||||
|
RPROVIDES_${PN} = "virtual-chinese-font"
|
||||||
|
PR = "r2"
|
||||||
|
|
||||||
|
SRC_URI = \
|
||||||
|
"http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz"
|
||||||
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
FILES_${PN} = "${datadir}"
|
||||||
|
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "d219fcaf953f3eb1889399955a00379f"
|
||||||
|
SRC_URI[sha256sum] = "8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98"
|
||||||
16
recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf
Normal file
16
recipes-graphics/ttf-fonts/ttf-dejavu/30-dejavu-aliases.conf
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>DejaVu Serif</family>
|
||||||
|
<default><family>serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>DejaVu Sans Mono</family>
|
||||||
|
<default><family>monospace</family></default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
42
recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb
Normal file
42
recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
DESCRIPTION = "DejaVu font - TTF Edition"
|
||||||
|
HOMEPAGE = "http://dejavu.sourceforge.net/wiki/"
|
||||||
|
LICENSE = "Bitstream Vera"
|
||||||
|
# all subpackages except ${PN}-dbg and ${PN}-common itself rdepends on ${PN}-common
|
||||||
|
RDEPENDS_${PN}-sans = "${PN}-common"
|
||||||
|
RDEPENDS_${PN}-sans-mono = "${PN}-common"
|
||||||
|
RDEPENDS_${PN}-sans-condensed = "${PN}-common"
|
||||||
|
RDEPENDS_${PN}-serif = "${PN}-common"
|
||||||
|
RDEPENDS_${PN}-serif-condensed = "${PN}-common"
|
||||||
|
RDEPENDS_${PN}-common = ""
|
||||||
|
PR = "r3"
|
||||||
|
|
||||||
|
SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \
|
||||||
|
file://30-dejavu-aliases.conf"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/dejavu-fonts-ttf-${PV}/ttf"
|
||||||
|
|
||||||
|
do_install_append () {
|
||||||
|
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||||
|
install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES = "${PN}-dbg \
|
||||||
|
${PN}-sans \
|
||||||
|
${PN}-sans-mono \
|
||||||
|
${PN}-sans-condensed \
|
||||||
|
${PN}-serif \
|
||||||
|
${PN}-serif-condensed \
|
||||||
|
${PN}-common"
|
||||||
|
RRECOMMENDS_${PN}-dbg = ""
|
||||||
|
|
||||||
|
FILES_${PN}-sans = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf"
|
||||||
|
FILES_${PN}-sans-mono = "${datadir}/fonts/truetype/DejaVuSansMono*.ttf"
|
||||||
|
FILES_${PN}-sans-condensed = "${datadir}/fonts/truetype/DejaVuSansCondensed*.ttf"
|
||||||
|
FILES_${PN}-serif = "${datadir}/fonts/truetype/DejaVuSerif.ttf ${datadir}/fonts/truetype/DejaVuSerif-*.ttf"
|
||||||
|
FILES_${PN}-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed*.ttf"
|
||||||
|
FILES_${PN}-common = "${sysconfdir}"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "ff871dff0b3e8a11cd5c54478f11073f"
|
||||||
|
SRC_URI[sha256sum] = "243642a1c3f4b6fd00125f5772ac5c8e4d0bb6586f5abb05829ead4b83ad5233"
|
||||||
28
recipes-graphics/ttf-fonts/ttf-droid_git.bb
Normal file
28
recipes-graphics/ttf-fonts/ttf-droid_git.bb
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
DESCRIPTION = "Droid fonts - TTF Edition"
|
||||||
|
HOMEPAGE = "http://www.droidfonts.com/"
|
||||||
|
LICENSE = "Apache-2.0"
|
||||||
|
PR = "r0"
|
||||||
|
# git magic below - SRCREV is an ID of /data/fonts subtree
|
||||||
|
# (so we don't need to fetch full platform/frameworks/base.git)
|
||||||
|
SRCREV = "31f255e44e618ff3b923f332e8fcb83403fd39f5"
|
||||||
|
PV = "0.0+${PR}+gitr${SRCREV}"
|
||||||
|
|
||||||
|
SRC_URI = "git://android.git.kernel.org/platform/frameworks/base.git;protocol=git;branch=master"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
do_install_prepend() {
|
||||||
|
rm ${S}/Ahem.ttf # we're not packaging it
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES = "${PN}-dbg ttf-droid-sans ttf-droid-sans-mono \
|
||||||
|
ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif"
|
||||||
|
RRECOMMENDS_${PN}-dbg = ""
|
||||||
|
|
||||||
|
FILES_ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf"
|
||||||
|
FILES_ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf"
|
||||||
|
FILES_ttf-droid-sans-fallback = "${datadir}/fonts/truetype/DroidSansFallback.ttf"
|
||||||
|
FILES_ttf-droid-sans-japanese = "${datadir}/fonts/truetype/DroidSansJapanese.ttf"
|
||||||
|
FILES_ttf-droid-serif = "${datadir}/fonts/truetype/DroidSerif*.ttf"
|
||||||
BIN
recipes-graphics/ttf-fonts/ttf-gentium/OFL.gz
Normal file
BIN
recipes-graphics/ttf-fonts/ttf-gentium/OFL.gz
Normal file
Binary file not shown.
135
recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb
Normal file
135
recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb
Normal file
|
|
@ -0,0 +1,135 @@
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
DESCRIPTION = "Gentium fonts - TTF Version"
|
||||||
|
HOMEPAGE = "http://scripts.sil.org/gentium"
|
||||||
|
LICENSE = "SIL Open Font License"
|
||||||
|
LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL"
|
||||||
|
PR = "r3"
|
||||||
|
|
||||||
|
SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz \
|
||||||
|
file://OFL.gz"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/ttf-sil-gentium-${PV}"
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
|
||||||
|
install -d ${D}${datadir}/doc/ttf-gentium/
|
||||||
|
install -d ${D}${datadir}/doc/ttf-gentium-alt/
|
||||||
|
|
||||||
|
install -m 0644 ${WORKDIR}/OFL ${D}${datadir}/doc/ttf-gentium/
|
||||||
|
install -m 0644 ${WORKDIR}/OFL ${D}${datadir}/doc/ttf-gentium-alt/
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES = "${PN}-dbg ${PN} ${PN}-alt"
|
||||||
|
|
||||||
|
FILES_ttf-gentium-alt = "${datadir}/fonts/truetype/GenAI*.ttf \
|
||||||
|
${datadir}/fonts/truetype/GenAR*.ttf \
|
||||||
|
${datadir}/doc/ttf-gentium-alt/*"
|
||||||
|
|
||||||
|
FILES_${PN} = "${datadir}/fonts/truetype/GenI*.ttf \
|
||||||
|
${datadir}/fonts/truetype/GenR*.ttf \
|
||||||
|
${datadir}/doc/ttf-gentium/*"
|
||||||
|
|
||||||
|
#
|
||||||
|
# License
|
||||||
|
#
|
||||||
|
# Gentium is released under the SIL Open Font License - please read it carefully
|
||||||
|
# and do not download the fonts unless you agree to the terms of the license:
|
||||||
|
#
|
||||||
|
# This Font Software is Copyright (c) 2003-2005, SIL International
|
||||||
|
# (http://scripts.sil.org/). All Rights Reserved.
|
||||||
|
#
|
||||||
|
# "Gentium" is a Reserved Font Name for this Font Software. "SIL" is a Reserved
|
||||||
|
# Font Name for this Font Software.
|
||||||
|
#
|
||||||
|
# This Font Software is licensed under the SIL Open Font License, Version 1.0. No
|
||||||
|
# modification of the license is permitted, only verbatim copy is allowed. This
|
||||||
|
# license is copied below, and is also available with a FAQ
|
||||||
|
# at:http://scripts.sil.org/OFL SIL OPEN FONT LICENSE
|
||||||
|
#
|
||||||
|
# Version 1.0 - 22 November 2005
|
||||||
|
#
|
||||||
|
# PREAMBLE
|
||||||
|
#
|
||||||
|
# The goals of the Open Font License (OFL) are to stimulate worldwide development
|
||||||
|
# of cooperative font projects, to support the font creation efforts of academic
|
||||||
|
# and linguistic communities, and to provide an open framework in which fonts may
|
||||||
|
# be shared and improved in partnership with others.
|
||||||
|
#
|
||||||
|
# The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
# redistributed freely as long as they are not sold by themselves. The fonts,
|
||||||
|
# including any derivative works, can be bundled, embedded, redistributed and
|
||||||
|
# sold with any software provided that the font names of derivative works are
|
||||||
|
# changed. The fonts and derivatives, however, cannot be released under any other
|
||||||
|
# type of license.
|
||||||
|
#
|
||||||
|
# DEFINITIONS
|
||||||
|
#
|
||||||
|
# "Font Software" refers to any and all of the following:
|
||||||
|
#
|
||||||
|
# * font files data files source code build scripts documentation
|
||||||
|
#
|
||||||
|
# "Reserved Font Name" refers to the Font Software name as seen by users and any
|
||||||
|
# other names as specified after the copyright statement.
|
||||||
|
#
|
||||||
|
# "Standard Version" refers to the collection of Font Software components as
|
||||||
|
# distributed by the Copyright Holder.
|
||||||
|
#
|
||||||
|
# "Modified Version" refers to any derivative font software made by adding to,
|
||||||
|
# deleting, or substituting -- in part or in whole -- any of the components of
|
||||||
|
# the Standard Version, by changing formats or by porting the Font Software to a
|
||||||
|
# new environment.
|
||||||
|
#
|
||||||
|
# "Author" refers to any designer, engineer, programmer, technical writer or
|
||||||
|
# other person who contributed to the Font Software.
|
||||||
|
#
|
||||||
|
# PERMISSION & CONDITIONS
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
# the Font Software, to use, study, copy, merge, embed, modify, redistribute, and
|
||||||
|
# sell modified and unmodified copies of the Font Software, subject to the
|
||||||
|
# following conditions:
|
||||||
|
#
|
||||||
|
# 1) Neither the Font Software nor any of its individual components, in Standard
|
||||||
|
# or Modified Versions, may be sold by itself.
|
||||||
|
#
|
||||||
|
# 2) Standard or Modified Versions of the Font Software may be bundled,
|
||||||
|
# redistributed and sold with any software, provided that each copy contains the
|
||||||
|
# above copyright notice and this license. These can be included either as
|
||||||
|
# stand-alone text files, human-readable headers or in the appropriate
|
||||||
|
# machine-readable metadata fields within text or binary files as long as those
|
||||||
|
# fields can be easily viewed by the user.
|
||||||
|
#
|
||||||
|
# 3) No Modified Version of the Font Software may use the Reserved Font Name(s),
|
||||||
|
# in part or in whole, unless explicit written permission is granted by the
|
||||||
|
# Copyright Holder. This restriction applies to all references stored in the Font
|
||||||
|
# Software, such as the font menu name and other font description fields, which
|
||||||
|
# are used to differentiate the font from others.
|
||||||
|
#
|
||||||
|
# 4) The name(s) of the Copyright Holder or the Author(s) of the Font Software
|
||||||
|
# shall not be used to promote, endorse or advertise any Modified Version, except
|
||||||
|
# to acknowledge the contribution(s) of the Copyright Holder and the Author(s) or
|
||||||
|
# with their explicit written permission.
|
||||||
|
#
|
||||||
|
# 5) The Font Software, modified or unmodified, in part or in whole, must be
|
||||||
|
# distributed using this license, and may not be distributed under any other
|
||||||
|
# license.
|
||||||
|
#
|
||||||
|
# TERMINATION
|
||||||
|
#
|
||||||
|
# This license becomes null and void if any of the above conditions are not met.
|
||||||
|
#
|
||||||
|
# DISCLAIMER
|
||||||
|
#
|
||||||
|
# THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
||||||
|
# TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR
|
||||||
|
# ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
|
||||||
|
# INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
|
||||||
|
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
|
||||||
|
# THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883"
|
||||||
|
SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37"
|
||||||
18
recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb
Normal file
18
recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.0.bb
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
DESCRIPTION = "Hunky fonts - TTF Version"
|
||||||
|
HOMEPAGE = "http://sourceforge.net/projects/hunkyfonts"
|
||||||
|
LICENSE = "LGPL"
|
||||||
|
PR = "r3"
|
||||||
|
|
||||||
|
SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/hunkyfonts-${PV}/TTF/"
|
||||||
|
|
||||||
|
PACKAGES = "${PN}-dbg ttf-hunky-sans ttf-hunky-serif"
|
||||||
|
RRECOMMENDS_${PN}-dbg = ""
|
||||||
|
FILES_ttf-hunky-sans = "${datadir}/fonts/truetype/HunkySans*.ttf"
|
||||||
|
FILES_ttf-hunky-serif = "${datadir}/fonts/truetype/HunkySerif*.ttf"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "36444795a356fb8a56c63b2840729bab"
|
||||||
|
SRC_URI[sha256sum] = "e0b1849c545b6af276407d93025c73094dd74fc259b07c1d91594fdbb9a0b829"
|
||||||
22
recipes-graphics/ttf-fonts/ttf-mplus_027.bb
Normal file
22
recipes-graphics/ttf-fonts/ttf-mplus_027.bb
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
DESCRIPTION = "MPlus font - TTF Edition"
|
||||||
|
HOMEPAGE = "http://dejavu.sourceforge.net/wiki/"
|
||||||
|
LICENSE = "${PN}"
|
||||||
|
PR = "r0"
|
||||||
|
|
||||||
|
SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz"
|
||||||
|
S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}"
|
||||||
|
|
||||||
|
python populate_packages_prepend() {
|
||||||
|
plugindir = bb.data.expand('${datadir}/fonts/ttf-mplus/', d)
|
||||||
|
do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s', extra_depends = "ttf-common")
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
install -d ${D}${datadir}/fonts/ttf-mplus
|
||||||
|
install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/
|
||||||
|
}
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "d1400184b51b3871e8d2fca6c50e18ae"
|
||||||
|
SRC_URI[sha256sum] = "a20b9b9b03c2a6fb1e2137d29e8a6ce06406ba1e008906ea3c474dc048dc06a6"
|
||||||
33
recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb
Normal file
33
recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
DESCRIPTION = "Sazanami Gothic/Mincho Japanese TrueType fonts"
|
||||||
|
DESCRIPTION_ttf-sazanami-gothic = "Sazanami Gothic Japanese TrueType font"
|
||||||
|
DESCRIPTION_ttf-sazanami-mincho = "Sazanami Mincho Japanese TrueType font"
|
||||||
|
AUTHOR = "Electronic Font Open Laboratory (/efont/)"
|
||||||
|
HOMEPAGE = "http://sourceforge.jp/projects/efont/"
|
||||||
|
LICENSE = "${PN}"
|
||||||
|
SRC_DISTRIBUTE_LICENSES += "${PN}"
|
||||||
|
RPROVIDES_${PN} = "virtual-japanese-font"
|
||||||
|
PR = "r5"
|
||||||
|
|
||||||
|
SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2"
|
||||||
|
S = "${WORKDIR}/sazanami-20040629"
|
||||||
|
|
||||||
|
PACKAGES = "${PN}-dbg ttf-sazanami-gothic ttf-sazanami-mincho"
|
||||||
|
RRECOMMENDS_${PN}-dbg = ""
|
||||||
|
FILES_ttf-sazanami-gothic = "${datadir}/fonts/truetype/sazanami-gothic.ttf \
|
||||||
|
${datadir}/doc/ttf-sazanami-gothic/README"
|
||||||
|
FILES_ttf-sazanami-mincho = "${datadir}/fonts/truetype/sazanami-mincho.ttf \
|
||||||
|
${datadir}/doc/ttf-sazanami-mincho/README"
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
# README contains the redistribution license
|
||||||
|
install -d ${D}${datadir}/doc/
|
||||||
|
install -d ${D}${datadir}/doc/ttf-sazanami-gothic
|
||||||
|
install -d ${D}${datadir}/doc/ttf-sazanami-mincho
|
||||||
|
install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-gothic
|
||||||
|
install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho
|
||||||
|
}
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "ceef10579a75c92483171f3bd7f77df2"
|
||||||
|
SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7"
|
||||||
18
recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.69.bb
Normal file
18
recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.69.bb
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
DESCRIPTION = "Ubuntu Font Family - TTF Version"
|
||||||
|
HOMEPAGE = "http://font.ubuntu.com"
|
||||||
|
LICENSE = "UFL"
|
||||||
|
PR = "r0"
|
||||||
|
|
||||||
|
SRC_URI = "http://font.ubuntu.com/download/ubuntu-font-family-${PV}+ufl.zip"
|
||||||
|
SRC_URI[md5sum] = "2c3287ea72f81ce025095f7a6d68af28"
|
||||||
|
SRC_URI[sha256sum] = "23206a306d92ec57404ab3bc75610b6d8cfed0b8ddcfbe51b99fb48519a4855b"
|
||||||
|
S = "${WORKDIR}/ubuntu-font-family-0.69+ufl"
|
||||||
|
|
||||||
|
PACKAGES = "${PN}-dbg ttf-ubuntu-mono ttf-ubuntu-sans ttf-ubuntu-serif"
|
||||||
|
RRECOMMENDS_${PN}-dbg = ""
|
||||||
|
|
||||||
|
FILES_ttf-ubuntu-mono = "${datadir}/fonts/truetype/*Mono*"
|
||||||
|
FILES_ttf-ubuntu-sans = "${datadir}/fonts/truetype/Ubuntu-*"
|
||||||
|
FILES_ttf-ubuntu-serif = "${datadir}/fonts/truetype/*Serif*"
|
||||||
22
recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb
Normal file
22
recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.6.26.bb
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
require ttf.inc
|
||||||
|
|
||||||
|
DESCRIPTION = "WenQuanYi Zen Hei - A Hei-Ti Style Chinese font"
|
||||||
|
AUTHOR = "Qianqian Fang and The WenQuanYi Project Contributors"
|
||||||
|
HOMEPAGE = "http://wqy.sourceforge.net/en/"
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
|
||||||
|
SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}-0.tar.gz"
|
||||||
|
S = "${WORKDIR}/wqy-zenhei"
|
||||||
|
|
||||||
|
do_install_append () {
|
||||||
|
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||||
|
install -m 0644 ${S}/44-wqy-zenhei.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||||
|
install -m 0644 ${S}/66-wqy-zenhei-sharp.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES = "${PN}"
|
||||||
|
|
||||||
|
FILES_${PN} = "${datadir}/fonts ${sysconfdir}"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "bf2c1cb512606d995873bada27c777da"
|
||||||
|
SRC_URI[sha256sum] = "47355b6ec84bb309614b6d657ddfda993b96ed0be569264f82e523b254f945b2"
|
||||||
23
recipes-graphics/ttf-fonts/ttf.inc
Normal file
23
recipes-graphics/ttf-fonts/ttf.inc
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
DESCRIPTION ?= "TrueType font package ${PN}"
|
||||||
|
SECTION = "fonts"
|
||||||
|
PRIORITY = "optional"
|
||||||
|
# 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
|
||||||
|
RRECOMMENDS += "font-update-common"
|
||||||
|
|
||||||
|
# we don't need a compiler nor a c library for these fonts
|
||||||
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
install -d ${D}${datadir}/fonts/truetype/
|
||||||
|
find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst_append() {
|
||||||
|
update-fonts
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm_append() {
|
||||||
|
update-fonts
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGE_ARCH = "all"
|
||||||
Loading…
Reference in New Issue
Block a user