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:
parent
528f89a79b
commit
27e63868ea
1 changed files with 11 additions and 7 deletions
|
@ -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 \
|
||||
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 \
|
||||
test udev +video vulkan wayland xscreensaver"
|
||||
test udev +video vulkan wayland xscreensaver"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
|
@ -125,9 +125,9 @@ src_configure() {
|
|||
-DSDL_DISABLE_INSTALL_CPACK=OFF
|
||||
-DSDL_DISABLE_INSTALL_DOCS=$(usex doc OFF ON)
|
||||
-DSDL_DISKAUDIO=$(usex sound)
|
||||
-DSDL_DUMMYAUDIO=$(use sound)
|
||||
-DSDL_DUMMYCAMERA=$(use camera)
|
||||
-DSDL_DUMMYVIDEO=$(use video)
|
||||
-DSDL_DUMMYAUDIO=$(usex sound)
|
||||
-DSDL_DUMMYCAMERA=$(usex camera)
|
||||
-DSDL_DUMMYVIDEO=$(usex video)
|
||||
-DSDL_EXAMPLES=$(usex doc)
|
||||
-DSDL_EXAMPLES_LINK_SHARED=OFF
|
||||
-DSDL_GCC_ATOMICS=ON
|
||||
|
@ -146,14 +146,18 @@ src_configure() {
|
|||
-DSDL_LIBUDEV=$(usex udev)
|
||||
-DSDL_MMX=$(usex cpu_flags_x86_mmx)
|
||||
-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_SHARED=OFF
|
||||
-DSDL_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DSDL_PULSEAUDIO_SHARED=OFF
|
||||
-DSDL_RENDER=$(use video)
|
||||
-DSDL_RENDER_GPU=$(use video)
|
||||
-DSDL_RENDER=$(usex video)
|
||||
-DSDL_RENDER_GPU=$(usex video)
|
||||
-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_RPI=OFF
|
||||
-DSDL_SNDIO=$(usex sndio)
|
||||
|
|
Loading…
Reference in a new issue