mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
bc0790186d
commit
f7270c7e02
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'SDL2'
|
# Template file for 'SDL2'
|
||||||
pkgname=SDL2
|
pkgname=SDL2
|
||||||
version=2.28.2
|
version=2.28.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DSDL_ALSA=ON -DSDL_ESD=OFF -DSDL_RPATH=OFF
|
configure_args="-DSDL_ALSA=ON -DSDL_ESD=OFF -DSDL_RPATH=OFF
|
||||||
-DSDL_CLOCK_GETTIME=ON -DSDL_PULSEAUDIO_SHARED=OFF
|
-DSDL_CLOCK_GETTIME=ON -DSDL_PULSEAUDIO_SHARED=OFF
|
||||||
|
@ -32,9 +32,11 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
*) build_options_default+=" pipewire";;
|
*) build_options_default+=" pipewire";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# SDL_cpuinfo includes altivec.h, which breaks C++ programs with vector keyword
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
# SDL_cpuinfo includes altivec.h, which breaks C++ programs with vector keyword
|
||||||
ppc*) configure_args+=" -DSDL_ALTIVEC=OFF";;
|
ppc*) configure_args+=" -DSDL_ALTIVEC=OFF";;
|
||||||
|
# SDL detects SSE3 on i686, which is above our support target
|
||||||
|
i686*) configure_args+=" -DSDL_SSE3=OFF";;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue