mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-23 20:58:33 +00:00
Upstream moved where they are putting tarballs[1]: Starting with Unicode 17.0.0, the zipped versions of the data files are only published in https://www.unicode.org/Public/<version>/ucd/ Update the SRC_URI and UPSTREAM_CHECK_URI patterns, upgrade to 18.0.0, and unpack the .zip into ${BP} so we don't need to set ${S}. [1] https://www.unicode.org/Public/zipped/ReadMe.txt Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
28 lines
1016 B
BlitzBasic
28 lines
1016 B
BlitzBasic
SUMMARY = "Unicode Character Database"
|
|
HOMEPAGE = "https://unicode.org/ucd/"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/ucd-license-v4.txt;md5=3049f4ad14be1ebf8c80a93d9d32b2d6"
|
|
|
|
SRC_URI = " \
|
|
https://www.unicode.org/Public/${PV}/ucd/UCD.zip;name=ucd;subdir=${BP};downloadfilename=unicode-ucd-${PV}.zip \
|
|
https://www.unicode.org/license.txt;downloadfilename=ucd-license-v4.txt;name=ucd-license \
|
|
"
|
|
SRC_URI[ucd.sha256sum] = "7b3e555514060b92290d154f53655c5eb0fa62b16eb04c03434ff72d1a66a0d8"
|
|
SRC_URI[ucd-license.sha256sum] = "e7a93b009565cfce55919a381437ac4db883e9da2126fa28b91d12732bc53d96"
|
|
|
|
# The tarball name (UCD.zip) carries no version, so check the per-release
|
|
# directories in the Public/ index instead.
|
|
UPSTREAM_CHECK_URI = "https://www.unicode.org/Public/"
|
|
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
|
|
|
|
inherit allarch
|
|
|
|
do_configure[noexec] = "1"
|
|
|
|
do_install() {
|
|
install -d ${D}${datadir}/unicode
|
|
cp -rf ${S} ${D}${datadir}/unicode/ucd
|
|
}
|
|
|
|
FILES:${PN} = "${datadir}/unicode/ucd"
|