diff --git a/sdl.be0 b/sdl.be0 index c972a0867..e7b70aadc 100755 --- a/sdl.be0 +++ b/sdl.be0 @@ -1,25 +1,21 @@ #!/bin/env beesh -# BEE_VERSION sdl-2.0.4-0 +# BEE_VERSION sdl-1.2.15-0 -SRCURL[0]="http://www.libsdl.org/release/SDL2-${PKGVERSION}.tar.gz" +SRCURL[0]="http://www.libsdl.org/release/SDL-${PKGVERSION}.tar.gz" PATCHURL[0]="" PGRP=( uncategorized ) - - -# BEE_CONFIGURE=compat - -# EXCLUDE="" - mee_patch() { bee_patch } mee_configure() { - bee_configure + sed -e '/_XData32/s:register long:register _Xconst long:' \ + -i ${S}/src/video/x11/SDL_x11sym.h + bee_configure --disable-static } mee_build() { diff --git a/sdl2.be0 b/sdl2.be0 new file mode 100755 index 000000000..4b9fd626d --- /dev/null +++ b/sdl2.be0 @@ -0,0 +1,32 @@ +#!/bin/env beesh + +#BEE_VERSION sdl2-2.0.4-0 + +SRCURL[0]="http://www.libsdl.org/release/SDL2-${PKGVERSION}.tar.gz" + +PATCHURL[0]="" + +PGRP=( uncategorized ) + + + +# BEE_CONFIGURE=compat + +# EXCLUDE="" + +mee_patch() { + bee_patch +} + +mee_configure() { + bee_configure +} + +mee_build() { + bee_build +} + +mee_install() { + bee_install +} +