diff --git a/media-libs/libsdl3/libsdl3-3.1.6.ebuild b/media-libs/libsdl3/libsdl3-3.1.6.ebuild index 55df6ff..750edf5 100644 --- a/media-libs/libsdl3/libsdl3-3.1.6.ebuild +++ b/media-libs/libsdl3/libsdl3-3.1.6.ebuild @@ -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)