summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libsdl-ttf
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-04-10 13:24:47 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2011-04-10 14:43:41 +0200
commit89500c583e0f1dc1b4ffdf72914e08e505e427e0 (patch)
treeb073036cc61aa34ca5ac9eec4d617366e0dcb3d5 /meta-oe/recipes-support/libsdl-ttf
parente66079da37992abd54486488aa06a99bf7a4198c (diff)
downloadmeta-openembedded-89500c583e0f1dc1b4ffdf72914e08e505e427e0.tar.gz
recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
Diffstat (limited to 'meta-oe/recipes-support/libsdl-ttf')
-rw-r--r--meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch13
-rw-r--r--meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb30
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch b/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch
new file mode 100644
index 000000000..2069644f9
--- /dev/null
+++ b/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch
@@ -0,0 +1,13 @@
1Index: SDL_ttf-2.0.10/configure.in
2===================================================================
3--- SDL_ttf-2.0.10.orig/configure.in 2010-10-15 10:54:51.392730531 +0200
4+++ SDL_ttf-2.0.10/configure.in 2010-10-15 10:55:06.382727473 +0200
5@@ -25,6 +25,8 @@
6 AC_SUBST(BINARY_AGE)
7 AC_SUBST(VERSION)
8
9+AC_CONFIG_MACRO_DIR([acinclude])
10+
11 # libtool versioning
12 LT_INIT([win32-dll])
13
diff --git a/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb b/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb
new file mode 100644
index 000000000..f02c8f65e
--- /dev/null
+++ b/meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb
@@ -0,0 +1,30 @@
1DESCRIPTION = "Simple DirectMedia Layer truetype font library."
2SECTION = "libs"
3PRIORITY = "optional"
4DEPENDS = "virtual/libsdl freetype"
5LICENSE = "LGPL"
6PR = "r1"
7
8SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
9 file://configure.patch \
10 "
11
12S = "${WORKDIR}/SDL_ttf-${PV}"
13EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config "
14
15inherit autotools
16
17TARGET_CC_ARCH += "${LDFLAGS}"
18
19do_configure_prepend() {
20
21 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
22
23 for i in ${MACROS}; do
24 rm acinclude/$i
25 done
26
27}
28
29SRC_URI[md5sum] = "814e6e17e8879254208d23b3b7e0354b"
30SRC_URI[sha256sum] = "7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a"