1
0
Fork 0

Fix mistakes and mistake with use

I have some problem with use and usex, it's a different flags.
Don't confuse them!
This commit is contained in:
CRy386i 2024-11-23 21:20:59 +02:00
parent 528f89a79b
commit 27e63868ea

View file

@ -125,9 +125,9 @@ src_configure() {
-DSDL_DISABLE_INSTALL_CPACK=OFF -DSDL_DISABLE_INSTALL_CPACK=OFF
-DSDL_DISABLE_INSTALL_DOCS=$(usex doc OFF ON) -DSDL_DISABLE_INSTALL_DOCS=$(usex doc OFF ON)
-DSDL_DISKAUDIO=$(usex sound) -DSDL_DISKAUDIO=$(usex sound)
-DSDL_DUMMYAUDIO=$(use sound) -DSDL_DUMMYAUDIO=$(usex sound)
-DSDL_DUMMYCAMERA=$(use camera) -DSDL_DUMMYCAMERA=$(usex camera)
-DSDL_DUMMYVIDEO=$(use video) -DSDL_DUMMYVIDEO=$(usex video)
-DSDL_EXAMPLES=$(usex doc) -DSDL_EXAMPLES=$(usex doc)
-DSDL_EXAMPLES_LINK_SHARED=OFF -DSDL_EXAMPLES_LINK_SHARED=OFF
-DSDL_GCC_ATOMICS=ON -DSDL_GCC_ATOMICS=ON
@ -146,14 +146,18 @@ src_configure() {
-DSDL_LIBUDEV=$(usex udev) -DSDL_LIBUDEV=$(usex udev)
-DSDL_MMX=$(usex cpu_flags_x86_mmx) -DSDL_MMX=$(usex cpu_flags_x86_mmx)
-DSDL_OPENGL=$(usex opengl) -DSDL_OPENGL=$(usex opengl)
-DSDL_OPENGLES=$(usex gles1 || usex gles2 && echo ON || echo OFF) -DSDL_OPENGLES=$(use gles1 || usex gles2 && echo ON || echo OFF)
-DSDL_PIPEWIRE=$(usex pipewire) -DSDL_PIPEWIRE=$(usex pipewire)
-DSDL_PIPEWIRE_SHARED=OFF -DSDL_PIPEWIRE_SHARED=OFF
-DSDL_PULSEAUDIO=$(usex pulseaudio) -DSDL_PULSEAUDIO=$(usex pulseaudio)
-DSDL_PULSEAUDIO_SHARED=OFF -DSDL_PULSEAUDIO_SHARED=OFF
-DSDL_RENDER=$(use video) -DSDL_RENDER=$(usex video)
-DSDL_RENDER_GPU=$(use video) -DSDL_RENDER_GPU=$(usex video)
-DSDL_RENDER_VULKAN=$(usex vulkan) -DSDL_RENDER_VULKAN=$(usex vulkan)
-DSDL_RENDER_D3D=OFF
-DSDL_RENDER_D3D11=OFF
-DSDL_RENDER_D3D12=OFF
-DSDL_RENDER_METAL=OFF
-DSDL_RPATH=OFF -DSDL_RPATH=OFF
-DSDL_RPI=OFF -DSDL_RPI=OFF
-DSDL_SNDIO=$(usex sndio) -DSDL_SNDIO=$(usex sndio)