mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
* Small number of changes to get it building
* Very unstable, but getting there.
* split sdl 2.0 from libsdl to libsdl2. The reasoning
behind this is that libsdl uses -lsdl, while libsdl 2.x
uses -lsdl2. (SDL2 breaks a lot of binary compat I guess)
* Remove old sdl2 bep's in libsdl.. these never worked well.
* libsdl 2.0.0 seems to build with gcc2 and gcc4 (yay)
* libsdl 2.0.0 patch pushed upstream in SDL bug #2046
* Thanks to the gsoc students for their hard work!
(cherry picked from commit d7e59f63c1)
Conflicts:
media-libs/libsdl2/libsdl2-2.0.0.bep
29 lines
693 B
Plaintext
29 lines
693 B
Plaintext
DESCRIPTION="Simple Direct Media Layer 2"
|
|
HOMEPAGE="http://www.libsdl.org/"
|
|
SRC_URI="http://www.libsdl.org/release/SDL2-2.0.0.tar.gz"
|
|
CHECKSUM_MD5="beec89afb6edcc6f0abc4114f2e6bcf7"
|
|
REVISION="1"
|
|
STATUS_HAIKU="unstable"
|
|
DEPEND="pkgconfig >= 0.9.0"
|
|
BUILD {
|
|
cd SDL2-2.0.0
|
|
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
|
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
|
DATADIR=`finddir B_COMMON_DATA_DIRECTORY`
|
|
mkdir build_haiku
|
|
cd build_haiku
|
|
../configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
|
--libdir=$LIBDIR \
|
|
--mandir=$MANDIR \
|
|
--datadir=$DATADIR \
|
|
--enable-shared
|
|
make
|
|
}
|
|
|
|
INSTALL {
|
|
cd SDL2-2.0.0/build_haiku
|
|
make install
|
|
}
|
|
LICENSE="Zlib"
|
|
COPYRIGHT="1997-2012 Sam Lantinga"
|