commit: 8fc630eb6356c8c2a9ebafdb5ee7a1d6dba2cdf7 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Mon Feb 22 23:16:27 2021 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Thu May 20 21:02:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc630eb
media-libs/libsdl2: Add sndio support Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/19609 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> media-libs/libsdl2/libsdl2-2.0.14-r2.ebuild | 6 ++++-- media-libs/libsdl2/metadata.xml | 1 + profiles/arch/alpha/package.use.mask | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/media-libs/libsdl2/libsdl2-2.0.14-r2.ebuild b/media-libs/libsdl2/libsdl2-2.0.14-r2.ebuild index e6a22bd2b6b..50f6d8e1fe4 100644 --- a/media-libs/libsdl2/libsdl2-2.0.14-r2.ebuild +++ b/media-libs/libsdl2/libsdl2-2.0.14-r2.ebuild @@ -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) diff --git a/media-libs/libsdl2/metadata.xml b/media-libs/libsdl2/metadata.xml index a35fb97837a..7c587dc6d2e 100644 --- a/media-libs/libsdl2/metadata.xml +++ b/media-libs/libsdl2/metadata.xml @@ -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> diff --git a/profiles/arch/alpha/package.use.mask b/profiles/arch/alpha/package.use.mask index 155629c2d65..88c37c564b1 100644 --- a/profiles/arch/alpha/package.use.mask +++ b/profiles/arch/alpha/package.use.mask @@ -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 <s...@gentoo.org> (2021-01-19) # Avoid pulling in a large unkeyworded dep