Package Details: lib32-sdl12-compat-git 1.2.68.r16.g6f0f603-1

Git Clone URL: https://aur.archlinux.org/lib32-sdl12-compat-git.git (read-only, click to copy)
Package Base: lib32-sdl12-compat-git
Description: An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
Upstream URL: https://github.com/libsdl-org/sdl12-compat
Keywords: lib32-sdl lib32-sdl12 lib32-sdl12-compat
Licenses: Zlib AND MIT-0
Conflicts: lib32-sdl, lib32-sdl12-compat
Provides: lib32-sdl, lib32-sdl12-compat
Submitter: HurricanePootis
Maintainer: HurricanePootis
Last Packager: HurricanePootis
Votes: 4
Popularity: 0.000000
First Submitted: 2021-11-16 01:58 (UTC)
Last Updated: 2024-11-07 23:52 (UTC)

Required by (23)

Sources (1)

Pinned Comments

archi42 commented on 2020-03-01 19:55 (UTC)

Careful: I tested 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

1 2 Next › Last »

PedroHLC commented on 2021-05-31 18:32 (UTC)

@pix3l I've pushed a hotfix to unblock other users.

The best would be for this project to have a -DLIB_SUFFIX like SDL2.

If you have more suggestions, feel free to open a PR.

PedroHLC commented on 2021-05-30 12:46 (UTC)

@pix3l open a PR here: https://github.com/chaotic-aur/pkgbuild-lib32-sdl2_compat12-git I can then push your commit back to here.

pix3l commented on 2021-05-30 07:34 (UTC) (edited on 2021-05-30 07:36 (UTC) by pix3l)

It's still broken, because it contains headers, etc files, conflicting with base packages.

I've got much more better PKGBUILDs around that works nicely and can be installed side-by-side to main package. Not sure where to upload them, because aur removes newlines and other characters in comments...

PedroHLC commented on 2021-05-30 00:44 (UTC)

@pix3l I've fixed this one too, thanks.

pix3l commented on 2021-05-30 00:32 (UTC)

diff --git a/PKGBUILD b/PKGBUILD index 1d27c1e..7153c0b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ _pkgname=lib32-sdl2_compat12 pkgname=lib32-sdl2_compat12-git provides=('lib32-sdl=1.2.15') conflicts=('lib32-sdl') -pkgver=r271.c71d037 +pkgver=r285.646ecd7 pkgrel=1 pkgdesc="Provides a binary-compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes." url=https://github.com/libsdl-org/sdl12-compat.git @@ -29,7 +29,7 @@ build() { export LDFLAGS+=" -m32" export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' cd sdl12-compat - cmake . + cmake -DCMAKE_INSTALL_PREFIX=/usr . make }

PedroHLC commented on 2021-05-26 01:21 (UTC)

@archi42 Yeah, it's usually the case for apps where using different version per architecture isn't recommended, but it's not the case here. Let's keep them separated...

archi42 commented on 2021-05-25 23:27 (UTC)

@PedroHLC Also added you here. I am not entirely sure if a shared package build is the way to go. What's the official stance on that with the Arch maintainers?

The problem I see is: With the suggested change building the non-lib32 variant seems to also pull in everything that's needed to build the lib32 variant (unless the PKBUILD is edited). At least I saw that behavior in the past [for other libs] and I didn't like it ;-)

PedroHLC commented on 2021-03-13 13:03 (UTC)

I've added a few comments to the non-lib32.

But as those come from the same source, in the same commit, the correct approach would be to use one single PKGBUILD with "pkgbase" producing two pkgnames. It's easier than it looks. After that, you should request a merge in the non-lib32.

archi42 commented on 2021-02-14 22:49 (UTC) (edited on 2021-02-14 22:50 (UTC) by archi42)

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

@dreieck (in non-lib32 variant): 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 non-lib32 variant as well.

shoober420 commented on 2021-02-14 16:12 (UTC) (edited on 2021-02-14 16:14 (UTC) by shoober420)

@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