SDL: enable opengl/pulse on x86/musl too.

This commit is contained in:
Juan RP 2015-06-03 22:47:36 +02:00
parent e3ae372bcd
commit efcf359366

View File

@ -1,7 +1,7 @@
# Template file for 'SDL'
pkgname=SDL
version=1.2.15
revision=9
revision=10
patch_args="-Np1"
build_style=gnu-configure
configure_args="--enable-alsa --disable-esd --disable-rpath
@ -26,10 +26,12 @@ makedepends="alsa-lib-devel $(vopt_if x11 libXrandr-devel)
build_options="x11 opengl aalib pulseaudio"
build_options_default="x11"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
# Enable OpenGL and pulseaudio on x86.
build_options_default+=" opengl pulseaudio"
fi
;;
esac
if [ "$build_option_opengl" ]; then
# libGL.so.1 is dynamically loaded with dlopen.