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
?
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: | |
Conflicts: | |
Provides: | |
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 |
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
?
@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.
@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.
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.
Thanks, somehow forgot it for the non-lib32 package.
Seems like a dependency is missing. From lib32-sdl2_compat12-git: mercurial (mercurial-hg, mercurial-stable-hg, python-mercurial, mercurial-python3) (make)
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!
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!