diff mbox series

[meta-oe,58/72] ttf-mplus: Update to latest tip on master

Message ID 20261130084643.1500716-59-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades, tip updates, removals and build fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 8:46 a.m. UTC
Move SRCREV from 80ac404d0c80 (2025-09-12) to 5642d9fba3ef (2026-11-28), 456 commits.

Upstream reorganized the repository: fonts are now built per family
into fonts/<family>/{ttf,otf,variable}, the files use the MPLUS prefix
instead of Mplus, and new families were added: M PLUS 3 (Japanese),
M PLUS U, M PLUS 1 Code LIG and M PLUS Code LIG Latin (with ligatures).
The set grows from 43 to 86 TTF files.

Install the static and variable TTF files from every family directory.
The split package names are lowercased, so the existing ones keep their
names (for example ttf-mplus1-regular).

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb
index 9d2c802ac8..8ef3469c37 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_git.bb
@@ -6,7 +6,7 @@  LICENSE = "OFL-1.1"
 LIC_FILES_CHKSUM = "file://OFL.txt;md5=ee870a4a7cee012360178b2f8bccb725"
 
 SRC_URI = "git://github.com/coz-m/MPLUS_FONTS.git;protocol=https;branch=master"
-SRCREV = "80ac404d0c80442781b6f4c6119a8c9e71770806"
+SRCREV = "5642d9fba3ef130fae48bd6e979985af725f1d2f"
 
 # Upstream publishes no tags or GitHub releases, so track new commits instead.
 UPSTREAM_CHECK_COMMITS = "1"
@@ -21,8 +21,7 @@  python split_ttf_mplus_packages() {
 
 do_install() {
     install -d ${D}${datadir}/fonts/ttf-mplus
-    cd fonts/ttf
-    for f in *.ttf; do
-        install -m 0644 $f ${D}${datadir}/fonts/ttf-mplus/"$(echo "$f" | tr '[]' '_')"
+    for f in fonts/*/ttf/*.ttf fonts/*/variable/*.ttf; do
+        install -m 0644 $f ${D}${datadir}/fonts/ttf-mplus/"$(basename "$f" | tr '[]' '_')"
     done
 }