Package Details: sdl2-hg 2.0.4.r3.d91a2c45825e-1

Git Clone URL: (read-only)
Package Base: sdl2-hg
Description: A library for portable low-level access to video, audio and input (Version 2, development version)
Upstream URL:
Licenses: zlib
Conflicts: sdl2
Provides: sdl2
Submitter: skystrife
Maintainer: carstene1ns
Last Packager: carstene1ns
Votes: 54
Popularity: 0.000016
First Submitted: 2012-05-26 00:03
Last Updated: 2016-01-03 17:49

Required by (291)

Sources (1)

Latest Comments

carstene1ns commented on 2015-02-04 10:48

Since they merged in emscripten support, it seems it is now necessary to enable the shared library and usage of libdl explicitly. It should be fixed with specifying '-DSDL_SHARED=ON -DSDL_DLOPEN=ON'. Without dlopen, we would need to link directly with alsa and pulse, the error @canurabus describes.
However, I think this is a bug and should be fixed upstream.

@josefnpat, @canurabus: Please try again with this PKGBUILD.

josefnpat commented on 2015-02-04 06:26

Perhaps I am missing something, but sdl2 installs /usr/lib/, shouldn't sdl2-hg as well?

When I replace sdl2 with sdl2-hg, the .so does not exist.

Am I doing something wrong, or is the PKGBUILD missing something?

canurabus commented on 2015-01-09 22:21

This package doesn't build correctly. Here's what my build output looks like:

Scanning dependencies of target SDL2main
[100%] Building C object CMakeFiles/SDL2main.dir/src/main/dummy/SDL_dummy_main.c.o
Linking C static library libSDL2main.a

Obviously more than just SDL_dummy_main should be built. I think the flags you pass to cmake are causing strange things to happen.

I can get SDL to start building if I pass -DSDL_SHARED=ON but the build blows up when it tries to link against pulseaudio and alsa.

carstene1ns commented on 2014-04-14 02:53

Package adopted.
- reworked the dependencies to be closer to sdl2 in community repo
- switched build system to cmake again
- added version number to pkgver() function
- disabled wayland support for now (does not build)

Svenstaro commented on 2013-08-08 13:02

Looks good to me, good job.

Svenstaro commented on 2013-08-08 13:02

axper commented on 2013-08-08 13:01

Done. Thanks Svenstaro.

Svenstaro commented on 2013-08-08 12:09

Yes and they are apparently outdated. You can just put the hg repo in there directly. Check man PKGBUILD.

axper commented on 2013-08-08 12:06

What do you mean? I follow the wiki and hg PKGBUILD protoype.

Svenstaro commented on 2013-08-08 09:12

Please change the PKGBUILD to use the pacman hg support.

All comments