Install this package:
emerge -a media-libs/allegro
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask media-libs/allegro
Or alternatively:
emerge --autounmask-write -a media-libs/allegro
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 5.2.10.1 | 8 | ~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 | 5 |
| 4.4.3.1-r1 | 8 | amd64 ~arm64 ~loong ~mips ppc ppc64 ~riscv x86 | 0 |
<pkgmetadata> <maintainer type="project"> <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> <longdescription> Allegro is a game programming library for C/C++ developers distributed freely, supporting the following platforms: DOS, Unix (Linux, FreeBSD, Irix, Solaris, Darwin), Windows, QNX, BeOS and MacOS X. It provides many functions for graphics, sounds, player input (keyboard, mouse and joystick) and timers. It also provides fixed and floating point mathematical functions, 3d functions, file management functions, compressed datafile and a GUI. </longdescription> <use> <flag name="dumb">Enable <pkg>media-libs/dumb</pkg> module library support</flag> <flag name="physfs">Enable physfs support</flag> <flag name="vga">Enables the VGA graphics driver</flag> </use> <upstream> <remote-id type="github">liballeg/allegro5</remote-id> <remote-id type="sourceforge">alleg</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p media-libs/allegro |
euse -E <flag> -p media-libs/allegro |
euse -D <flag> -p media-libs/allegro
| Flag | Description | 5.2.10.1 | 4.4.3.1-r1 |
|---|---|---|---|
| X | Add support for X11 | ✓ | ✓ |
| alsa | Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture) | ✓ | ✓ |
| doc | Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally | ✗ | ✓ |
| dumb | Enable <pkg>media-libs/dumb</pkg> module library support | ✓ | ✗ |
| fbcon | Add framebuffer support for the console, via the kernel | ✗ | ✓ |
| flac | Add support for FLAC: Free Lossless Audio Codec | ✓ | ✗ |
| gtk | Add support for x11-libs/gtk+ (The GIMP Toolkit) | ✓ | ✗ |
| jack | Add support for the JACK Audio Connection Kit | ✗ | ✓ |
| jpeg | Add JPEG image support | ✓ | ✓ |
| openal | Add support for the Open Audio Library | ✓ | ✗ |
| opengl | Add support for OpenGL (3D graphics) | ✓ | ✓ |
| opus | Enable Opus audio codec support | ✓ | ✗ |
| oss | Add support for OSS (Open Sound System) | ✓ | ✓ |
| physfs | Enable physfs support | ✓ | ✗ |
| png | Add support for libpng (PNG images) | ✓ | ✓ |
| pulseaudio | Add sound server support via media-libs/libpulse (may be PulseAudio or PipeWire) | ✓ | ✗ |
| svga | Add support for SVGAlib (graphics library) | ✗ | ✓ |
| test | Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) | ✓ | ✗ |
| truetype | Add support for FreeType and/or FreeType2 fonts | ✓ | ✗ |
| vga | Enables the VGA graphics driver | ✗ | ✓ |
| vorbis | Add support for the OggVorbis audio codec | ✓ | ✓ |
| webp | Add support for the WebP image format | ✓ | ✗ |
| xinerama | Add support for querying multi-monitor screen geometry through the Xinerama API | ✓ | ✗ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | allegro-5.2.10.1.tar.gz | 9858581 bytes | 5.2.10.1 |
| Type | File | Size |
|---|---|---|
| DIST | allegro-4.4.3.1.tar.gz | 4663634 bytes |