media-libs/libsdl2 (mim)

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.30.6 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>aliaksei.urbanski@gmail.com</email>
		<name>Aliaksei Urbanski</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="fcitx4">Enable support for <pkg>app-i18n/fcitx</pkg> 4</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>
		<bugs-to>https://github.com/libsdl-org/SDL/issues</bugs-to>
		<remote-id type="github">libsdl-org/SDL</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Flag Description 2.30.6
X Build and install the legacy pangoxft library ⚠️
alsa ⚠️
aqua ⚠️
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 ⚠️
dbus ⚠️
doc ⚠️
fcitx4 Enable support for <pkg>app-i18n/fcitx</pkg> 4
gles1 include OpenGL ES 1.0 support
gles2 Enable GLES2 support ⚠️
haptic Enable the haptic (force feedback) subsystem
ibus Enable support for <pkg>app-i18n/ibus</pkg>
jack ⚠️
joystick Control joystick support (disable at your own risk)
kms Build the KMSDRM video driver
libsamplerate ⚠️
nas ⚠️
opengl Enable OpenGL library and plugin via desktop OpenGL API ⚠️
oss ⚠️
pipewire Enable support for the <pkg>media-video/pipewire</pkg> audio backend
pulseaudio Enable support for audio capture via PulseAudio ⚠️
sndio Enable support for the <pkg>media-sound/sndio</pkg> backend
sound Control audio support (disable at your own risk)
static-libs ⚠️
test Build the test programs (requires <pkg>sys-libs/zlib</pkg>) ⚠️
threads ⚠️
udev ⚠️
video Control video support (disable at your own risk)
vulkan ⚠️
wayland Enable Wayland EGL windowing system support (requires egl and at least one of gles2 or opengl) ⚠️
xscreensaver ⚠️

Manifest

Type File Size Versions
DIST SDL2-2.30.6.tar.gz 7524883 bytes 2.30.6
Unmatched Entries
Type File Size
EBUILD libsdl2-2.30.6.ebuild 5869 bytes
MISC metadata.xml 2014 bytes