aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libsdl/libsdl-ttf_2.0.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libsdl/libsdl-ttf_2.0.10.bb')
-rw-r--r--recipes/libsdl/libsdl-ttf_2.0.10.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/libsdl/libsdl-ttf_2.0.10.bb b/recipes/libsdl/libsdl-ttf_2.0.10.bb
new file mode 100644
index 0000000000..a573328b6f
--- /dev/null
+++ b/recipes/libsdl/libsdl-ttf_2.0.10.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Simple DirectMedia Layer truetype font library."
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "virtual/libsdl freetype"
+LICENSE = "LGPL"
+
+SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
+ ${@['','file://libtool-update.patch'][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == 'yes']} \
+ "
+
+S = "${WORKDIR}/SDL_ttf-${PV}"
+EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config "
+
+inherit autotools
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+SRC_URI[md5sum] = "814e6e17e8879254208d23b3b7e0354b"
+SRC_URI[sha256sum] = "7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a"