diff options
author | leimaohui <leimaohui@fujitsu.com> | 2021-08-16 18:24:58 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-17 08:15:01 -0700 |
commit | f58bd1789ad840b04fa36212d67cebbe14ed21e5 (patch) | |
tree | 5c8cc7d13dd54795e5e29fcb3f4b2aaef2e770e3 /meta-oe/recipes-graphics | |
parent | b8297bc6bdf9bd8826b28479208b74eaf95fd78f (diff) | |
download | meta-openembedded-f58bd1789ad840b04fa36212d67cebbe14ed21e5.tar.gz |
takao-fonts: It should be in ttf-fonts directory as the other ttf fonts.
- Moved it to ttf-fonts directory.
- Rename to ttf-takao.
- Use ttf.inc instead of rewrite do_install.
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb (renamed from meta-oe/recipes-graphics/takao-fonts/takao-fonts_003.03.01.bb) | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/meta-oe/recipes-graphics/takao-fonts/takao-fonts_003.03.01.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb index 9ddfc6ae7..be0e544cc 100644 --- a/meta-oe/recipes-graphics/takao-fonts/takao-fonts_003.03.01.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb | |||
@@ -1,3 +1,5 @@ | |||
1 | require ttf.inc | ||
2 | |||
1 | SUMMARY = "Takao Fonts are a community developed derivatives of IPA Fonts." | 3 | SUMMARY = "Takao Fonts are a community developed derivatives of IPA Fonts." |
2 | DESCRIPTION = "Takao Fonts are a community developed derivatives of IPA Fonts." | 4 | DESCRIPTION = "Takao Fonts are a community developed derivatives of IPA Fonts." |
3 | 5 | ||
@@ -6,14 +8,18 @@ SECTION = "User Interface/X" | |||
6 | 8 | ||
7 | LICENSE = "IPA" | 9 | LICENSE = "IPA" |
8 | LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276" | 10 | LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276" |
11 | |||
9 | SRC_URI = "https://launchpad.net/${BPN}/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz" | 12 | SRC_URI = "https://launchpad.net/${BPN}/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz" |
10 | SRC_URI[md5sum] = "8cd3fe724faa5034a9369e98cf108d2d" | ||
11 | SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f" | 13 | SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f" |
12 | 14 | ||
13 | S = "${WORKDIR}/TakaoFonts_00303.01" | 15 | S = "${WORKDIR}/TakaoFonts_00303.01" |
14 | do_install() { | 16 | |
15 | install -m 0755 -d ${D}/${datadir}/fonts | 17 | PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho" |
16 | install -m 0644 -p ${S}/*.ttf ${D}/${datadir}/fonts/ | 18 | FONT_PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho" |
17 | } | 19 | |
20 | FILES:ttf-takao-pgothic = "${datadir}/fonts/truetype/TakaoPGothic.ttf" | ||
21 | FILES:ttf-takao-gothic = "${datadir}/fonts/truetype/TakaoGothic.ttf" | ||
22 | FILES:ttf-takao-pmincho = "${datadir}/fonts/truetype/TakaoPMincho.ttf" | ||
23 | FILES:ttf-takao-mincho = "${datadir}/fonts/truetype/TakaoMincho.ttf" | ||
18 | 24 | ||
19 | FILES:${PN} += "${datadir}/fonts/*.ttf" | 25 | FILES:${PN} += "${datadir}/fonts/*.ttf" |