Fixed sdl_ttf.

This commit is contained in:
Scott McCreary
2013-10-12 18:00:56 -07:00
parent 6b6aa22675
commit 6fe62a9436

View File

@@ -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" SUMMARY="Simple Direct Media Layer Image Library"
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html" 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" SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz"
CHECKSUM_MD5="61e29bd9da8d245bc2471d1b2ce591aa" CHECKSUM_MD5="61e29bd9da8d245bc2471d1b2ce591aa"
LICENSE="Zlib"
COPYRIGHT="1997-2012 Sam Lantinga"
REVISION="1" REVISION="1"
ARCHITECTURES="x86 x86_gcc2" ARCHITECTURES="x86 x86_gcc2"
PROVIDES=" PROVIDES="
@@ -20,6 +32,7 @@ REQUIRES="
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
haiku_devel
cmd:libtoolize cmd:libtoolize
cmd:aclocal cmd:aclocal
cmd:automake cmd:automake
@@ -27,15 +40,16 @@ BUILD_PREREQUIRES="
cmd:gcc cmd:gcc
cmd:sdl_config cmd:sdl_config
cmd:make cmd:make
" cmd:freetype_config
devel:libz
"
SOURCE_DIR="SDL_ttf-$portVersion" SOURCE_DIR="SDL_ttf-$portVersion"
BUILD() BUILD()
{ {
rm -f acinclude.m4
libtoolize --copy --force --install libtoolize --copy --force --install
aclocal --install -I acinclude aclocal --install -I acinclude
./autogen.sh autoconf
runConfigure ./configure runConfigure ./configure
make make
} }
@@ -46,15 +60,18 @@ INSTALL()
fixPkgconfig fixPkgconfig
prepareInstalledDevelLib libSDL_ttf prepareInstalledDevelLib libSDL_ttf
fixPkgconfig
packageEntries devel \
$developDir
} }
LICENSE="Zlib" PROVIDES_devel="
COPYRIGHT="1997-2012 Sam Lantinga" devel:SDL_ttf = 0.10.1 compat >= 0
DESCRIPTION=" devel:libSDL_ttf = 0.10.1 compat >= 0
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.
" "
REQUIRES_devel="
sdl_ttf == $portVersion base
"