SDL2: remove rpi build option

unnecessary now that rpi can use system libraries for GLES
This commit is contained in:
classabbyamp 2023-11-17 14:20:43 -05:00 committed by classabbyamp
parent 06dd03f292
commit d5ab8fffad
1 changed files with 1 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'SDL2'
pkgname=SDL2
version=2.28.5
revision=2
revision=3
build_style=cmake
configure_args="-DSDL_ALSA=ON -DSDL_ESD=OFF -DSDL_RPATH=OFF
-DSDL_CLOCK_GETTIME=ON -DSDL_PULSEAUDIO_SHARED=OFF
@ -21,12 +21,6 @@ checksum=332cb37d0be20cb9541739c61f79bae5a477427d79ae85e352089afdaf6666e4
build_options="gles opengl pulseaudio pipewire sndio vulkan wayland x11"
build_options_default="gles opengl pulseaudio sndio vulkan wayland x11"
case "$XBPS_TARGET_MACHINE" in
arm*)
build_options+=" rpi"
;;
esac
case "$XBPS_TARGET_MACHINE" in
ppcle*) ;;
*) build_options_default+=" pipewire";;
@ -51,14 +45,6 @@ else
configure_args+=" -DSDL_OPENGLES=OFF"
fi
if [ "$build_option_rpi" ]; then
# RaspberryPi, use Videocore IV
configure_args+=" -DSDL_OPENGLES=ON"
makedepends+=" rpi-userland-devel"
CFLAGS="-I${XBPS_CROSS_BASE}/opt/vc/include -I${XBPS_CROSS_BASE}/opt/vc/include/interface/vcos/pthreads"
LDFLAGS="-L${XBPS_CROSS_BASE}/opt/vc/lib -Wl,-rpath=/opt/vc/lib"
fi
if [ "$build_option_opengl" ]; then
# libGL.so.1 is dynamically loaded with dlopen.
shlib_requires+=" libGL.so.1"