Package Details: mingw-w64-sdl2 2.30.3-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-sdl2.git (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: http://libsdl.org
Licenses: MIT
Submitter: Schala
Maintainer: edub4rt (Vaporeon)
Last Packager: Vaporeon
Votes: 25
Popularity: 0.000788
First Submitted: 2013-06-27 00:58 (UTC)
Last Updated: 2024-05-08 21:44 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 Next › Last »

Vaporeon commented on 2023-06-25 03:54 (UTC) (edited on 2023-06-25 03:58 (UTC) by Vaporeon)

Hello. Can I please be added as maintainer for this and mingw-w64-openal?

german77 commented on 2023-05-30 01:38 (UTC)

Can this package be updated to 2.26.5

edub4rt commented on 2022-07-23 13:26 (UTC)

Updated to 2.0.22

Vaporeon commented on 2022-07-23 13:08 (UTC)

Can I please take these SDL2 packages on as maintainer?

Vaporeon commented on 2022-06-27 23:35 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 7c11df9..af2a536 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
 pkgname=mingw-w64-sdl2
-pkgver=2.0.20
+pkgver=2.0.22
 pkgrel=1
 pkgdesc='A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2) (mingw-w64)'
 license=('MIT')
@@ -10,7 +10,7 @@ _archs=('i686-w64-mingw32' 'x86_64-w64-mingw32')
 depends=('mingw-w64-crt')
 makedepends=('mingw-w64-configure')
 source=("${url}/release/SDL2-${pkgver}.tar.gz")
-sha256sums=('c56aba1d7b5b0e7e999e4a7698c70b63a3394ff9704b5f6e1c57e0c16f04dd06')
+sha256sums=('fe7cbf3127882e3fc7259a75a0cb585620272c51745d3852ab9dd87960697f2e')
 options=(staticlibs '!strip' '!buildflags')

 prepare() {

piernov commented on 2021-04-29 12:14 (UTC)

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 (UTC)

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 (UTC) (edited on 2020-11-26 00:23 (UTC) by jpcima)

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":' sdl2-config.cmake.in

ssorgatem commented on 2020-04-29 09:11 (UTC)

Apparently this is installing a wrong CMake config file, breakinf the faudio-wrapper packages: https://aur.archlinux.org/packages/faudio-wrappers-win64-git/

spider-mario commented on 2019-08-08 19:10 (UTC)

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.