summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorleimaohui <leimaohui@fujitsu.com>2021-08-16 18:24:58 +0800
committerKhem Raj <raj.khem@gmail.com>2021-08-17 08:15:01 -0700
commitf58bd1789ad840b04fa36212d67cebbe14ed21e5 (patch)
tree5c8cc7d13dd54795e5e29fcb3f4b2aaef2e770e3 /meta-oe/recipes-graphics
parentb8297bc6bdf9bd8826b28479208b74eaf95fd78f (diff)
downloadmeta-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 @@
1require ttf.inc
2
1SUMMARY = "Takao Fonts are a community developed derivatives of IPA Fonts." 3SUMMARY = "Takao Fonts are a community developed derivatives of IPA Fonts."
2DESCRIPTION = "Takao Fonts are a community developed derivatives of IPA Fonts." 4DESCRIPTION = "Takao Fonts are a community developed derivatives of IPA Fonts."
3 5
@@ -6,14 +8,18 @@ SECTION = "User Interface/X"
6 8
7LICENSE = "IPA" 9LICENSE = "IPA"
8LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276" 10LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276"
11
9SRC_URI = "https://launchpad.net/${BPN}/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz" 12SRC_URI = "https://launchpad.net/${BPN}/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz"
10SRC_URI[md5sum] = "8cd3fe724faa5034a9369e98cf108d2d"
11SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f" 13SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f"
12 14
13S = "${WORKDIR}/TakaoFonts_00303.01" 15S = "${WORKDIR}/TakaoFonts_00303.01"
14do_install() { 16
15 install -m 0755 -d ${D}/${datadir}/fonts 17PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho"
16 install -m 0644 -p ${S}/*.ttf ${D}/${datadir}/fonts/ 18FONT_PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho"
17} 19
20FILES:ttf-takao-pgothic = "${datadir}/fonts/truetype/TakaoPGothic.ttf"
21FILES:ttf-takao-gothic = "${datadir}/fonts/truetype/TakaoGothic.ttf"
22FILES:ttf-takao-pmincho = "${datadir}/fonts/truetype/TakaoPMincho.ttf"
23FILES:ttf-takao-mincho = "${datadir}/fonts/truetype/TakaoMincho.ttf"
18 24
19FILES:${PN} += "${datadir}/fonts/*.ttf" 25FILES:${PN} += "${datadir}/fonts/*.ttf"