sdl2: Fix build for x86 secondary arch

* Patch to remove old be/ include paths
* Fix sdl2-config, you're supposed to let
  the fixPkgconfig create the symlink
* Requires recent gcc update
This commit is contained in:
Alexander von Gluck IV
2014-01-15 01:09:55 -06:00
parent 56eae38258
commit cbd58fbf1b
2 changed files with 120 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ emulators, and popular games.
HOMEPAGE="http://www.libsdl.org/"
SRC_URI="http://www.libsdl.org/release/SDL2-2.0.1.tar.gz"
CHECKSUM_MD5="0eb97039488bf463e775295f7b18b227"
REVISION="2"
REVISION="3"
LICENSE="Zlib"
COPYRIGHT="1997-2013 Sam Lantinga"
@@ -52,6 +52,8 @@ BUILD_PREREQUIRES="
SOURCE_DIR="SDL2-$portVersion"
PATCHES="libsdl2-2.0.1.patchset"
BUILD()
{
runConfigure ./configure
@@ -70,10 +72,10 @@ INSTALL()
libSDL2-2.0
fixPkgconfig
fixDevelopLibDirReferences $binDir/sdl2-config$secondaryArchSuffix
fixDevelopLibDirReferences $binDir/sdl2-config
packageEntries devel \
$developDir $binDir/sdl2-config$secondaryArchSuffix $dataDir
$developDir $binDir/sdl2-config $dataDir
}
# ----- devel package -------------------------------------