mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
Initial add source-code-pro-fonts 2.030_1.050
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
73263bbfe2
commit
b362a0a2da
|
|
@ -92,6 +92,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
|||
source-han-sans-jp-fonts->fontconfig \
|
||||
source-han-sans-kr-fonts->fontconfig \
|
||||
source-han-sans-tw-fonts->fontconfig \
|
||||
source-code-pro-fonts->fontconfig \
|
||||
"
|
||||
|
||||
DEFAULT_TEST_SUITES_pn-meta-oe-ptest-image = " ${PTESTTESTSUITE}"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Source Code Pro</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Source Code Pro</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
require ttf.inc
|
||||
|
||||
SUMMARY = "Adobe Source Code Pro"
|
||||
HOMEPAGE = "https://github.com/adobe-fonts/source-code-pro"
|
||||
LICENSE = "OFL-1.1"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c7c16bdc2c96af797293d68503e5c65c"
|
||||
|
||||
inherit allarch fontcache
|
||||
|
||||
SRC_URI = " \
|
||||
https://github.com/adobe-fonts/source-code-pro/releases/download/2.030R-ro/1.050R-it/source-code-pro-2.030R-ro-1.050R-it.zip \
|
||||
file://44-source-code-pro-fonts-fontconfig.conf \
|
||||
"
|
||||
SRC_URI[sha256sum] = "da2ac159497d31b0c6d9daa8fc390fb8252e75b4a9805ace6a2c9cccaed4932e"
|
||||
S = "${WORKDIR}/source-code-pro-2.030R-ro-1.050R-it"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${WORKDIR}/44-source-code-pro-fonts-fontconfig.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
|
||||
install -d ${D}${datadir}/fonts/truetype/
|
||||
find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
|
||||
}
|
||||
|
||||
FILES_${PN} = " \
|
||||
${sysconfdir}/fonts \
|
||||
${datadir}/fonts \
|
||||
"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user