diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-12-27 21:08:17 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-30 11:03:07 +0000 |
| commit | a0841ca7ae4dfc985865615f3aacd7a60c3ff799 (patch) | |
| tree | d725ffd1d8bb3fff858878dff7b6366b69d19103 /meta/recipes-graphics/fontconfig/fontconfig_2.15.0.bb | |
| parent | c541bd3f3cc1d90a83d61398ad015716dfded2e5 (diff) | |
| download | poky-a0841ca7ae4dfc985865615f3aacd7a60c3ff799.tar.gz | |
fontconfig: upgrade 2.14.2 -> 2.15.0
License-Update: Add FC_FONT_WRAPPER
(From OE-Core rev: 02bd9c05fc91a1bc22d767308c9e3f21590f202f)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/fontconfig/fontconfig_2.15.0.bb')
| -rw-r--r-- | meta/recipes-graphics/fontconfig/fontconfig_2.15.0.bb | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.15.0.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.15.0.bb new file mode 100644 index 0000000000..b737447e47 --- /dev/null +++ b/meta/recipes-graphics/fontconfig/fontconfig_2.15.0.bb | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | SUMMARY = "Generic font configuration library" | ||
| 2 | DESCRIPTION = "Fontconfig is a font configuration and customization library, which \ | ||
| 3 | does not depend on the X Window System. It is designed to locate \ | ||
| 4 | fonts within the system and select them according to requirements \ | ||
| 5 | specified by applications. \ | ||
| 6 | Fontconfig is not a rasterization library, nor does it impose a \ | ||
| 7 | particular rasterization library on the application. The X-specific \ | ||
| 8 | library 'Xft' uses fontconfig along with freetype to specify and \ | ||
| 9 | rasterize fonts." | ||
| 10 | |||
| 11 | HOMEPAGE = "http://www.fontconfig.org" | ||
| 12 | BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig" | ||
| 13 | |||
| 14 | LICENSE = "MIT & MIT & PD" | ||
| 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=00252fd272bf2e722925613ad74cb6c7 \ | ||
| 16 | file://src/fcfreetype.c;endline=45;md5=ef8702fbf3dc506715be8a9d69cb0252 \ | ||
| 17 | " | ||
| 18 | |||
| 19 | SECTION = "libs" | ||
| 20 | |||
| 21 | DEPENDS = "expat freetype zlib gperf-native util-linux" | ||
| 22 | |||
| 23 | SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ | ||
| 24 | file://revert-static-pkgconfig.patch \ | ||
| 25 | " | ||
| 26 | |||
| 27 | SRC_URI[sha256sum] = "f5f359d6332861bd497570848fcb42520964a9e83d5e3abe397b6b6db9bcaaf4" | ||
| 28 | |||
| 29 | UPSTREAM_CHECK_REGEX = "fontconfig-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | ||
| 30 | |||
| 31 | do_configure:prepend() { | ||
| 32 | # work around https://bugs.freedesktop.org/show_bug.cgi?id=101280 | ||
| 33 | rm -f ${S}/src/fcobjshash.h ${S}/src/fcobjshash.gperf | ||
| 34 | } | ||
| 35 | |||
| 36 | do_install:append:class-target() { | ||
| 37 | # duplicate fc-cache for postinstall script | ||
| 38 | mkdir -p ${D}${libexecdir} | ||
| 39 | ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache | ||
| 40 | } | ||
| 41 | |||
| 42 | do_install:append:class-nativesdk() { | ||
| 43 | # duplicate fc-cache for postinstall script | ||
| 44 | mkdir -p ${D}${libexecdir} | ||
| 45 | ln ${D}${bindir}/fc-cache ${D}${libexecdir}/${MLPREFIX}fc-cache | ||
| 46 | } | ||
| 47 | |||
| 48 | PACKAGES =+ "fontconfig-utils" | ||
| 49 | FILES:${PN} =+ "${datadir}/xml/*" | ||
| 50 | FILES:${PN}-dev += "${datadir}/gettext/*" | ||
| 51 | FILES:fontconfig-utils = "${bindir}/* ${libexecdir}/*" | ||
| 52 | |||
| 53 | # Work around past breakage in debian.bbclass | ||
| 54 | RPROVIDES:fontconfig-utils = "libfontconfig-utils" | ||
| 55 | RREPLACES:fontconfig-utils = "libfontconfig-utils" | ||
| 56 | RCONFLICTS:fontconfig-utils = "libfontconfig-utils" | ||
| 57 | DEBIAN_NOAUTONAME:fontconfig-utils = "1" | ||
| 58 | |||
| 59 | inherit autotools pkgconfig relative_symlinks gettext | ||
| 60 | |||
| 61 | FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig" | ||
| 62 | |||
| 63 | # comma separated list of additional directories | ||
| 64 | # /usr/share/fonts is already included by default (you can change it with --with-default-fonts) | ||
| 65 | FONTCONFIG_FONT_DIRS ?= "no" | ||
| 66 | |||
| 67 | EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts --with-cache-dir=${FONTCONFIG_CACHE_DIR} --with-add-fonts=${FONTCONFIG_FONT_DIRS}" | ||
| 68 | |||
| 69 | BBCLASSEXTEND = "native nativesdk" | ||
