devel/SDL2-legacy-darwin - The NetBSD Packages Collection

Legacy SDL2 suitable for old Mac OS X versions

Simple DirectMedia Layer is a cross-platform development library designed to
provide low level access to audio, keyboard, mouse, joystick, and graphics
hardware via OpenGL and Direct3D. It is used by video playback software,
emulators, and popular games including Valve's award winning catalog and many
Humble Bundle games.

SDL officially supports Windows, Mac OS X, Linux, iOS, and Android. Support for
other platforms may be found in the source code.

SDL is written in C, works natively with C++, and there are bindings available
for several other languages, including C# and Python.

SDL 2.0 is distributed under the zlib license. This license allows you to use
SDL freely in any software.

This package is based on an older version of SDL2 suitable for use with
legacy platforms such as PowerPC versions of Mac OS X. Features such as
synchronous audio are unavailable. It may also be useful for developers
seeking to target a wide range of SDL2 versions.

Build dependencies

pkgtools/x11-links x11/xorgproto x11/xcb-proto x11/xcb-proto devel/libtool-base pkgtools/mktools devel/gmake devel/pkgconf pkgtools/cwrappers

Runtime dependencies

graphics/MesaLib x11/liboldXrandr x11/liboldXrandr x11/libXScrnSaver x11/xcursor x11/xcursor graphics/MesaLib x11/liboldXrandr x11/xcursor

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64SDL2-2.0.3.tgz
NetBSD 10.0aarch64ebSDL2-2.0.3.tgz
NetBSD 10.0alphaSDL2-2.0.3.tgz
NetBSD 10.0earmv6hfSDL2-2.0.3.tgz
NetBSD 10.0earmv7hfSDL2-2.0.3.tgz
NetBSD 10.0i386SDL2-2.0.3.tgz
NetBSD 10.0x86_64SDL2-2.0.3.tgz
NetBSD 8.0powerpcSDL2-2.0.3.tgz
NetBSD 8.0x86_64SDL2-2.0.3.tgz
NetBSD 9.0aarch64SDL2-2.0.3.tgz
NetBSD 9.0alphaSDL2-2.0.3.tgz
NetBSD 9.0earmv6hfSDL2-2.0.3.tgz
NetBSD 9.0earmv7hfSDL2-2.0.3.tgz
NetBSD 9.0i386SDL2-2.0.3.tgz
NetBSD 9.0powerpcSDL2-2.0.3.tgz
NetBSD 9.0x86_64SDL2-2.0.3.tgz
NetBSD 9.3x86_64SDL2-2.0.3.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

alsa
Enable ALSA support.
dbus
Enable dbus (desktop bus) support.
nas
Enable usage of the Network Audio System.
pulseaudio
Enable support for the PulseAudio sound server.
x11
Enable X11 support.
opengl
Use OpenGL as display library.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.