mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Recipe cosmetics. Improved SUMMARY/DESCRIPTION, re-ordered blocks.
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
SUMMARY="Simple Direct Media Layer 2.0"
|
||||
DESCRIPTION="
|
||||
Simple DirectMedia Layer is a cross-platform development library designed to \
|
||||
provide low level access to audio, keyboard, mouse, joystick, and graphics \
|
||||
hardware via OpenGL and Direct3D. It is used by video playback software, \
|
||||
emulators, and popular games.
|
||||
"
|
||||
DESCRIPTION="Simple DirectMedia Layer is a cross-platform development library \
|
||||
designed to provide low level access to audio, keyboard, mouse, joystick, and \
|
||||
graphics hardware via OpenGL and Direct3D. It is used by video playback \
|
||||
software, emulators, and popular games."
|
||||
HOMEPAGE="http://www.libsdl.org/"
|
||||
COPYRIGHT="1997-2014 Sam Lantinga"
|
||||
LICENSE="Zlib"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://www.libsdl.org/release/SDL2-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a5a69a6abf80bcce713fa873607735fe712f44276a7f048d60a61bb2f6b3c90c"
|
||||
REVISION="2"
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="1997-2014 Sam Lantinga"
|
||||
SOURCE_DIR="SDL2-$portVersion"
|
||||
PATCHES="libsdl2-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
@@ -20,19 +20,29 @@ PROVIDES="
|
||||
lib:libSDL2$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
lib:libSDL2_2.0$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libglu$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsdl2${secondaryArchSuffix}_devel = $portVersion compat >= 2.0
|
||||
cmd:sdl2_config$secondaryArchSuffix = $portVersion compat >= 2.0
|
||||
devel:libSDL2$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
devel:libSDL2main$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
devel:libSDL2_test$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
devel:libSDL2_2.0$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsdl2$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgl$secondaryArchSuffix
|
||||
devel:libglu$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:libtool
|
||||
@@ -45,10 +55,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:gettext
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL2-$portVersion"
|
||||
|
||||
PATCHES="libsdl2-$portVersion.patchset"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
if [ $effectiveTargetArchitecture != "x86_gcc2" ]; then
|
||||
@@ -78,19 +84,5 @@ INSTALL()
|
||||
fixDevelopLibDirReferences $binDir/sdl2-config
|
||||
|
||||
packageEntries devel \
|
||||
$developDir $binDir/sdl2-config $dataDir
|
||||
$developDir $binDir/sdl2-config $dataDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------
|
||||
PROVIDES_devel="
|
||||
libsdl2${secondaryArchSuffix}_devel = $portVersion compat >= 2.0
|
||||
cmd:sdl2_config$secondaryArchSuffix = $portVersion compat >= 2.0
|
||||
devel:libSDL2$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
devel:libSDL2main$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
devel:libSDL2_test$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
devel:libSDL2_2.0$secondaryArchSuffix = 0.2.1 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libsdl2$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user