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

@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86"
IUSE="X alsa +sound cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 \ IUSE="X alsa +sound cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 \
cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 camera custom-cflags dbus debug doc gles1 gles2 +haptic ibus \ cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 camera custom-cflags dbus debug doc gles1 gles2 +haptic ibus \
jack +joystick kms opengl pipewire pulseaudio sndio static-libs \ jack +joystick kms opengl pipewire pulseaudio sndio static-libs \
test udev +video vulkan wayland xscreensaver" test udev +video vulkan wayland xscreensaver"
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
REQUIRED_USE=" REQUIRED_USE="
@ -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)