media-libs/libsdl2: Add sndio support

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/19609
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
Haelwenn (lanodan) Monnier
2021-05-20 22:02:08 +01:00
committed by James Le Cuirot
parent 625041ca61
commit 8fc630eb63
3 changed files with 6 additions and 2 deletions
+4 -2
View File
@@ -14,7 +14,7 @@ LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus fcitx4 gles1 gles2 haptic ibus jack +joystick kms libsamplerate nas opengl oss pulseaudio +sound static-libs +threads udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus fcitx4 gles1 gles2 haptic ibus jack +joystick kms libsamplerate nas opengl oss pulseaudio sndio +sound static-libs +threads udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
REQUIRED_USE="
alsa? ( sound )
fcitx4? ( dbus )
@@ -25,6 +25,7 @@ REQUIRED_USE="
nas? ( sound )
opengl? ( video )
pulseaudio? ( sound )
sndio? ( sound )
vulkan? ( video )
wayland? ( gles2 )
xinerama? ( X )
@@ -52,6 +53,7 @@ CDEPEND="
>=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
)
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] )
wayland? (
>=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}]
@@ -154,7 +156,7 @@ multilib_src_configure() {
$(use_enable libsamplerate)
$(use_enable nas)
--disable-nas-shared
--disable-sndio
$(use_enable sndio)
--disable-sndio-shared
$(use_enable sound diskaudio)
$(use_enable sound dummyaudio)
+1
View File
@@ -31,6 +31,7 @@
<flag name="ibus">Enable support for <pkg>app-i18n/ibus</pkg></flag>
<flag name="joystick">Control joystick support (disable at your own risk)</flag>
<flag name="kms">Build the KMSDRM video driver</flag>
<flag name="sndio">Enable support for the <pkg>media-sound/sndio</pkg> backend</flag>
<flag name="sound">Control audio support (disable at your own risk)</flag>
<flag name="tslib">Build with tslib support for touchscreen devices</flag>
<flag name="video">Control video support (disable at your own risk)</flag>
+1
View File
@@ -32,6 +32,7 @@ media-libs/openal sndio
media-video/ffmpeg sndio
media-sound/moc sndio
media-sound/mpd sndio
media-libs/libsdl2 sndio
# Sam James <sam@gentoo.org> (2021-01-19)
# Avoid pulling in a large unkeyworded dep