mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
sdl_gfx: bump version.
* cleanup recipe layout. * add a link for libSDL_gfx.15.so, it's still compatible. * use more correct requires.
This commit is contained in:
@@ -5,33 +5,43 @@ basic drawing routines such as lines, circles or polygons and SDL_rotozoom \
|
||||
which implemented a interpolating rotozoomer for SDL_surfaces.
|
||||
"
|
||||
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
|
||||
SOURCE_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0"
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="1999-2012 A. Schiffler"
|
||||
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446"
|
||||
SOURCE_DIR="SDL_gfx-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
sdl_gfx$secondaryArchSuffix = $portVersion compat >= 2
|
||||
lib:libSDL_gfx$secondaryArchSuffix = 15.9.1 compat >= 15
|
||||
lib:libSDL_gfx$secondaryArchSuffix = 16.9.1 compat >= 15
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
libsdl$secondaryArchSuffix
|
||||
lib:libsdl_1.2$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
sdl_gfx${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
||||
devel:sdl_gfx$secondaryArchSuffix = 16.9.1 compat >= 15
|
||||
devel:libSDL_gfx$secondaryArchSuffix = 16.9.1 compat >= 15
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
sdl_gfx$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libsdl_1.2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
@@ -42,10 +52,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:sdl_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL_gfx-$portVersion"
|
||||
|
||||
#BUILD_PACKAGE_ACTIVATION_PHASE = "TEST"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
if [ $effectiveTargetArchitecture = x86_gcc2 ]; then
|
||||
@@ -66,22 +72,12 @@ INSTALL()
|
||||
prepareInstalledDevelLib libSDL_gfx
|
||||
fixPkgconfig
|
||||
|
||||
ln -s libSDL_gfx.so.15 $libDir/libSDL_gfx.so.14
|
||||
ln -s libSDL_gfx.so.16 $libDir/libSDL_gfx.so.15
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
sdl_gfx${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
||||
devel:sdl_gfx$secondaryArchSuffix = 15.9.1 compat >= 14
|
||||
devel:libSDL_gfx$secondaryArchSuffix = 15.9.1 compat >= 14
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
sdl_gfx$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd Test
|
||||
Reference in New Issue
Block a user