Enable libGL for libsdl2

This commit is contained in:
Scott McCreary
2013-12-25 12:38:16 -08:00
parent 57d1b03533
commit 76d471398f

View File

@@ -19,7 +19,7 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
# lib:libGL$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
@@ -27,17 +27,15 @@ REQUIRES="
"
BUILD_REQUIRES="
# devel:mesa
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libGL$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libpng$secondaryArchSuffix >= 1.5
# ^^ Haikuporter fails if we try to check this one?
devel:libjpeg$secondaryArchSuffix >= 9
devel:libtiff$secondaryArchSuffix >= 3.9
devel:libjpeg$secondaryArchSuffix
devel:libtiff$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:autoconf
cmd:libtool
cmd:aclocal
@@ -66,16 +64,16 @@ INSTALL()
libSDL2-2.0
fixPkgconfig
fixDevelopLibDirReferences $binDir/sdl2-config
fixDevelopLibDirReferences $binDir/sdl2-config$secondaryArchSuffix
packageEntries devel \
$developDir $binDir/sdl2-config $dataDir
$developDir $binDir/sdl2-config$secondaryArchSuffix $dataDir
}
# ----- devel package -------------------------------------
PROVIDES_devel="
libsdl2${secondaryArchSuffix}_devel = $portVersion compat >= 2.0
cmd:sdl2_config = $portVersion compat >= 2.0
cmd:sdl2_config$secondaryArchSuffix = $portVersion compat >= 2.0
devel:libSDL2$secondaryArchSuffix = 2.0_0.1.0 compat >= 2.0_0
devel:libSDL2main$secondaryArchSuffix = 2.0_0.1.0 compat >= 2.0_0
devel:libSDL2_test$secondaryArchSuffix = 2.0_0.1.0 compat >= 2.0_0