SDL2_image: 2.8.2 -> 2.8.3

While at it tweaked `SDL2_image_2_0` to survive `autoreconf`.

Changes: https://github.com/libsdl-org/SDL_image/releases/tag/release-2.8.3
This commit is contained in:
Sergei Trofimovich
2024-12-18 22:04:21 +00:00
parent a98c720fb6
commit 3763f57806
2 changed files with 11 additions and 2 deletions
+4 -2
View File
@@ -1,6 +1,7 @@
{
lib,
SDL2,
autoreconfHook,
darwin,
fetchurl,
giflib,
@@ -22,15 +23,16 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "SDL2_image";
version = "2.8.2";
version = "2.8.3";
src = fetchurl {
url = "https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${finalAttrs.version}.tar.gz";
hash = "sha256-j0hrv7z4Rk3VjJ5dkzlKsCVc5otRxalmqRgkSCCnbdw=";
hash = "sha256-SwAPLCOM44CAfuDLaKDvAFhxaR7Ohkbb9PQlpYKxuyI=";
};
nativeBuildInputs = [
SDL2
autoreconfHook
pkg-config
];
@@ -7,4 +7,11 @@ SDL2_image.overrideAttrs (oldAttrs: {
inherit (oldAttrs.src) url;
hash = "sha256-vdX24CZoL31+G+C2BRsgnaL0AqLdi9HEvZwlrSYxCNA";
};
postPatch =
(oldAttrs.postPatch or "")
+ ''
# allow newer autoreconf to run successfully
touch NEWS README AUTHORS ChangeLog
'';
})