diff options
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb | 25 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb | 25 |
2 files changed, 25 insertions, 25 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb deleted file mode 100644 index 1ae1d1a2b4..0000000000 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | require ttf.inc | ||
| 2 | |||
| 3 | SUMMARY = "MPlus font - TTF Edition" | ||
| 4 | HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" | ||
| 5 | LICENSE = "${BPN}" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE_E;md5=ac161e96eda00db9a3aec7870b5d9658 \ | ||
| 7 | file://LICENSE_J;md5=a120ca8d7c8e4a475d5277c9aeb95221 \ | ||
| 8 | " | ||
| 9 | SRC_URI = "http://downloads.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" | ||
| 10 | S = "${UNPACKDIR}/mplus-TESTFLIGHT-${PV}" | ||
| 11 | |||
| 12 | PACKAGESPLITFUNCS:prepend = "split_ttf_mplus_packages " | ||
| 13 | |||
| 14 | python split_ttf_mplus_packages() { | ||
| 15 | plugindir = d.expand('${datadir}/fonts/ttf-mplus/') | ||
| 16 | packages = do_split_packages(d, plugindir, r'^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s') | ||
| 17 | d.setVar('FONT_PACKAGES', ' '.join(packages)) | ||
| 18 | } | ||
| 19 | |||
| 20 | do_install() { | ||
| 21 | install -d ${D}${datadir}/fonts/ttf-mplus | ||
| 22 | install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/ | ||
| 23 | } | ||
| 24 | |||
| 25 | SRC_URI[sha256sum] = "a20b9b9b03c2a6fb1e2137d29e8a6ce06406ba1e008906ea3c474dc048dc06a6" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb new file mode 100644 index 0000000000..c491a44095 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | require ttf.inc | ||
| 2 | |||
| 3 | SUMMARY = "MPlus font - TTF Edition" | ||
| 4 | HOMEPAGE = "https://mplusfonts.github.io/" | ||
| 5 | LICENSE = "OFL-1.1" | ||
| 6 | LIC_FILES_CHKSUM = "file://OFL.txt;md5=ee870a4a7cee012360178b2f8bccb725" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/coz-m/MPLUS_FONTS.git;protocol=https;branch=master" | ||
| 9 | SRCREV = "80ac404d0c80442781b6f4c6119a8c9e71770806" | ||
| 10 | |||
| 11 | PACKAGESPLITFUNCS:prepend = "split_ttf_mplus_packages " | ||
| 12 | |||
| 13 | python split_ttf_mplus_packages() { | ||
| 14 | plugindir = d.expand('${datadir}/fonts/ttf-mplus/') | ||
| 15 | packages = do_split_packages(d, plugindir, r'^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s') | ||
| 16 | d.setVar('FONT_PACKAGES', ' '.join(packages)) | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | install -d ${D}${datadir}/fonts/ttf-mplus | ||
| 21 | cd fonts/ttf | ||
| 22 | for f in *.ttf; do | ||
| 23 | install -m 0644 $f ${D}${datadir}/fonts/ttf-mplus/"$(echo "$f" | tr '[]' '_')" | ||
| 24 | done | ||
| 25 | } | ||
