Package Details: sdl3-git 3.4.8.r885.gbb3c613-3

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-05-28 16:55 (UTC)

Required by (157)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

patlefort commented on 2026-05-28 16:13 (UTC)

Missing git in makedepends.

rharish commented on 2026-01-20 18:51 (UTC)

Thanks a lot @HurricanePootis!

NoOneExpects commented on 2026-01-20 02:47 (UTC)

Thanks for adding a version to provides, @HurricanePootis!

@rharish That dependency conflict should be resolved now.

rharish commented on 2025-12-17 21:01 (UTC)

The pkgver() function doesn't handle prerelease at the beginning of the tags. Here's the diff:

diff --git a/PKGBUILD b/PKGBUILD
index c72978d..4a27570 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Christer Solskogen <christer.solskogen@gmail.com>

 pkgname=sdl3-git
-pkgver=3.3.2.r251.g6d60cc65cf
+pkgver=3.3.6.r7.g235f417616
 pkgrel=1
 pkgdesc="Simple Directmedia Layer (Version 3)"
 arch=('x86_64' 'aarch64' 'armv7h')
@@ -26,7 +26,7 @@ sha512sums=('SKIP')

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

 build() {

rharish commented on 2025-08-09 11:30 (UTC) (edited on 2025-08-10 19:26 (UTC) by rharish)

Can you add a version to the provides? Otherwise I have issues such as the shadps4-git AUR package insisting on sdl3 non-git from extra. Here are more details: https://gitlab.archlinux.org/pacman/pacman/-/issues/269.

The maintainer at that link suggests doing the following:

diff --git a/PKGBUILD b/PKGBUILD
index 375626f..bcaf059 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ optdepends=('alsa-lib: ALSA audio driver'
             'sndio: MIDI audio driver'
             'libdecor: Wayland client decorations')
 source=("git+https://github.com/libsdl-org/SDL.git")
-provides=("sdl3")
+provides=("sdl3=3.2.4")
 conflicts=("sdl3")
 sha512sums=('SKIP')

EDIT: Perhaps the following could be more automatic?

diff --git a/PKGBUILD b/PKGBUILD
index 375626f..032c37d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ optdepends=('alsa-lib: ALSA audio driver'
             'sndio: MIDI audio driver'
             'libdecor: Wayland client decorations')
 source=("git+https://github.com/libsdl-org/SDL.git")
-provides=("sdl3")
+provides=("sdl3=$(echo $pkgver | cut -d . -f 1-3)")
 conflicts=("sdl3")
 sha512sums=('SKIP')

XTREEMRAGE commented on 2025-03-05 20:01 (UTC)

With the latest stable update from manjaro, I could install this.

db47h commented on 2025-02-26 15:12 (UTC) (edited on 2025-02-26 15:30 (UTC) by db47h)

linux/blkdev.h missing is probably a manjaro issue where this file is not in linux-api-headers 6.10 (it's present in linux-api-headers 6.13 but not available yet on manjaro). Also provided in linux612-headers (but placed in /usr/lib/modules/6.6.75-2-MANJARO/build/include/linux/blkdev.h)

FabioLolix commented on 2025-02-24 17:39 (UTC)

Can't install because no such file or directory on linux/blkdev.h during compilation.

3.2.4.r143.g60b7faa987-1 build fine both with makepkg and devtools for me

XTREEMRAGE commented on 2025-02-24 12:29 (UTC)

@maxlefou I have the same problem, have you fixed it?

maxlefou commented on 2025-02-24 08:34 (UTC)

Can't install because no such file or directory on linux/blkdev.h during compilation.