From 89500c583e0f1dc1b4ffdf72914e08e505e427e0 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 10 Apr 2011 13:24:47 +0200 Subject: recipes,classes: import a lot of recipes from meta-shr * tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer) --- .../libsdl-ttf/libsdl-ttf-2.0.10/configure.patch | 13 ++++++++++ .../libsdl-ttf/libsdl-ttf_2.0.10.bb | 30 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/configure.patch create mode 100644 meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb (limited to 'meta-oe/recipes-support/libsdl-ttf') 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 @@ +Index: SDL_ttf-2.0.10/configure.in +=================================================================== +--- SDL_ttf-2.0.10.orig/configure.in 2010-10-15 10:54:51.392730531 +0200 ++++ SDL_ttf-2.0.10/configure.in 2010-10-15 10:55:06.382727473 +0200 +@@ -25,6 +25,8 @@ + AC_SUBST(BINARY_AGE) + AC_SUBST(VERSION) + ++AC_CONFIG_MACRO_DIR([acinclude]) ++ + # libtool versioning + LT_INIT([win32-dll]) + 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 @@ +DESCRIPTION = "Simple DirectMedia Layer truetype font library." +SECTION = "libs" +PRIORITY = "optional" +DEPENDS = "virtual/libsdl freetype" +LICENSE = "LGPL" +PR = "r1" + +SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \ + file://configure.patch \ + " + +S = "${WORKDIR}/SDL_ttf-${PV}" +EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config " + +inherit autotools + +TARGET_CC_ARCH += "${LDFLAGS}" + +do_configure_prepend() { + + MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" + + for i in ${MACROS}; do + rm acinclude/$i + done + +} + +SRC_URI[md5sum] = "814e6e17e8879254208d23b3b7e0354b" +SRC_URI[sha256sum] = "7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a" -- cgit v1.2.3-54-g00ecf