diff --git a/media-libs/libsdl2/libsdl2-2.0.0.recipe b/media-libs/libsdl2/libsdl2-2.0.0.recipe index 3846f145c..f7ef6f199 100644 --- a/media-libs/libsdl2/libsdl2-2.0.0.recipe +++ b/media-libs/libsdl2/libsdl2-2.0.0.recipe @@ -10,11 +10,9 @@ COPYRIGHT="1997-2013 Sam Lantinga" ARCHITECTURES="x86 x86_gcc2" PROVIDES=" + libsdl2 = $portVersion compat >= 2.0 lib:libsdl2 = $portVersion compat >= 2.0 - cmd:sdl2_config = $portVersion compat >= 2.0 - lib:libsdl2 = $portVersion compat >= 2.0 - lib:libSDL2 = $portVersion compat >= 2.0 - lib:libSDL2_2.0 = 0.0.0 compat >= 0.12 + lib:libsdl2_2.0 = 0.0.0 compat >= 0.12 " REQUIRES=" @@ -26,14 +24,18 @@ REQUIRES=" lib:libgame lib:libdevice lib:libtextencoding - " - -BUILD_REQUIRES=" lib:libpng lib:libjpeg lib:libtiff " +BUILD_REQUIRES=" + haiku_devel + devel:libpng + devel:libjpeg +# devel:libtiff + " + BUILD_PREREQUIRES=" cmd:autoconf cmd:libtool @@ -64,18 +66,19 @@ INSTALL() libSDL2_test fixPkgconfig + fixDevelopLibDirReferences $binDir/sdl2-config packageEntries devel \ - $developDir + $developDir $binDir/sdl2-config $dataDir } # ----- devel package ------------------------------------- PROVIDES_devel=" - cmd:sdl2_config = $portVersion compat >= 2.0 - devel:libSDL2_2.0 = 0.0.0 compat >= 0 - devel:libSDL2 = 0.0.0 compat >= 0 - devel:libSDL2main = 0.12.0 compat >= 0 - devel:libSDL2_test = 0.0.0 compat >= 0 + cmd:sdl2_config = $portVersion compat >= 2.0 + devel:libsdl2_2.0 = 0.12.0 compat >= 0 + devel:libsdl2 = 0.12.0 compat >= 0 + devel:libsdl2main = 0.12.0 compat >= 0 + devel:libsdl2_test = 0.12.0 compat >= 0 " REQUIRES_devel="