From 8a0f5d1f18166c81d557276fe4f56ae60477189d Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Wed, 18 Nov 2009 09:23:53 +0100 Subject: Ajout de sdl_ttf#2.0.8-1 --- extra/sdl_ttf/.footprint | 10 ++++++++++ extra/sdl_ttf/.md5sum | 2 ++ extra/sdl_ttf/Pkgfile | 24 ++++++++++++++++++++++++ extra/sdl_ttf/sdl_ttf-noftinternals.patch | 24 ++++++++++++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 extra/sdl_ttf/.footprint create mode 100644 extra/sdl_ttf/.md5sum create mode 100644 extra/sdl_ttf/Pkgfile create mode 100644 extra/sdl_ttf/sdl_ttf-noftinternals.patch (limited to 'extra/sdl_ttf') diff --git a/extra/sdl_ttf/.footprint b/extra/sdl_ttf/.footprint new file mode 100644 index 000000000..c69807452 --- /dev/null +++ b/extra/sdl_ttf/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/SDL/ +-rw-r--r-- root/root usr/include/SDL/SDL_ttf.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libSDL_ttf-2.0.so.0 -> libSDL_ttf-2.0.so.0.6.2 +-rwxr-xr-x root/root usr/lib/libSDL_ttf-2.0.so.0.6.2 +-rw-r--r-- root/root usr/lib/libSDL_ttf.a +-rwxr-xr-x root/root usr/lib/libSDL_ttf.la +lrwxrwxrwx root/root usr/lib/libSDL_ttf.so -> libSDL_ttf-2.0.so.0.6.2 diff --git a/extra/sdl_ttf/.md5sum b/extra/sdl_ttf/.md5sum new file mode 100644 index 000000000..d4083fa2f --- /dev/null +++ b/extra/sdl_ttf/.md5sum @@ -0,0 +1,2 @@ +094b6c08769e9842dbe1dfb5efa22df7 SDL_ttf-2.0.8.tar.gz +b6c2d4ca22bea6031192e97aba7acb72 sdl_ttf-noftinternals.patch diff --git a/extra/sdl_ttf/Pkgfile b/extra/sdl_ttf/Pkgfile new file mode 100644 index 000000000..d0ec5311c --- /dev/null +++ b/extra/sdl_ttf/Pkgfile @@ -0,0 +1,24 @@ +# Description: Bibliothèque TrueType pour libsdl. +# URL: http://www.libsdl.org/projects/SDL_ttf/ +# Maintainer: Danny Rawlins +# Packager: Simone Rota +# Depends on: freetype libsdl + +name=sdl_ttf +version=2.0.8 +release=1 +source=( http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$version.tar.gz \ +sdl_ttf-noftinternals.patch ) + +build() { + cd SDL_ttf-$version + + # Application de patchs + patch -i $SRC/sdl_ttf-noftinternals.patch + + # compilation + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} + diff --git a/extra/sdl_ttf/sdl_ttf-noftinternals.patch b/extra/sdl_ttf/sdl_ttf-noftinternals.patch new file mode 100644 index 000000000..2d536ff7c --- /dev/null +++ b/extra/sdl_ttf/sdl_ttf-noftinternals.patch @@ -0,0 +1,24 @@ +diff -Nru SDL_ttf-2.0.8.orig/SDL_ttf.c SDL_ttf-2.0.8/SDL_ttf.c +--- SDL_ttf-2.0.8.orig/SDL_ttf.c 2006-05-01 11:26:17.000000000 +0200 ++++ SDL_ttf-2.0.8/SDL_ttf.c 2007-01-03 13:32:42.438178717 +0100 +@@ -47,9 +47,9 @@ + #include + #include + #include +-*/ +-#include + ++#include ++*/ + #ifndef FT_OPEN_STREAM + #define FT_OPEN_STREAM ft_open_stream + #endif +@@ -278,7 +278,7 @@ + } + memset(stream, 0, sizeof(*stream)); + +- stream->memory = library->memory; ++ stream->memory = NULL; + stream->read = RWread; + stream->descriptor.pointer = src; + stream->pos = (unsigned long)position; -- cgit v1.2.3-54-g00ecf