Package Details: sdl2-hg 2.0.12-1

Git Clone URL: (read-only, click to copy)
Package Base: sdl2-hg
Description: A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)
Upstream URL:
Licenses: MIT
Conflicts: sdl2, sdl2-minimal-hg
Provides: sdl2
Submitter: skystrife
Maintainer: shoober420
Last Packager: shoober420
Votes: 50
Popularity: 0.000000
First Submitted: 2012-05-26 00:03
Last Updated: 2020-09-20 21:58

Dependencies (28)

Required by (673)

Sources (1)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

shoober420 commented on 2020-08-17 02:17

Ninja added, thank you SolarAquarian.

SolarAquarion commented on 2020-08-16 22:06

you need to add ninja

SolarAquarion commented on 2020-08-14 12:21

=> Updated version: sdl2-hg 2.0.12.r13982+.50d34ec3ac71+-1 ==> Starting build()... CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!

PedroHLC commented on 2019-01-14 21:30

Missing "mercurial" in makedepends (needed for building from clean chroot)

carstene1ns commented on 2018-11-04 11:17

Have fun with it, "my dude". Keep up with all that, you will make a lot of friends.

shoober420 commented on 2018-11-02 16:33

Cool, you're not dead carstene1ns. I can copy and paste my PKGBUILD I've been using and you can use it as a template for this package if you like. Hit me up homie.

shoober420 commented on 2018-11-02 00:16

I personally have been using the PKGBUILD for sdl2 from the main repositories and editing it to just build from the master. I can take this package over and upload my PKGBUILD which I’ve been using for quite some time.

Teteros commented on 2018-10-14 16:41

It looks like the SDL1.2 branch is autoselected during clone now. I've needed to do


in source to get SDL2 branch back.

It would be nice if jack support was added to this package as well, it's only jack to makedepends and --enable-jack in configure to get it.

carstene1ns commented on 2017-04-24 20:23

> it can now be compiled with wayland support and cmake is not required anymore

> The PKGBUILD uses a totally different method to build and package than the sdl2 package in the extras repo - the required SDL2 .so is missing from the package, which makes this unusable.

Well, sorry for the problems. Back in 2014 when this package was created (or even before), the SDL developers wanted to replace the autotools buildsystem with cmake. So I chose cmake for this PKGBUILD to reflect this decision.
However, all this ever gave us were problems that needed fixing by passing additional build parameters. Both build systems are not kept in sync, so currently autotools generate a different .so/API version than cmake.
Switched back to autotools for the time being.

shoober420 commented on 2016-10-28 00:06

I tried making a OpenAL git PKGBUILD file since it's not available in the AUR, and the compile deleted lib64 and made it a directory instead of a symlink to /lib. I'm almost certain this was messing with the .so files for SDL. This was my fault. Sorry I didn't post back sooner.