# Install sdl12-compat

SDL 1.2 compatibility layer that uses SDL 2.0 behind the scenes. Version 1.2.76 via Homebrew; verified 2026-05-07.

## Install

```sh
sudo av install brew:sdl12-compat
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sdl12-compat
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sdl12-compat
```

  Evidence: MacPorts ports tree: devel/sdl12-compat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add sdl12-compat
```

  Evidence: Alpine Linux edge package indexes: sdl12-compat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libsdl1.2-compat
```

  Evidence: Debian stable package indexes: libsdl1.2-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install sdl12-compat
```

  Evidence: Fedora Rawhide package metadata: sdl12-compat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S sdl12-compat
```

  Evidence: Arch Linux sync databases: sdl12-compat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libSDL-1_2-0
```

  Evidence: openSUSE Tumbleweed package metadata: libSDL-1_2-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:sdl12-compat
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/sdl12-compat>
- **Version:** 1.2.76
- **Source summary:** SDL 1.2 compatibility layer that uses SDL 2.0 behind the scenes
- **Homepage:** <https://github.com/libsdl-org/sdl12-compat>
- **Repository:** <https://github.com/libsdl-org/sdl12-compat>
- **Upstream docs:** <https://github.com/libsdl-org/sdl12-compat#readme>
- **License:** Zlib AND MIT-0
- **Source archive:** <https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-1.2.76.tar.gz>
- **Last updated:** 2026-05-07T14:19:06Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- sdl-config (cli)
- sdl-config (alias)

## Dependencies

- sdl2

## Build Dependencies

- cmake

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.2.76
- Package-manager updated: 2026-05-07
- Local data status: ok
- Upstream repository: https://github.com/libsdl-org/sdl12-compat
- info: No cached GitHub release or tag data was available.

## 安全说明

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sdl12-compat
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libsdl1.2-compat - 1.2.68-3: normalized package name match | Debian stable package indexes: libsdl1.2-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SDL 1.2 binary compatibility library - transitional package | https://github.com/libsdl-org/sdl12-compat
- Debian apt - libsdl1.2-compat-dev - 1.2.68-3: normalized package name match | Debian stable package indexes: libsdl1.2-compat-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SDL 1.2 binary compatibility library - transitional development files | https://github.com/libsdl-org/sdl12-compat
- Debian apt - libsdl1.2-compat-shim - 1.2.68-3: normalized package name match | Debian stable package indexes: libsdl1.2-compat-shim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libsdl1.2debian replacement using SDL 2.0 - transitional package | https://github.com/libsdl-org/sdl12-compat
- Debian apt - libsdl1.2-compat-tests - 1.2.68-3: normalized package name match | Debian stable package indexes: libsdl1.2-compat-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SDL 1.2 binary compatibility library - tests | https://github.com/libsdl-org/sdl12-compat
- Debian apt - libsdl1.2-dev - 1.2.68-3: normalized package name match | Debian stable package indexes: libsdl1.2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SDL 1.2 binary compatibility library - development files | https://github.com/libsdl-org/sdl12-compat
- Debian apt - libsdl1.2debian - 1.2.68-3: normalized package name match | Debian stable package indexes: libsdl1.2debian from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SDL 1.2 binary compatibility library wrapping SDL 2.0 | https://github.com/libsdl-org/sdl12-compat
- Ubuntu apt - libsdl1.2-compat - 1.2.68-2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsdl1.2-compat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SDL 1.2 binary compatibility library - transitional package | https://github.com/libsdl-org/sdl12-compat
- Ubuntu apt - libsdl1.2-compat-dev - 1.2.68-2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsdl1.2-compat-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SDL 1.2 binary compatibility library - transitional development files | https://github.com/libsdl-org/sdl12-compat
- Ubuntu apt - libsdl1.2-compat-shim - 1.2.68-2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsdl1.2-compat-shim from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | libsdl1.2debian replacement using SDL 2.0 - transitional package | https://github.com/libsdl-org/sdl12-compat
- Ubuntu apt - libsdl1.2-compat-tests - 1.2.68-2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsdl1.2-compat-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SDL 1.2 binary compatibility library - tests | https://github.com/libsdl-org/sdl12-compat
- Ubuntu apt - libsdl1.2-dev - 1.2.68-2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsdl1.2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SDL 1.2 binary compatibility library - development files | https://github.com/libsdl-org/sdl12-compat
- Ubuntu apt - libsdl1.2debian - 1.2.68-2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsdl1.2debian from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SDL 1.2 binary compatibility library wrapping SDL 2.0 | https://github.com/libsdl-org/sdl12-compat
- apk - sdl12-compat - 1.2.76-r1: normalized package name match | Alpine Linux edge package indexes: sdl12-compat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SDL-1.2 compat layer that uses SDL-2.0 | https://github.com/libsdl-org/sdl12-compat
- apk - sdl12-compat-dbg - 1.2.76-r1: normalized package name match | Alpine Linux edge package indexes: sdl12-compat-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SDL-1.2 compat layer that uses SDL-2.0 (debug symbols) | https://github.com/libsdl-org/sdl12-compat
- apk - sdl12-compat-dev - 1.2.76-r1: normalized package name match | Alpine Linux edge package indexes: sdl12-compat-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SDL-1.2 compat layer that uses SDL-2.0 (development files) | https://github.com/libsdl-org/sdl12-compat
- apk - sdl12-compat-static - 1.2.76-r1: normalized package name match | Alpine Linux edge package indexes: sdl12-compat-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SDL-1.2 compat layer that uses SDL-2.0 (static library) | https://github.com/libsdl-org/sdl12-compat


## Related Links

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [sdl2](https://www.automicvault.com/zh-hans/pkg/brew/sdl2/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [ffmpeg@2.8](https://www.automicvault.com/zh-hans/pkg/brew/ffmpeg-2-8/) - Popular package that depends on this formula.
- [atari800](https://www.automicvault.com/zh-hans/pkg/brew/atari800/) - Popular package that depends on this formula.
- [smpeg](https://www.automicvault.com/zh-hans/pkg/brew/smpeg/) - Popular package that depends on this formula.
- [lgeneral](https://www.automicvault.com/zh-hans/pkg/brew/lgeneral/) - Popular package that depends on this formula.
- [joyce](https://www.automicvault.com/zh-hans/pkg/brew/joyce/) - Popular package that depends on this formula.
- [pce](https://www.automicvault.com/zh-hans/pkg/brew/pce/) - Popular package that depends on this formula.
- [libvisual](https://www.automicvault.com/zh-hans/pkg/brew/libvisual/) - Popular package that depends on this formula.
- [mp3blaster](https://www.automicvault.com/zh-hans/pkg/brew/mp3blaster/) - Popular package that depends on this formula.
- [sdl2_sound](https://www.automicvault.com/zh-hans/pkg/brew/sdl2-sound/) - Shares av.db curated category or tags: cli, media, multimedia, sdl, sdl2.
- [libquicktime](https://www.automicvault.com/zh-hans/pkg/brew/libquicktime/) - Shares av.db curated category or tags: cli, media, multimedia, multimedia-library.
- [gstreamer](https://www.automicvault.com/zh-hans/pkg/brew/gstreamer/) - Shares av.db curated category or tags: cli, media, multimedia.
- [pipewire](https://www.automicvault.com/zh-hans/pkg/brew/pipewire/) - Shares av.db curated category or tags: cli, media, multimedia.
- [gpac](https://www.automicvault.com/zh-hans/pkg/brew/gpac/) - Shares av.db curated category or tags: cli, media, multimedia.
- [mlt](https://www.automicvault.com/zh-hans/pkg/brew/mlt/) - Shares av.db curated category or tags: cli, media, multimedia.
- [video-compare](https://www.automicvault.com/zh-hans/pkg/brew/video-compare/) - Shares av.db curated category or tags: cli, media, sdl2.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
