summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb
diff options
context:
space:
mode:
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.bb29
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 @@
1SUMMARY = "Simple DirectMedia Layer truetype font library"
2SECTION = "libs"
3DEPENDS = "virtual/libsdl2 freetype virtual/libgl"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=4bb27d550fdafcd8f8e4fb8cbb2775ef"
6
7SRC_URI = " \
8 http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \
9 file://automake_foreign.patch \
10"
11SRC_URI[md5sum] = "04fe06ff7623d7bdcb704e82f5f88391"
12SRC_URI[sha256sum] = "a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33"
13
14S = "${WORKDIR}/SDL2_ttf-${PV}"
15
16inherit autotools pkgconfig features_check
17
18# links to libGL.so
19REQUIRED_DISTRO_FEATURES += "x11 opengl"
20
21do_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}
29ASNEEDED = ""