From 6fe62a9436addc6a59731639ed6ace9f9d9d1bc9 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sat, 12 Oct 2013 18:00:56 -0700 Subject: [PATCH] Fixed sdl_ttf. --- media-libs/sdl_ttf/sdl_ttf-2.0.11.recipe | 41 +++++++++++++++++------- 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/media-libs/sdl_ttf/sdl_ttf-2.0.11.recipe b/media-libs/sdl_ttf/sdl_ttf-2.0.11.recipe index 103b3fa53..1d452a8c8 100644 --- a/media-libs/sdl_ttf/sdl_ttf-2.0.11.recipe +++ b/media-libs/sdl_ttf/sdl_ttf-2.0.11.recipe @@ -1,8 +1,20 @@ +DESCRIPTION=" + SDL_ttf is a TrueType font rendering library that is used with the SDL + library, and almost as portable. It depends on freetype2 to handle the + TrueType font data. It allows a programmer to use multiple TrueType fonts + without having to code a font rendering routine themselves. With the power + of outline fonts and antialiasing, high quality text output can be obtained + without much effort. + " SUMMARY="Simple Direct Media Layer Image Library" HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html" SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz" CHECKSUM_MD5="61e29bd9da8d245bc2471d1b2ce591aa" +LICENSE="Zlib" +COPYRIGHT="1997-2012 Sam Lantinga" + REVISION="1" + ARCHITECTURES="x86 x86_gcc2" PROVIDES=" @@ -20,6 +32,7 @@ REQUIRES=" " BUILD_PREREQUIRES=" + haiku_devel cmd:libtoolize cmd:aclocal cmd:automake @@ -27,15 +40,16 @@ BUILD_PREREQUIRES=" cmd:gcc cmd:sdl_config cmd:make -" + cmd:freetype_config + devel:libz + " SOURCE_DIR="SDL_ttf-$portVersion" BUILD() { - rm -f acinclude.m4 libtoolize --copy --force --install aclocal --install -I acinclude - ./autogen.sh + autoconf runConfigure ./configure make } @@ -46,15 +60,18 @@ INSTALL() fixPkgconfig prepareInstalledDevelLib libSDL_ttf + + fixPkgconfig + packageEntries devel \ + $developDir } -LICENSE="Zlib" -COPYRIGHT="1997-2012 Sam Lantinga" -DESCRIPTION=" - SDL_ttf is a TrueType font rendering library that is used with the SDL - library, and almost as portable. It depends on freetype2 to handle the - TrueType font data. It allows a programmer to use multiple TrueType fonts - without having to code a font rendering routine themselves. With the power - of outline fonts and antialiasing, high quality text output can be obtained - without much effort. +PROVIDES_devel=" + devel:SDL_ttf = 0.10.1 compat >= 0 + devel:libSDL_ttf = 0.10.1 compat >= 0 " + +REQUIRES_devel=" + sdl_ttf == $portVersion base + " +