diff options
Diffstat (limited to 'meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb')
-rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb new file mode 100644 index 000000000..7d896cf00 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer truetype font library" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "virtual/libsdl2 freetype virtual/libgl" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=4bb27d550fdafcd8f8e4fb8cbb2775ef" | ||
6 | |||
7 | SRC_URI = " \ | ||
8 | http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \ | ||
9 | file://automake_foreign.patch \ | ||
10 | " | ||
11 | SRC_URI[md5sum] = "04fe06ff7623d7bdcb704e82f5f88391" | ||
12 | SRC_URI[sha256sum] = "a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33" | ||
13 | |||
14 | S = "${WORKDIR}/SDL2_ttf-${PV}" | ||
15 | |||
16 | inherit autotools pkgconfig features_check | ||
17 | |||
18 | # links to libGL.so | ||
19 | REQUIRED_DISTRO_FEATURES += "x11 opengl" | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | # Removing these files fixes a libtool version mismatch. | ||
23 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
24 | |||
25 | for i in ${MACROS}; do | ||
26 | rm -f ${S}/acinclude/$i | ||
27 | done | ||
28 | } | ||
29 | ASNEEDED = "" | ||