mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
sdl2_ttf: bump version.
This commit is contained in:
83
media-libs/sdl2_ttf/sdl2_ttf-2.0.14.recipe
Normal file
83
media-libs/sdl2_ttf/sdl2_ttf-2.0.14.recipe
Normal file
@@ -0,0 +1,83 @@
|
||||
SUMMARY="A TrueType font rendering library for SDL2"
|
||||
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"
|
||||
COPYRIGHT="1997-2013 Sam Lantinga"
|
||||
LICENSE="Zlib"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276"
|
||||
SOURCE_DIR="SDL2_ttf-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86 ?x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
sdl2_ttf${secondaryArchSuffix} = $portVersion compat >= 2.0
|
||||
lib:libSDL2_ttf${secondaryArchSuffix} = $portVersion compat >= 2.0
|
||||
lib:libSDL2_ttf_2.0${secondaryArchSuffix} = 0.14.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
lib:libfreetype${secondaryArchSuffix}
|
||||
lib:libSDL2_2.0${secondaryArchSuffix}
|
||||
lib:libz${secondaryArchSuffix}
|
||||
lib:libbz2${secondaryArchSuffix}
|
||||
lib:libpng${secondaryArchSuffix}
|
||||
lib:libGL${secondaryArchSuffix}
|
||||
lib:libltdl${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
sdl2_ttf${secondaryArchSuffix}_devel = ${portVersion} compat >= 2.0
|
||||
devel:libSDL2_ttf$secondaryArchSuffix = ${portVersion} compat >= 2.0
|
||||
devel:libSDL2_ttf_2.0$secondaryArchSuffix = 0.14.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
sdl2_ttf$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libfreetype${secondaryArchSuffix}
|
||||
devel:libSDL2${secondaryArchSuffix}
|
||||
devel:libz${secondaryArchSuffix}
|
||||
devel:libbz2${secondaryArchSuffix}
|
||||
devel:libpng${secondaryArchSuffix}
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:libtoolize
|
||||
cmd:aclocal_1.13
|
||||
cmd:automake_1.13
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
touch INSTALL NEWS README AUTHORS ChangeLog COPYING
|
||||
libtoolize --copy --force --install
|
||||
aclocal-1.13 --install -I acinclude
|
||||
autoconf
|
||||
automake-1.13
|
||||
runConfigure ./configure --with-x=no
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libSDL2_ttf
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user