Hi, as hhromic said already, missing -configure, which leads to:
PKGBUILD: line 22: i686-w64-mingw32-configure: command not found
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: | 24 |
Popularity: | 0.000030 |
First Submitted: | 2013-06-27 00:58 (UTC) |
Last Updated: | 2024-11-03 19:01 (UTC) |
Hi, as hhromic said already, missing -configure, which leads to:
PKGBUILD: line 22: i686-w64-mingw32-configure: command not found
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!
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.
I've reverted to use autotools again to provide pkgconfig files.
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)?
[1] https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-SDL2/PKGBUILD
[2] https://aur.archlinux.org/packages/mingw-w64-sdl2_image/
Didn't notice the reply. I am sorry to hear that. I absolutely need the pkgconfig files... I guess I'll have to patch it myself to build with autotools.
@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.
Since the move to cmake, the pkgconfig/sdl2.pc is no longer installed. Please fix.
Hi there, I think you forgot to add cmake as build dependency.
/startdir/PKGBUILD: line 22: i686-w64-mingw32-cmake: command not found
hi,
could you switch to cmake instead of autotools like the regular package to provide the configuration modules ?
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/sdl2
xan.
Pinned Comments