similarity index 74%
rename from meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
rename to meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_00303.bb
@@ -6,15 +6,16 @@ LICENSE = "IPA"
LICENSE_URL = "https://moji.or.jp/ipafont/license/"
LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276 \
"
-SRC_URI = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip "
+SRC_URI = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont${PV}.zip"
SRC_URI[sha256sum] = "f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5"
-# Ver.003.03 (the last IPAfont release) is only published as unversioned-directory
-# zips named IPAfont00303.zip; no listing exposes a version comparable to PV.
-UPSTREAM_VERSION_UNKNOWN = "1"
+# PV follows upstream's compact version (00303 = Ver.003.03) as used in the
+# download page links
+UPSTREAM_CHECK_URI = "https://moji.or.jp/ipafont/ipafontdownload/"
+UPSTREAM_CHECK_REGEX = "/ipafont/ipa(?P<pver>\d+)/"
-S = "${UNPACKDIR}/IPAfont00303"
+S = "${UNPACKDIR}/IPAfont${PV}"
PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp"
FONT_PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp"
IPAfont Ver.003.03 is published as IPAfont00303.zip and the download page links it as ipafont/ipa00303/. PV 003.03.01 could not be compared with that, so the recipe was declared UPSTREAM_VERSION_UNKNOWN. Use 00303 as PV (it sorts above 003.03.01, no PE needed), derive SRC_URI and S from it and check the download page. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- .../{ttf-ipa_003.03.01.bb => ttf-ipa_00303.bb} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename meta-oe/recipes-graphics/ttf-fonts/{ttf-ipa_003.03.01.bb => ttf-ipa_00303.bb} (74%)