mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 12:41:58 +02:00
refresh automake_foreign.patch License-Update: year updated to 2022. Changelog: ========= -Added TTF_GetFreeTypeVersion() and TTF_GetHarfBuzzVersion() -Added support for Signed Distance Field rendering with TTF_SetFontSDF() and TTF_GetFontSDF() -Added optional DPI-scaling of fonts, with the following new functions: TTF_OpenFontDPI() TTF_OpenFontIndexDPI() TTF_OpenFontDPIRW() TTF_OpenFontIndexDPIRW() TTF_SetFontSizeDPI() -Added 32-bit character support with: TTF_GlyphIsProvided32() TTF_GlyphMetrics32() TTF_RenderGlyph32_Solid() TTF_RenderGlyph32_Shaded() TTF_RenderGlyph32_Blended() TTF_GetFontKerningSizeGlyphs32() -Added functions to set direction and script when using Harfbuzz: TTF_SetDirection() TTF_SetScript() -Added extended API for text measurement: TTF_MeasureText() TTF_MeasureUTF8() TTF_MeasureUNICODE() -Added TTF_SetFontSize() to set font size dynamically -Added 'Shaded' and 'Solid' text wrapped functions: TTF_RenderText_Solid_Wrapped() TTF_RenderUTF8_Solid_Wrapped() TTF_RenderUNICODE_Solid_Wrapped() TTF_RenderText_Shaded_Wrapped() TTF_RenderUTF8_Shaded_Wrapped() TTF_RenderUNICODE_Shaded_Wrapped() -Added TTF_HINTING_LIGHT_SUBPIXEL for better results at small text sizes at a performance cost Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
28 lines
831 B
BlitzBasic
28 lines
831 B
BlitzBasic
SUMMARY = "Simple DirectMedia Layer truetype font library"
|
|
SECTION = "libs"
|
|
DEPENDS = "virtual/libsdl2 freetype virtual/libgl"
|
|
LICENSE = "Zlib"
|
|
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e98cfd01ca78f683e9d035795810ce87"
|
|
|
|
SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \
|
|
file://automake_foreign.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251"
|
|
|
|
S = "${WORKDIR}/SDL2_ttf-${PV}"
|
|
|
|
inherit autotools pkgconfig features_check
|
|
|
|
# links to libGL.so
|
|
REQUIRED_DISTRO_FEATURES += "opengl"
|
|
|
|
do_configure:prepend() {
|
|
# Removing these files fixes a libtool version mismatch.
|
|
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
|
|
|
|
for i in ${MACROS}; do
|
|
rm -f ${S}/acinclude/$i
|
|
done
|
|
}
|
|
ASNEEDED = ""
|