mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-28 11:11:37 +00:00
source-code-pro-fonts: upgrade 2.030_1.050 -> 2.042_1.062
Adobe's 2.042R-u/1.062R-i/1.026R-vf release re-compiles all fonts so
that the static instances correspond to the variable-font versions;
uprights are at 2.042 and italics at 1.062.
Upstream also reorganised the release assets: instead of a single
all-formats source-code-pro-<ver>.zip containing a top-level versioned
directory (plus EOT/OTF/TTF/WOFF trees and a bundled LICENSE.txt), each
format is now published as its own archive that unpacks a bare OTF/
directory with no license file. So SRC_URI now fetches
OTF-source-code-pro-2.042R-u_1.062R-i.zip with ;subdir=${BP}, S points
at that subdir, and LIC_FILES_CHKSUM references the common OFL-1.1 text
(the repository's LICENSE.md is the verbatim SIL OFL 1.1, only the
copyright year and Adobe notice differ, and it is no longer shipped in
the font archive). UPSTREAM_CHECK_REGEX is adjusted for the new
"R-u" tag suffix. All 14 OTF faces are packaged as before.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
+5
-5
@@ -3,19 +3,19 @@ require ttf.inc
|
||||
SUMMARY = "Adobe Source Code Pro"
|
||||
HOMEPAGE = "https://github.com/adobe-fonts/source-code-pro"
|
||||
LICENSE = "OFL-1.1"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c7c16bdc2c96af797293d68503e5c65c"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
|
||||
|
||||
inherit allarch fontcache
|
||||
|
||||
SRC_URI = " \
|
||||
https://github.com/adobe-fonts/source-code-pro/releases/download/2.030R-ro/1.050R-it/source-code-pro-2.030R-ro-1.050R-it.zip \
|
||||
https://github.com/adobe-fonts/source-code-pro/releases/download/2.042R-u/1.062R-i/1.026R-vf/OTF-source-code-pro-2.042R-u_1.062R-i.zip;subdir=${BP} \
|
||||
file://44-source-code-pro-fonts-fontconfig.conf \
|
||||
"
|
||||
SRC_URI[sha256sum] = "da2ac159497d31b0c6d9daa8fc390fb8252e75b4a9805ace6a2c9cccaed4932e"
|
||||
S = "${UNPACKDIR}/source-code-pro-2.030R-ro-1.050R-it"
|
||||
SRC_URI[sha256sum] = "754a2e3ebb945ae905d720ac5896b3b34acc9546dd6551ef9536869788629dae"
|
||||
S = "${UNPACKDIR}/${BP}"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/adobe-fonts/source-code-pro/tags"
|
||||
UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+\.\d+)R"
|
||||
UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+\.\d+)R-u"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
Reference in New Issue
Block a user