Package Details: mingw-w64-sdl2 2.0.14-1

Git Clone URL: (read-only, click to copy)
Package Base: mingw-w64-sdl2
Description: A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2) (mingw-w64)
Upstream URL:
Licenses: MIT
Submitter: Schala
Maintainer: edub4rt
Last Packager: edub4rt
Votes: 23
Popularity: 0.33
First Submitted: 2013-06-27 00:58
Last Updated: 2020-12-26 11:37

Latest Comments

1 2 3 4 Next › Last »

piernov commented on 2021-04-29 12:14

I've been having issues linking executables with SDL2-static version 2.0.14. mingw-w64 ld crashes with a segmentation fault. Reverting back to version 2.0.12 fixes the problem. It is most likely an upstream problem but I thought I'd mention it here anyway for people having the same issue.

edub4rt commented on 2020-11-29 11:47

I've updated the package in attempt to fix CMake issues using the patch suggested by @jpcima.

jpcima commented on 2020-11-26 00:23

Cmake does not find SDL2 correctly, it needs IMPORTED_IMPLIB to be set. I have success using the following line.

sed -i 's:IMPORTED_LOCATION "@libdir@/libSDL2\.so":IMPORTED_LOCATION "@bindir@/SDL2.dll" IMPORTED_IMPLIB "@libdir@/libSDL2.dll.a":'

ssorgatem commented on 2020-04-29 09:11

Apparently this is installing a wrong CMake config file, breakinf the faudio-wrapper packages:

spider-mario commented on 2019-08-08 19:10

FYI, you probably don’t need to bump pkgrel when you just add a missing build dependency. If someone already has the current pkgrel installed, it means that the package already built correctly for them, so they don’t need to build it again.

PedroHLC commented on 2019-08-07 12:23

Hi, as hhromic said already, missing -configure, which leads to:

PKGBUILD: line 22: i686-w64-mingw32-configure: command not found

hhromic commented on 2019-08-07 10:06

Hi again, actually I think you need to re-add mingw-w64-configure as make dependency as it was done before the switch to CMake in 6c5cd671

Thanks for the patience!

hhromic commented on 2019-08-07 07:41

Thanks for that, appreciated! I noticed that you left the build dependency on CMake, it doesn't affect me but thouhgt you may want to correct that as well.

edub4rt commented on 2019-08-06 23:12

I've reverted to use autotools again to provide pkgconfig files.

hhromic commented on 2019-08-04 18:02

Hi @edub4rt. First, thanks for your work with this package!

May I ask why building with CMake is more reliable than using autotools? For example the MSYS2 pacman packages use autotools [1] without any issue, and even this package here used autotools before without any aparent issues either.

The omission of the pkg-config files is a big usability issue for the end-users of this package. For example the widely used SDL_image package [2] in this same AUR is broken currently because of the lack of pkg-config files.

Perhaps it is best/wiser to switch back to autotools builds and move back to CMake builds when everything is correctly working from upstream (TODO sorted out)?