SDL2: enable x11, opengl and pulse on aarch64

We can use desktop OpenGL as well as X11 with the open source
graphics stack on Tegra hardware besides others, so enable
options to match x86.
This commit is contained in:
q66 2018-05-20 19:44:35 +02:00 committed by Enno Boland
parent ffd47c72c0
commit 5fae3e7c9e
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'SDL2'
pkgname=SDL2
version=2.0.8
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-alsa --disable-esd --disable-rpath --enable-libudev
--enable-clock_gettime --disable-nas --disable-arts --disable-x11-shared
@ -22,6 +22,9 @@ case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
build_options_default="opengl pulseaudio x11"
;;
aarch64*)
build_options_default="gles opengl pulseaudio x11"
;;
arm*)
# Enable OpenGL/ES on rpi platforms
build_options_default="gles"