Package Details: mingw-w64-sdl2_image 2.6.3-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-sdl2_image.git (read-only, click to copy)
Package Base: mingw-w64-sdl2_image
Description: SDL2 image libraries (mingw-w64)
Upstream URL: https://github.com/libsdl-org/SDL_image
Licenses: MIT
Submitter: Schala
Maintainer: Jacuzzi
Last Packager: Jacuzzi
Votes: 4
Popularity: 0.000000
First Submitted: 2013-06-27 01:07 (UTC)
Last Updated: 2023-04-03 14:03 (UTC)

Latest Comments

hhromic commented on 2019-08-08 18:12 (UTC)

Thanks! Appreciated.

Jacuzzi commented on 2019-08-08 17:20 (UTC)

Done!

hhromic commented on 2019-08-08 14:17 (UTC)

Hello once again.

An update to the previous issue: the current resolution was (2) mingw-w64-sdl2 is (again) shipping pkgconfig files. So this package is building again.

However, can I ask this package to be updated to current version 2.0.5 upstream? I tested it locally and seems to be working fine.

Thanks!

hhromic commented on 2019-08-04 14:00 (UTC)

Hello again. I went to investigate the issue further and it seems it will not be easy to fix after all as the upstream SDL_image tarball has no support for CMake.

So I guess for the moment this package will be broken until (1) upstream SDL_image supports CMake or (2) mingw-w64-sdl2 is able to ship pkgconfig files to build using autotools as done currently.

Sorry for the annoyance!

hhromic commented on 2019-08-04 13:27 (UTC)

Hello! This package is not building anymore since mingw-w64-sdl2 was upgraded to version 2.0.10-1. See the error below during the configure phase:

(...)
checking for SDL... no
checking for sdl2-config... no
checking for SDL - version >= 2.0.8... no
*** The sdl2-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL2_CONFIG environment variable to the
*** full path to sdl2-config.
configure: error: *** SDL version 2.0.8 not found!
==> ERROR: A failure occurred in build().
    Aborting...
Error making: mingw-w64-sdl2_image

The problem seems to be that now the mingw-w64-sdl2 package is not shipping the SDL pkgconfig files anymore as it is being built with CMake.

See this comment from https://aur.archlinux.org/packages/mingw-w64-sdl2/

edub4rt commented on 2019-07-10 14:16 @chungy Unfortunately SDL2 does not provide pkgconfig files when building for Windows with CMake (it's in their TODO), only when building with autotools generates it. I think building with CMake is more reliable than autotools, so I'm keeping as it is.

Perhaps this package needs to be updated to use CMake instead of autoconf for building as suggested by the maintainer of the main mingw-w64-sdl2 package?

Finally, there is a newer version 2.0.5 of SDL2_image available upstream, a version bump for this package here would be appreciated too.

Let me know how can I help if necessary. Thanks!

ant32 commented on 2013-08-17 23:33 (UTC)

http://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.0.tar.gz