diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-11-08 20:32:05 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-08 23:04:37 -0800 |
| commit | 0152e47a942089e32ed2f2a77649c679e4d68745 (patch) | |
| tree | d8f62c6928585be21f2ed33a72c24503e479e92e /meta-oe | |
| parent | 1f5d73fa365098ec403b793510b49563c7539302 (diff) | |
| download | meta-openembedded-0152e47a942089e32ed2f2a77649c679e4d68745.tar.gz | |
ttf-mplus: update to latest revision
The original sourceforge project page doesn't exist anymore along
with the original download location. The project switched to github.
From the github history it is not possible to determine when did it
switch license to OFL (sourceforge history was not imported),
it used this license from the initial commit.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 | } | ||
