mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Updated sdl_gfx to support secondaryArchSuffix, TODO: get TEST to work
This commit is contained in:
@@ -8,32 +8,33 @@ COPYRIGHT="1999-2012 A. Schiffler"
|
||||
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
sdl_gfx = $portVersion compat >= 2
|
||||
sdl_gfx$secondaryArchSuffix = $portVersion compat >= 2
|
||||
lib:libSDL_gfx = 14.9.1 compat >= 14
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
libsdl
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
libsdl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libsdl
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtool
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
cmd:sdl_config
|
||||
cmd:sdl_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL_gfx-$portVersion"
|
||||
@@ -63,22 +64,28 @@ INSTALL()
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:SDL_gfx = 14.9.1 compat >= 0
|
||||
devel:libSDL_gfx = 14.9.1 compat >= 0
|
||||
devel:libSDL_gfx = $portVersion compat >= 2.0
|
||||
devel:sdl_gfx = 14.9.1 compat >= 0
|
||||
sdl_gfx${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
||||
devel:sdl_gfx$secondaryArchSuffix = 14.9.1 compat >= 14
|
||||
devel:libSDL_gfx$secondaryArchSuffix = 14.9.1 compat >= 14
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
sdl_gfx == $portVersion base
|
||||
sdl_gfx$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd Test
|
||||
./autogen.sh
|
||||
runConfigure ./configure
|
||||
# fails to configure due to missing sdl_gfx
|
||||
make
|
||||
ls
|
||||
TestABGR
|
||||
TestFonts
|
||||
TestFramerate
|
||||
TestImageFilter
|
||||
TestGfxBlit
|
||||
TestGfxPrimitives
|
||||
TestGfxTexture
|
||||
TestRotozoom
|
||||
TestShrink
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user