SDL2: update to 2.0.4.

This commit is contained in:
Juan RP 2015-12-21 19:10:43 +01:00
parent 9c0195b5a6
commit 362334c90d

View file

@ -1,7 +1,7 @@
# Template file for 'SDL2'
pkgname=SDL2
version=2.0.3
revision=7
version=2.0.4
revision=1
build_style=gnu-configure
configure_args="--enable-alsa --disable-esd --disable-rpath --enable-libudev
--enable-clock_gettime --disable-nas --disable-arts --disable-x11-shared
@ -12,15 +12,14 @@ short_desc="Simple DirectMedia Layer (version 2)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.libsdl.org/"
license="zlib"
distfiles="http://www.libsdl.org/release/${pkgname}-$version.tar.gz"
checksum=a5a69a6abf80bcce713fa873607735fe712f44276a7f048d60a61bb2f6b3c90c
distfiles="http://www.libsdl.org/tmp/release/${pkgname}-$version.tar.gz"
checksum=26c6aea8e1c7c60f4bed11d9b39630a878576a09a722ea67755b4fb7a0694af7
# Package build options
build_options="gles opengl pulseaudio wayland x11"
build_options="gles opengl pulseaudio sndio wayland x11"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
# Enable OpenGL, pulseaudio and x11
build_options_default="opengl pulseaudio x11"
;;
arm*)
@ -66,6 +65,13 @@ else
configure_args+=" --disable-pulseaudio"
fi
if [ "$build_option_sndio" ]; then
configure_args+=" --enable-sndio"
makedepends+=" sndio-devel"
else
configure_args+=" --disable-sndio"
fi
if [ "$build_option_wayland" ]; then
if [ "$build_option_opengl" ]; then
msg_error "$pkgname: wayland option requires gles and not opengl.\n"