[meta-oe] ttf-ipa: Added a new font.

Submitted by leimaohui on Aug. 13, 2021, 4:14 p.m. | Patch ID: 180064

Details

Message ID 1628871245-5054-2-git-send-email-leimaohui@fujitsu.com
State New
Headers show

Commit Message

leimaohui Aug. 13, 2021, 4:14 p.m.
IPAfonts is a Japanese OpenType font set.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
---
 .../ttf-fonts/ttf-ipa_003.03.01.bb            | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
new file mode 100644
index 000000000..b0af08097
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
@@ -0,0 +1,25 @@ 
+require ttf.inc
+
+SUMMARY = "Ipa fonts - TTF Version"
+HOMEPAGE = "https://moji.or.jp/ipafont"
+LICENSE = "IPA"
+LICENSE_URL = "https://moji.or.jp/ipafont/license/"
+LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276 \
+"
+PR = "r0"
+
+SRC_URI = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip "
+
+SRC_URI[md5sum] = "39a828acf27790adbe4944dfb4d94bb1"
+SRC_URI[sha256sum] = "f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5"
+
+S = "${WORKDIR}/IPAfont00303" 
+
+PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp"
+FONT_PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp"
+
+FILES:ttf-ipag = "${datadir}/fonts/truetype/ipag.ttf"
+FILES:ttf-ipagp = "${datadir}/fonts/truetype/ipagp.ttf"
+FILES:ttf-ipam = "${datadir}/fonts/truetype/ipam.ttf"
+FILES:ttf-ipamp = "${datadir}/fonts/truetype/ipamp.ttf"
+

Comments

Khem Raj Aug. 13, 2021, 4:34 p.m.
On 8/13/21 9:14 AM, leimaohui wrote:
> IPAfonts is a Japanese OpenType font set.
> 
> Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> ---
>   .../ttf-fonts/ttf-ipa_003.03.01.bb            | 25 +++++++++++++++++++
>   1 file changed, 25 insertions(+)
>   create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
> 
> diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
> new file mode 100644
> index 000000000..b0af08097
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
> @@ -0,0 +1,25 @@
> +require ttf.inc
> +
> +SUMMARY = "Ipa fonts - TTF Version"
> +HOMEPAGE = "https://moji.or.jp/ipafont"
> +LICENSE = "IPA"
> +LICENSE_URL = "https://moji.or.jp/ipafont/license/"
> +LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276 \
> +"
> +PR = "r0"

not needed.

> +
> +SRC_URI = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip "
> +
> +SRC_URI[md5sum] = "39a828acf27790adbe4944dfb4d94bb1"
> +SRC_URI[sha256sum] = "f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5"
> +

only sha256sum is needed.

> +S = "${WORKDIR}/IPAfont00303"
> +
> +PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp"
> +FONT_PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp"
> +
> +FILES:ttf-ipag = "${datadir}/fonts/truetype/ipag.ttf"
> +FILES:ttf-ipagp = "${datadir}/fonts/truetype/ipagp.ttf"
> +FILES:ttf-ipam = "${datadir}/fonts/truetype/ipam.ttf"
> +FILES:ttf-ipamp = "${datadir}/fonts/truetype/ipamp.ttf"
> +
> 

Since its a new recipe, add it to test packagegroup as well.

I have addressed all these issues this time.

> 
> 
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92600): https://lists.openembedded.org/g/openembedded-devel/message/92600
Mute This Topic: https://lists.openembedded.org/mt/84858559/3617530
Group Owner: openembedded-devel+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-