media-libs/libsdl2 (gentoo)

Search

Package Information

Description:
Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power." Simple DirectMedia Layer supports Linux, Windows, BeOS, MacOS Classic, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. There is also code, but no official support, for Windows CE, AmigaOS, Dreamcast, Atari, NetBSD, AIX, OSF/Tru64, RISC OS, and SymbianOS. SDL is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, Eiffel, Java, Lua, ML, Perl, PHP, Pike, Python, and Ruby.
Homepage:
https://www.libsdl.org/
License:
ZLIB

Versions

Version EAPI Keywords Slot
2.32.8 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 0
2.32.64 8 0
2.32.6 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 0
2.32.4 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 0
2.32.2 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 0
2.32.10 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 0
2.32.0 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 0
2.30.7-r1 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 0
2.30.11 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>games@gentoo.org</email>
		<name>Gentoo Games Project</name>
	</maintainer>
	<longdescription>
		Simple DirectMedia Layer is a cross-platform multimedia library
		designed to provide low level access to audio, keyboard, mouse,
		joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is
		used by MPEG playback software, emulators, and many popular games,
		including the award winning Linux port of "Civilization: Call To
		Power."

		Simple DirectMedia Layer supports Linux, Windows, BeOS, MacOS
		Classic, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX.
		There is also code, but no official support, for Windows CE,
		AmigaOS, Dreamcast, Atari, NetBSD, AIX, OSF/Tru64, RISC OS, and
		SymbianOS.

		SDL is written in C, but works with C++ natively, and has bindings
		to several other languages, including Ada, Eiffel, Java, Lua, ML,
		Perl, PHP, Pike, Python, and Ruby.
	</longdescription>
	<use>
		<flag name="fcitx">Enable support for <pkg>app-i18n/fcitx</pkg></flag>
		<flag name="gles1">include OpenGL ES 1.0 support</flag>
		<flag name="haptic">Enable the haptic (force feedback) subsystem</flag>
		<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="pipewire">Enable support for the <pkg>media-video/pipewire</pkg> audio backend</flag>
		<flag name="sound">Control audio support (disable at your own risk)</flag>
		<flag name="video">Control video support (disable at your own risk)</flag>
	</use>
	<upstream>
		<remote-id type="github">libsdl-org/SDL</remote-id>
		<remote-id type="github">libsdl-org/sdl2-compat</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Flag Description 2.32.8 2.32.64 2.32.6 2.32.4 2.32.2 2.32.10 2.32.0 2.30.7-r1 2.30.11
X Add support for X11
alsa Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
aqua Include support for the Mac OS X Aqua (Carbon/Cocoa) GUI
cpu_flags_ppc_altivec ⚠️
cpu_flags_x86_3dnow ⚠️
cpu_flags_x86_mmx ⚠️
cpu_flags_x86_sse ⚠️
cpu_flags_x86_sse2 ⚠️
cpu_flags_x86_sse3 ⚠️
custom-cflags Build with user-specified CFLAGS (unsupported)
dbus Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
fcitx Enable support for <pkg>app-i18n/fcitx</pkg>
gles1 include OpenGL ES 1.0 support
gles2 Enable GLES 2.0 (OpenGL for Embedded Systems) support (independently of full OpenGL, see also: gles2-only)
haptic Enable the haptic (force feedback) subsystem
ibus Enable support for <pkg>app-i18n/ibus</pkg>
jack Add support for the JACK Audio Connection Kit
joystick Control joystick support (disable at your own risk)
kms Build the KMSDRM video driver
libsamplerate Build with support for converting sample rates using libsamplerate
nas Add support for network audio sound
opengl Add support for OpenGL (3D graphics)
oss Add support for OSS (Open Sound System)
pipewire Enable support for the <pkg>media-video/pipewire</pkg> audio backend
pulseaudio Add sound server support via media-libs/libpulse (may be PulseAudio or PipeWire)
sndio Enable support for the <pkg>media-sound/sndio</pkg> backend
sound Control audio support (disable at your own risk)
static-libs Build static versions of dynamic libraries as well
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
udev Enable virtual/udev integration (device discovery, power and storage device support, etc)
video Control video support (disable at your own risk)
vulkan Add support for 3D graphics and computing via the Vulkan cross-platform API
wayland Enable dev-libs/wayland backend
xscreensaver Add support for XScreenSaver extension

Files

Manifest

Type File Size Versions
DIST SDL2-2.30.11.tar.gz 7585207 bytes 2.30.11
DIST SDL2-2.32.0.tar.gz 7625288 bytes 2.32.0
DIST SDL2-2.32.10.tar.gz 7630262 bytes 2.32.10
DIST SDL2-2.32.2.tar.gz 7627192 bytes 2.32.2
DIST SDL2-2.32.4.tar.gz 7627336 bytes 2.32.4
DIST SDL2-2.32.6.tar.gz 7627447 bytes 2.32.6
DIST SDL2-2.32.8.tar.gz 7627356 bytes 2.32.8
DIST sdl2-compat-2.32.64.tar.gz 2823149 bytes 2.32.64
Unmatched Entries
Type File Size
DIST SDL2-2.30.7.tar.gz 7525092 bytes