Package Details: sdl2-git 2.32.0.r1.g5330041ea-1

Git Clone URL: https://aur.archlinux.org/sdl2-git.git (read-only, click to copy)
Package Base: sdl2-git
Description: A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)
Upstream URL: https://www.libsdl.org
Licenses: zlib
Conflicts: sdl2, sdl2-minimal-hg
Provides: sdl2
Submitter: Solskogen
Maintainer: Solskogen
Last Packager: Solskogen
Votes: 3
Popularity: 0.046109
First Submitted: 2021-02-12 08:08 (UTC)
Last Updated: 2025-02-10 09:11 (UTC)

Required by (1362)

Sources (1)

Latest Comments

1 2 Next › Last »

Solskogen commented on 2025-02-10 09:11 (UTC)

Added ninja as a build dependency now!

Bink commented on 2025-02-10 00:36 (UTC)

Build fails without ninja, and builds successfully with ninja. Perhaps this needs to be added again as a build dependency.

JL2210 commented on 2024-09-07 09:46 (UTC)

Doesn't SDL2 use the 'Zlib' license? https://github.com/libsdl-org/SDL/blob/SDL2/LICENSE.txt

FabioLolix commented on 2024-08-13 20:48 (UTC)

@xAsh in which step do you get that? Source donwload?


The sdl2-git package already put it's license in /usr/share/licenses/SDL2/LICENSE.txt.

Arch packaging require it in "${pkgdir}/usr/share/licenses/${pkgname}"

sdl2-git E: Uncommon license identifiers such as 'MIT' require license files below /usr/share/licenses/sdl2-git/ or switching to common license identifiers. Found 0/1 required license files.

xAsh commented on 2024-08-13 12:25 (UTC)

anyone else getting the "fatal: fetch-pack: invalid index-pack output" error?

Solskogen commented on 2023-06-30 06:02 (UTC)

The sdl2-git package already put it's license in /usr/share/licenses/SDL2/LICENSE.txt. Fixed the url now.

FabioLolix commented on 2023-06-29 20:56 (UTC)

  • 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=()

FabioLolix commented on 2023-06-29 20:46 (UTC)

Hello, 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)

Solskogen commented on 2022-11-22 12:36 (UTC)

Should be fixed now. But perhaps this package should be deleted as the next SDL2-git is really SDL3.

zfkerr commented on 2022-11-22 12:25 (UTC)

sed: can't read /tmp/makepkg/sdl2-git/pkg/sdl2-git/usr/lib/cmake/SDL2/SDL2Targets-noconfig.cmake: No such file or directory