Can you please remove the 1:
from the provides
array?
That is just an $epoch
identifier, not part of the version, and breaks versioned dependencies.
Regards and thanks for the package!
Git Clone URL: | https://aur.archlinux.org/sdl12-compat-git.git (read-only, click to copy) |
---|---|
Package Base: | 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: | sdl sdl12 sdl12-compat |
Licenses: | zlib |
Conflicts: | sdl, sdl12-compat |
Provides: | sdl, sdl12-compat |
Submitter: | HurricanePootis |
Maintainer: | HurricanePootis |
Last Packager: | HurricanePootis |
Votes: | 5 |
Popularity: | 0.000000 |
First Submitted: | 2021-11-16 01:57 (UTC) |
Last Updated: | 2024-12-15 00:41 (UTC) |
Can you please remove the 1:
from the provides
array?
That is just an $epoch
identifier, not part of the version, and breaks versioned dependencies.
Regards and thanks for the package!
@Mittin you don't flag -git packages for a new release. Please don't do this again in the future
@autumnontape Thanks for testing this. I've added armv7h as a supported arch.
I've built this package on an armv7h Arch Linux ARM device and am using it without problems (barring ones that are also present on my x86_64 laptop, of course, this still being alpha-quality software). Would you consider adding armv7h to the archs?
Hi @pix3l, sorry, my mistake, I had tested with and without DCMAKE_INSTALL_PREFIX
before, and both were installing in /usr
. But looks like that changed upstream with commit 848ad42
. I'll fix ASAP.
diff --git a/PKGBUILD b/PKGBUILD index e994847..5246820 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -25,7 +25,7 @@ pkgver() {
build() { cd sdl12-compat - cmake . + cmake -DCMAKE_INSTALL_PREFIX=/usr . make }
otherwise it will get installed into /usr/local
resolving dependencies... looking for conflicting packages... :: sdl2_compat12-git and sdl are in conflict. Remove sdl? [y/N] y error: failed to prepare transaction (could not satisfy dependencies) :: removing sdl breaks dependency 'sdl=1.2.15' required by perl-alien-sd
Hi @PedroHLC, sorry for not checking back with you. I'll add you as a Co-Maintainer. Feel free to apply your suggested updates. See also lib32-sdl2_compat12-git :)
Hi @archi42.
As I said previously, you can drop the prepare
, and COPYING
is now named LICENSE.txt
. Now, there is a new dependency: "glu".
I would like again to suggest changing line 42 to:
make DESTDIR="$pkgdir" install
That should make the PKGBUILD update-proof.
If you don't have the time, please add me as a collaborator, and I will apply those changes...
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
?
Pinned Comments
archi42 commented on 2020-03-01 19:55 (UTC)
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!