mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
sdl2_ttf: Fix up recipe.
This commit is contained in:
@@ -1,48 +1,79 @@
|
|||||||
SUMMARY="Simple Direct Media Layer Image Library"
|
SUMMARY="A TrueType font rendering library for SDL2"
|
||||||
DESCRIPTION="SDL"
|
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.
|
||||||
|
"
|
||||||
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf"
|
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf"
|
||||||
SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.tar.gz"
|
SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.tar.gz"
|
||||||
CHECKSUM_MD5="79787216b56cb4707f39d538f2225e00"
|
CHECKSUM_MD5="79787216b56cb4707f39d538f2225e00"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
LICENSE="Zlib"
|
LICENSE="Zlib"
|
||||||
COPYRIGHT="1997-2013 Sam Lantinga"
|
COPYRIGHT="1997-2013 Sam Lantinga"
|
||||||
|
|
||||||
ARCHITECTURES="x86 x86_gcc2"
|
ARCHITECTURES="x86 x86_gcc2"
|
||||||
|
SECONDARY_ARCHITECTURES="?x86 ?x86_gcc2"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
lib:SDL2_ttf
|
sdl2_ttf${secondaryArchSuffix} = $portVersion
|
||||||
|
lib:libSDL2_ttf${secondaryArchSuffix}
|
||||||
"
|
"
|
||||||
|
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
lib:libsdl2
|
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||||
|
lib:libfreetype${secondaryArchSuffix}
|
||||||
|
lib:libSDL2${secondaryArchSuffix}
|
||||||
|
lib:libz${secondaryArchSuffix}
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
cmd:autoconf
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||||
cmd:libtool
|
devel:libfreetype${secondaryArchSuffix}
|
||||||
cmd:aclocal
|
devel:libSDL2${secondaryArchSuffix}
|
||||||
cmd:make
|
devel:libz${secondaryArchSuffix}
|
||||||
cmd:gcc${secondaryArchSuffix}
|
|
||||||
cmd:ld${secondaryArchSuffix}
|
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:libtoolize
|
||||||
|
cmd:aclocal
|
||||||
|
cmd:automake
|
||||||
|
cmd:autoconf
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
"
|
"
|
||||||
|
|
||||||
SOURCE_DIR="SDL2_ttf-$portVersion"
|
SOURCE_DIR="SDL2_ttf-$portVersion"
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
# rm -f acinclude.m4
|
libtoolize --copy --force --install
|
||||||
# libtoolize --copy --force --install
|
aclocal --install -I acinclude
|
||||||
# aclocal --install -I acinclude
|
autoconf
|
||||||
# echo "AC_CONFIG_MACRO_DIR([acinclude]) > configure.in"
|
runConfigure ./configure --with-x=no
|
||||||
# ./autogen.sh
|
make $jobArgs
|
||||||
runConfigure ./configure
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
prepareInstalledDevelLibs libSDL2_ttf
|
||||||
|
fixPkgconfig
|
||||||
|
|
||||||
|
packageEntries devel \
|
||||||
|
$developDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
sdl2_ttf${secondaryArchSuffix}_devel = ${portVersion} compat >= 1.2
|
||||||
|
devel:sdl2_ttf$secondaryArchSuffix = ${portVersion} compat >= 1.2
|
||||||
|
devel:libSDL2_ttf$secondaryArchSuffix = 2.0_0.10.1 compat >= 2.0_0
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES_devel="
|
||||||
|
sdl2_ttf$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user