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.000292
First Submitted: 2023-06-29 19:11 (UTC)
Last Updated: 2025-02-24 01:54 (UTC)

Dependencies (31)

Required by (73)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

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.

JL2210 commented on 2024-10-04 20:57 (UTC)

I don't believe fcitx5 is actually required to build the package. SDL can still use it at runtime, but it interfaces entirely through DBus.

(plus it's annoying to have this reinstalled every time a new commit is pushed and see the notification when I start Plasma)

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.