Package Details: sdl3-git 3.4.0.r257.gf1a7a64eb4-2

Git Clone URL: https://aur.archlinux.org/sdl3-git.git (read-only, click to copy)
Package Base: sdl3-git
Description: Simple Directmedia Layer (Version 3)
Upstream URL: https://www.libsdl.org
Licenses: zlib
Conflicts: sdl3
Provides: sdl3
Submitter: VitalyR
Maintainer: VitalyR (HurricanePootis)
Last Packager: HurricanePootis
Votes: 3
Popularity: 0.000001
First Submitted: 2023-06-29 19:11 (UTC)
Last Updated: 2026-02-09 19:40 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

yataro commented on 2024-06-28 01:33 (UTC)

Sounds more reasonable to me now, thanks again.

Sorry everyone for the 2 pages of talk down here :D

abouvier commented on 2024-06-28 01:29 (UTC)

With pkgver in provides, you can use depends=('sdl3>3.1.1') (without =) for any newer version or even depends=('sdl3>=3.1.1.r819') for a version newer than a specific commit.

yataro commented on 2024-06-28 01:24 (UTC)

However, I doubt that it's practical to actually use this as "get me version never than prerelease" because it's not guaranteed that there will be a tag higher than prerelease tag (at the moment there is none). But now I see that it's not useless and can actually be used. Even though it's not recommended by SDL itself.

yataro commented on 2024-06-28 01:16 (UTC)

After testing it with a dummy package, I realized I was wrong. I want to apologize, I always thought it worked this way. I hope I did not upset you in any way, and I can only thank you for making me understand this thing during our conversation.

yataro commented on 2024-06-28 01:06 (UTC)

You're actually confused, because provides=(something) means "get version from package that provides" in context of depends=(something=X.X.X).

abouvier commented on 2024-06-28 01:03 (UTC) (edited on 2024-06-28 01:07 (UTC) by abouvier)

I think you are the confused one. pkgver is NOT automatically added to each provide. You need to add it explicitly. Otherwise I wouldn't have asked to add it!

Try depends=('sdl3>=3') if you want.

yataro commented on 2024-06-28 00:57 (UTC) (edited on 2024-06-28 00:58 (UTC) by yataro)

If maintainer adds provides=(sdl3=$pkgver) this will result in provides=(sdl3=3.1.1...) as there is no 3.1.2 anymore and pkgver will be updated to the correct one. This is the same as just provides=(sdl3). I don't understand you.

yataro commented on 2024-06-28 00:54 (UTC)

Of course it won't be selected because there is no 3.1.2 tag or prerelease. The tag was removed a while ago, but the version was not updated... Why do you want to provide a non-existent version?

abouvier commented on 2024-06-28 00:40 (UTC) (edited on 2024-06-28 00:50 (UTC) by abouvier)

The version 3.1.2 will disappear when this package is updated. And "implicit provides" only apply for the base package sdl3. We are on the alternative sdl3-git here. Try a PKGBUILD with depends=('sdl3>=3.1.2') and you will see that sdl3-git is not picked.

Another related link :)

yataro commented on 2024-06-28 00:38 (UTC) (edited on 2024-06-28 00:41 (UTC) by yataro)

I guess you are confused because there is no explicit version in provides, but this is not needed as this package provides sdl3 and version WILL come from $pkgver. Any package that does blasphemy by depends=('sdl3>=3.1.2') (let's say hypothetically there is git tag with version 3.1.2 but no prerelease with version 3.1.1) WILL work fine because this package (hypothetically) already provides sdl3=3.1.2.