mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
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>
This commit is contained in:
@@ -493,7 +493,6 @@ RDEPENDS:packagegroup-meta-oe-graphics ="\
|
|||||||
packagegroup-fonts-truetype \
|
packagegroup-fonts-truetype \
|
||||||
qrencode \
|
qrencode \
|
||||||
${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
|
${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
|
||||||
takao-fonts \
|
|
||||||
leptonica \
|
leptonica \
|
||||||
libvncserver \
|
libvncserver \
|
||||||
libmng \
|
libmng \
|
||||||
@@ -537,6 +536,7 @@ RDEPENDS:packagegroup-meta-oe-graphics ="\
|
|||||||
ttf-noto-emoji-regular \
|
ttf-noto-emoji-regular \
|
||||||
ttf-sazanami-gothic \
|
ttf-sazanami-gothic \
|
||||||
ttf-sazanami-mincho \
|
ttf-sazanami-mincho \
|
||||||
|
ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho \
|
||||||
ttf-tlwg \
|
ttf-tlwg \
|
||||||
ttf-roboto \
|
ttf-roboto \
|
||||||
ttf-wqy-zenhei \
|
ttf-wqy-zenhei \
|
||||||
|
|||||||
+11
-5
@@ -1,3 +1,5 @@
|
|||||||
|
require ttf.inc
|
||||||
|
|
||||||
SUMMARY = "Takao Fonts are a community developed derivatives of IPA Fonts."
|
SUMMARY = "Takao Fonts are a community developed derivatives of IPA Fonts."
|
||||||
DESCRIPTION = "Takao Fonts are a community developed derivatives of IPA Fonts."
|
DESCRIPTION = "Takao Fonts are a community developed derivatives of IPA Fonts."
|
||||||
|
|
||||||
@@ -6,14 +8,18 @@ SECTION = "User Interface/X"
|
|||||||
|
|
||||||
LICENSE = "IPA"
|
LICENSE = "IPA"
|
||||||
LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276"
|
LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276"
|
||||||
|
|
||||||
SRC_URI = "https://launchpad.net/${BPN}/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz"
|
SRC_URI = "https://launchpad.net/${BPN}/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz"
|
||||||
SRC_URI[md5sum] = "8cd3fe724faa5034a9369e98cf108d2d"
|
|
||||||
SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f"
|
SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f"
|
||||||
|
|
||||||
S = "${WORKDIR}/TakaoFonts_00303.01"
|
S = "${WORKDIR}/TakaoFonts_00303.01"
|
||||||
do_install() {
|
|
||||||
install -m 0755 -d ${D}/${datadir}/fonts
|
PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho"
|
||||||
install -m 0644 -p ${S}/*.ttf ${D}/${datadir}/fonts/
|
FONT_PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho"
|
||||||
}
|
|
||||||
|
FILES:ttf-takao-pgothic = "${datadir}/fonts/truetype/TakaoPGothic.ttf"
|
||||||
|
FILES:ttf-takao-gothic = "${datadir}/fonts/truetype/TakaoGothic.ttf"
|
||||||
|
FILES:ttf-takao-pmincho = "${datadir}/fonts/truetype/TakaoPMincho.ttf"
|
||||||
|
FILES:ttf-takao-mincho = "${datadir}/fonts/truetype/TakaoMincho.ttf"
|
||||||
|
|
||||||
FILES:${PN} += "${datadir}/fonts/*.ttf"
|
FILES:${PN} += "${datadir}/fonts/*.ttf"
|
||||||
Reference in New Issue
Block a user