Package Details: sdl2_compat12-git r120+.dc55edfe5d2f+-1

Git Clone URL: https://aur.archlinux.org/sdl2_compat12-git.git (read-only, click to copy)
Package Base: sdl2_compat12-git
Description: Provides a binary-compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes.
Upstream URL: https://github.com/libsdl-org/sdl12-compat.git
Licenses: zlib
Conflicts: sdl
Provides: sdl=1.12.15
Submitter: archi42
Maintainer: archi42
Last Packager: archi42
Votes: 2
Popularity: 0.46
First Submitted: 2020-03-01 19:10
Last Updated: 2021-02-14 22:42

Required by (468)

Sources (3)

Pinned Comments

archi42 commented on 2020-03-01 19:55

Careful: I tested the lib32 variant of this with UT99, and while a lot of the game works, some parts aren't exactly great (e.g. crash on Alt+Tab and mouse look is bounded by the mouse reaching the screen border; didn't try a lot of gaming due to that). You're probably better off with the full sdl 1.2!

Latest Comments

PedroHLC commented on 2021-03-13 12:51

Seems like the patches aren't required anymore. And "COPYING" was renamed to "LICENSE.txt".

Also, any special reason to not use make DESTDIR=... install?

archi42 commented on 2021-02-14 22:49

@shoober420: Thanks for the hint! I've updated the PKGBUILD accordingly.

@dreieck: I've updated the PKGBUILD. Sorry for the late action, it seems the notification got lost somewhere or I just forgot about it :(

I applied both changes to this package and the lib32 variant as well.

shoober420 commented on 2021-02-14 16:18

@archi42 Could you please update the source link to “git+https://github.com/libsdl-org/sdl12-compat

Thank you for this package. This is a really cool alternative when a program you like hasn’t updated to sdl2 yet. Freesynd and uhexen2 come to mind.

I highly recommend the UT469 patch to play UT.

https://github.com/OldUnreal/UnrealTournamentPatches

dreieck commented on 2020-05-28 21:24

Can you change

provides=('sdl')

to something like

provides=('sdl=<version>')?

sdl_mixer and sdl_image for example do depend on sdl>=1.2.12 and sdl>=1.2.13, respectively.

archi42 commented on 2020-04-17 13:17

Thanks, somehow forgot it for the non-lib32 package.

raneon commented on 2020-04-17 09:22

Seems like a dependency is missing. From lib32-sdl2_compat12-git: mercurial (mercurial-hg, mercurial-stable-hg, python-mercurial, mercurial-python3) (make)

archi42 commented on 2020-03-01 19:55

Careful: I tested the lib32 variant of this with UT99, and while a lot of the game works, some parts aren't exactly great (e.g. crash on Alt+Tab and mouse look is bounded by the mouse reaching the screen border; didn't try a lot of gaming due to that). You're probably better off with the full sdl 1.2!