Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | SUMMARY = "Simple DirectMedia Layer truetype font library" |
| 2 | SECTION = "libs" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 3 | DEPENDS = "virtual/libsdl2 freetype virtual/egl" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 4 | LICENSE = "Zlib" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e98cfd01ca78f683e9d035795810ce87" |
| 6 | |
| 7 | SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \ |
| 8 | file://automake_foreign.patch \ |
| 9 | " |
| 10 | SRC_URI[sha256sum] = "7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251" |
| 11 | |
| 12 | S = "${WORKDIR}/SDL2_ttf-${PV}" |
| 13 | |
| 14 | inherit autotools pkgconfig features_check |
| 15 | |
| 16 | # links to libGL.so |
| 17 | REQUIRED_DISTRO_FEATURES += "opengl" |
| 18 | |
| 19 | do_configure:prepend() { |
| 20 | # Removing these files fixes a libtool version mismatch. |
| 21 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" |
| 22 | |
| 23 | for i in ${MACROS}; do |
| 24 | rm -f ${S}/acinclude/$i |
| 25 | done |
| 26 | } |
| 27 | ASNEEDED = "" |