mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
ttf-liberation-sans-narrow: add a ttf font
Add an extra ttf font liberation-sans-narrow for X. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -57,6 +57,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
||||
ttf-hunkyfonts->fontconfig \
|
||||
ttf-inconsolata->fontconfig \
|
||||
ttf-liberation->fontconfig \
|
||||
ttf-liberation-sans-narrow->fontconfig \
|
||||
ttf-pt-sans->fontconfig \
|
||||
ttf-mplus->fontconfig \
|
||||
ttf-sazanami->fontconfig \
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Microsoft -->
|
||||
<alias binding="same">
|
||||
<family>Arial Narrow</family>
|
||||
<accept>
|
||||
<family>Liberation Sans Narrow</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>Liberation Sans Narrow</family>
|
||||
<default>
|
||||
<family>Arial Narrow</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
require ttf.inc
|
||||
|
||||
SUMMARY = "Liberation(tm) Fonts"
|
||||
DESCRIPTION = "The Liberation(tm) Fonts is a font family originally \
|
||||
created by Ascender(c) which aims at metric compatibility with \
|
||||
Arial, Times New Roman, Courier New."
|
||||
|
||||
HOMEPAGE = "https://fedorahosted.org/liberation-fonts/"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-${PV}.tar.gz \
|
||||
file://30-0-liberation-sans-narrow.conf \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "134d8262145fc793c6af494dcace3e71"
|
||||
SRC_URI[sha256sum] = "61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c"
|
||||
|
||||
S = "${WORKDIR}/liberation-fonts-ttf-${PV}"
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}${datadir}/fonts/TTF/
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 LiberationSansNarrow*.ttf ${D}${datadir}/fonts/TTF/
|
||||
install -D -m 0644 ${WORKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf
|
||||
install -D -m 0644 ${S}/License.txt ${D}${datadir}/licenses/${PN}/LICENSE
|
||||
}
|
||||
|
||||
PACKAGES = "${PN}"
|
||||
FONT_PACKAGES = "${PN}"
|
||||
|
||||
FILES_${PN} = "${datadir}/fonts ${sysconfdir} ${datadir}/licenses"
|
||||
Reference in New Issue
Block a user