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"
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
"