pkg.soopen package index

brew / rank 308

Install sdl2-compat with Homebrew, apk, dnf, Nix, pacman, apt, zypper

SDL2 compatibility layer that uses SDL3 behind the scenes. Version 2.32.72 via Homebrew; verified 2026-09-10. Also installable with debian: sudo apt install libsdl2-compat.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install sdl2-compat

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add sdl2-compat

Alpine Linux edge package indexes · sdl2-compat · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install sdl2-compat

Fedora Rawhide package metadata · sdl2-compat · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#sdl2-compat

nixpkgs package indexes · pkgs/by-name/sd/sdl2-compat/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S sdl2-compat

Arch Linux sync databases · sdl2-compat · source: geo.mirror.pkgbuild.com

Debian aptverified · 92%
sudo apt install libsdl2-compat

Debian stable package indexes · libsdl2-compat · source: deb.debian.org

openSUSE zypperverified · 92%
sudo zypper install libSDL2-2_0-0

openSUSE Tumbleweed package metadata · libSDL2-2_0-0 · source: download.opensuse.org

overview

Package summary

SDL2 compatibility layer that uses SDL3 behind the scenes

Commands and aliases

  • sdl2-config

history

Project history and usage

sdl2-compat provides SDL 2-compatible interfaces backed by SDL 3, helping existing games and multimedia applications migrate without immediate source changes.

Project history

sdl2-compat was established by the SDL project as an SDL 2 API and ABI compatibility layer implemented on SDL 3. The project distinguishes this maintained compatibility path from SDL 2 Classic, which remains available on the SDL repository's SDL2 branch.

Adoption history

The compatibility library has been adopted by multiple distribution ecosystems, including Homebrew, Debian, Fedora, Arch, Alpine, Nix, and openSUSE, as a migration path from SDL 2 to SDL 3-backed systems.

How it is used

It is normally installed as a shared-library replacement for SDL 2. Existing binaries can use it without being rewritten, while projects building against the compatibility headers retain the familiar sdl2-config-oriented workflow.

Why package nerds care

sdl2-compat allows distributions to move their runtime foundation to SDL 3 while retaining ABI compatibility for the large body of software built for SDL 2. Its game-specific fixes illustrate why compatibility libraries remain important even when source-level ports are possible.

Timeline

  • 2025: The SDL 2.32 compatibility release line became the distribution-facing continuation of SDL 2 behavior over SDL 3.
  • 2026: Stable 2.32 releases continued with platform, application, and game compatibility fixes.

Related projects

  • SDL 2 defines the compatibility surface, while SDL 3 provides the underlying implementation. The older sdl12-compat project uses the same approach to run SDL 1.2 software over a newer SDL generation.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for sdl2-compat. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
sdl2-configcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-09-19
manager version2.32.72
manager updated2026-09-10
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/libsdl-org/sdl2-compat

install metadata

Package metadata

Package keybrew:sdl2-compat
Version2.32.72
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sdl2-compat
Homepagehttps://github.com/libsdl-org/sdl2-compat
Repositoryhttps://github.com/libsdl-org/sdl2-compat
LicenseZlib
Source archivehttps://github.com/libsdl-org/sdl2-compat/releases/download/release-2.32.70/sdl2-compat-2.32.70.tar.gz
Last updated2026-09-10T08:20:29Z
Pulseupdated
Dependenciessdl3
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesdl2-compat
Aliases
  • sdl2
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libsdl2-compat 2.32.54+ds-1

SDL 2 binary compatibility library wrapping SDL 3

https://github.com/libsdl-org/sdl2-compat

sudo apt install libsdl2-compat
  • Section: libs
  • Architecture: amd64
  • Source Package: sdl2-compat
  • 2 dependencies
  • normalized package name match
  • Matched by: Sdl2 Compat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsdl2-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsdl2-compat-dev 2.32.54+ds-1

libsdl2-dev replacement using SDL 3

https://github.com/libsdl-org/sdl2-compat

sudo apt install libsdl2-compat-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: sdl2-compat
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsdl2-compat-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsdl2-compat-shim 2.32.54+ds-1

libsdl2-2.0-0 replacement using SDL 3

https://github.com/libsdl-org/sdl2-compat

sudo apt install libsdl2-compat-shim
  • Section: libs
  • Architecture: amd64
  • Source Package: sdl2-compat
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsdl2-compat-shim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsdl2-compat-tests 2.32.54+ds-1

SDL 2 binary compatibility library - tests

https://github.com/libsdl-org/sdl2-compat

sudo apt install libsdl2-compat-tests
  • Section: misc
  • Architecture: amd64
  • Source Package: sdl2-compat
  • 4 dependencies
  • normalized package name match
  • Matched by: Sdl2 Compat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsdl2-compat-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

sdl2-compat

nix profile install nixpkgs#sdl2-compat
  • normalized package name match
  • Matched by: Sdl2 Compat
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sd/sdl2-compat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

sdl2-compat 2.32.70-r0

SDL2 compatibility layer that uses SDL3 behind the scenes

https://github.com/libsdl-org/sdl2-compat

sudo apk add sdl2-compat
  • License: Zlib
  • Architecture: x86_64
  • Source Package: sdl2-compat
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sdl2-compat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

sdl2-compat-dev 2.32.70-r0

SDL2 compatibility layer that uses SDL3 behind the scenes (development files)

https://github.com/libsdl-org/sdl2-compat

sudo apk add sdl2-compat-dev
  • License: Zlib
  • Architecture: x86_64
  • Source Package: sdl2-compat
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sdl2-compat-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

sdl2-compat-doc 2.32.70-r0

SDL2 compatibility layer that uses SDL3 behind the scenes (documentation)

https://github.com/libsdl-org/sdl2-compat

sudo apk add sdl2-compat-doc
  • License: Zlib
  • Architecture: x86_64
  • Source Package: sdl2-compat
  • normalized package name match
  • Matched by: Sdl2 Compat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sdl2-compat-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

sdl2-compat-static 2.32.70-r0

SDL2 compatibility layer that uses SDL3 behind the scenes (static library)

https://github.com/libsdl-org/sdl2-compat

sudo apk add sdl2-compat-static
  • License: Zlib
  • Architecture: x86_64
  • Source Package: sdl2-compat
  • 1 dependencies
  • normalized package name match
  • Matched by: Sdl2 Compat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sdl2-compat-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

sdl2-compat 2.32.70-2.fc45

SDL 2.0 runtime compatibility library using SDL 3.0

https://github.com/libsdl-org/sdl2-compat

sudo dnf install sdl2-compat
  • License: Zlib
  • Category: Unspecified
  • Architecture: i686
  • Source Package: sdl2-compat
  • 3 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sdl2-compat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

sdl2-compat-devel 2.32.70-2.fc45

Files to develop SDL 2.0 applications using SDL 3.0

https://github.com/libsdl-org/sdl2-compat

sudo dnf install sdl2-compat-devel
  • License: Zlib and Apache-2.0 and MIT and BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: sdl2-compat
  • 6 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sdl2-compat-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

sdl2-compat-static 2.32.70-2.fc45

Static library to develop SDL 2.0 applications using SDL 3.0

https://github.com/libsdl-org/sdl2-compat

sudo dnf install sdl2-compat-static
  • License: Zlib
  • Category: Unspecified
  • Architecture: i686
  • Source Package: sdl2-compat
  • 1 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sdl2-compat-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

sdl2-compat 2.32.70-1

An SDL2 compatibility layer that uses SDL3 behind the scenes

https://github.com/libsdl-org/sdl2-compat

sudo pacman -S sdl2-compat
  • License: Zlib
  • Architecture: x86_64
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: sdl2-compat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libSDL2-2_0-0 2.32.70-1.3

SDL-2.0 Compatibility Layer for Simple DirectMedia Layer 3.0

https://github.com/libsdl-org/sdl2-compat

sudo zypper install libSDL2-2_0-0
  • License: Zlib
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: sdl2-compat
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libSDL2-2_0-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

libSDL2-2_0-0-32bit 2.32.70-1.3

SDL-2.0 Compatibility Layer for Simple DirectMedia Layer 3.0

https://github.com/libsdl-org/sdl2-compat

sudo zypper install libSDL2-2_0-0-32bit
  • License: Zlib
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: sdl2-compat
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libSDL2-2_0-0-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

sdl2-compat-devel 2.32.70-1.3

Header and build system files for sdl2-compat

https://github.com/libsdl-org/sdl2-compat

sudo zypper install sdl2-compat-devel
  • License: Zlib
  • Category: Development/Libraries/X11
  • Architecture: x86_64
  • Source Package: sdl2-compat
  • 3 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Sdl2 Compat
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sdl2-compat-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation