Package Details: sdl3-git 3.2.4.r132.g52e64f816-1

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: VitalyR
Votes: 3
Popularity: 0.005371
First Submitted: 2023-06-29 19:11 (UTC)
Last Updated: 2025-02-24 01:54 (UTC)

Required by (31)

Sources (1)

Latest Comments

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

yataro commented on 2024-06-27 21:05 (UTC) (edited on 2024-06-27 21:07 (UTC) by yataro)

sdl3 package is wrong and it does not make sense to depend on these versions. If you want to use the latest SDL3, just depend on sdl3-git, after SDL3 gets real releases you can switch to plain sdl3.

yataro commented on 2024-06-27 21:03 (UTC)

sdl3-git version after build is 3.1.1, see my previous comment. Tags have been deleted and can be deleted again. Please, see https://github.com/libsdl-org/SDL/issues/9952#issuecomment-2145677263 for why you should not depend on SDL3 prereleases

abouvier commented on 2024-06-27 20:56 (UTC) (edited on 2024-06-27 20:57 (UTC) by abouvier)

@yataro A sdl3 package (in version 3.1.1) is available on the AUR. The purpose is to force a dependence on sdl3-git (when a package needs the latest changes) by using sdl3>3.1.1

yataro commented on 2024-06-27 20:33 (UTC)

@abouvier There are no releases for SDL3, the versioning can change at any time and has already changed once This kind of change serves no purpose and is prone to errors

abouvier commented on 2024-06-27 15:52 (UTC)

Can you add provides=("sdl3=$pkgver")? It will allow other packages to do e.g. depends=('sdl3>=3.1.2').

yataro commented on 2024-06-14 02:11 (UTC)

Upstream removed all tags after 3.0.0, can you update pkgver to reflect this change? No big deal, generated version will be correct, but for aur helpers, this can be a problem.

$ makepkg --nobuild 
==> Making package: sdl3-git 3.1.2.r242.g86b2f441c-1 (Fri 14 Jun 2024 02:07:51 AM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning SDL git repo...
Cloning into bare repository '/tmp/sdl3-git/SDL'...
remote: Enumerating objects: 198809, done.
remote: Counting objects: 100% (20560/20560), done.
remote: Compressing objects: 100% (4684/4684), done.
remote: Total 198809 (delta 16512), reused 16344 (delta 15854), pack-reused 178249
Receiving objects: 100% (198809/198809), 135.91 MiB | 5.09 MiB/s, done.
Resolving deltas: 100% (150956/150956), done.
==> Validating source files with sha512sums...
    SDL ... Skipped
==> Extracting sources...
  -> Creating working copy of SDL git repo...
Cloning into 'SDL'...
done.
==> Starting pkgver()...
==> Updated version: sdl3-git 3.0.0.r4913.g5bc654aad-1
==> Sources are ready.

DexterHaxxor commented on 2024-05-05 11:12 (UTC)

Package was flagged incorrectly, the package changes the version when it updates on its own.

VitalyR commented on 2023-09-28 09:44 (UTC)

Hi @HurricanePootis! I'm busy with other things so I can't update this package recently. I have added you as a co-maintainer. Please improve this package directly, thanks!

HurricanePootis commented on 2023-09-27 21:10 (UTC)

Hey, please remove prerelease from the pkgver(). pkver is not supposed to have any letters in it, only numbers. I have attached a patch script showing you what you need to change

diff --git a/PKGBUILD b/PKGBUILD
index 6c17f1d..bbd2990 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Christer Solskogen <christer.solskogen@gmail.com>

 pkgname=sdl3-git
-pkgver=prerelease.3.0.0.r1826.g4d23eaf81
+pkgver=3.0.0.r2534.g4db2b968a
 pkgrel=1
 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 3)"
 arch=('x86_64' 'aarch64' 'armv7h')
@@ -24,7 +24,7 @@ sha512sums=('SKIP')

 pkgver() {
   cd SDL
-  git describe --long --tags | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+  git describe --long --tags | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/prerelease.//'
 }

 build() {

VitalyR commented on 2023-06-29 21:13 (UTC)

@FabioLolix Thanks for your advice! It's done!