Install this package:
emerge -a media-libs/libsdl
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask media-libs/libsdl
Or alternatively:
emerge --autounmask-write -a media-libs/libsdl
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.2.74 | 8 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 | 0 |
| 1.2.68 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 | 0 |
<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="joystick">Control joystick support (disable at your own risk)</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-1.2</remote-id> <remote-id type="github">libsdl-org/sdl12-compat</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p media-libs/libsdl |
euse -E <flag> -p media-libs/libsdl |
euse -D <flag> -p media-libs/libsdl
| Flag | Description | 1.2.74 | 1.2.68 |
|---|---|---|---|
| X | Add support for X11 | ✓ | ✓ |
| alsa | Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture) | ✓ | ✓ |
| joystick | Control joystick support (disable at your own risk) | ⊕ | ⊕ |
| opengl | Add support for OpenGL (3D graphics) | ✓ | ✓ |
| sound | Control audio support (disable at your own risk) | ⊕ | ⊕ |
| test | Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) | ✓ | ✓ |
| video | Control video support (disable at your own risk) | ⊕ | ⊕ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | libsdl-1.2.68.tar.gz | 460180 bytes | 1.2.68 |
| DIST | libsdl-1.2.74.tar.gz | 496038 bytes | 1.2.74 |
| Type | File | Size |
|---|