Package Details: sdl3-git 3.1.6.r28.g908bd84c5-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: HurricanePootis
Votes: 3
Popularity: 0.077274
First Submitted: 2023-06-29 19:11 (UTC)
Last Updated: 2024-11-07 23:55 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

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!

FabioLolix commented on 2023-06-29 20:58 (UTC) (edited on 2023-06-29 20:58 (UTC) by FabioLolix)

Hello,

  • A license like MIT which isn't part of the licenses package need to be installed in "${pkgdir}/usr/share/licenses/${pkgname}"
  • you can remove the unusued validpgpkeys=()
  • SDL3 can be installed alongside SDL2, please use only provides=(sdl3) conflicts=(sdl3)

would you like to add .git to source (as source=("git+https://github.com/libsdl-org/SDL.git#branch=SDL2"))? I'm using or maintaining several pkgbuilds where SDL is a submodule, it give a problem with shared sources:

==> Retrieving sources...
==> ERROR: /mnt/1TBWDBLACK/source/SDL is not a clone of https://github.com/libsdl-org/SDL
    Aborting...

Would be nice if everyone harmonized to add it (downloading from GitLab give a warning without)