libresprite: 1.1 -> 1.2 (#405298)

This commit is contained in:
Peder Bergebakken Sundt 2025-06-04 05:14:34 +02:00 committed by GitHub
commit 06b7179a64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,7 @@
libX11,
pixman,
tinyxml-2,
xorg,
zlib,
SDL2,
SDL2_image,
@ -28,14 +29,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libresprite";
version = "1.1";
version = "1.2";
src = fetchFromGitHub {
owner = "LibreSprite";
repo = "LibreSprite";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-piA/hLQqdfyVH4GPu5ElXZtowQL9AGaK7GhZOME4L0Q=";
hash = "sha256-jXjrA859hR46Cp5qi6Z1C+hLWCUR7yGlASOGlTveeW8=";
};
nativeBuildInputs = [
@ -45,23 +46,27 @@ stdenv.mkDerivation (finalAttrs: {
gtest
];
buildInputs = [
curl
freetype
giflib
libjpeg
libpng
libwebp
libarchive
libX11
pixman
tinyxml-2
zlib
SDL2
SDL2_image
lua
# no v8 due to missing libplatform and libbase
];
buildInputs =
[
curl
freetype
giflib
libjpeg
libpng
libwebp
libarchive
libX11
pixman
tinyxml-2
zlib
SDL2
SDL2_image
lua
# no v8 due to missing libplatform and libbase
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
xorg.libXi
];
cmakeFlags = [
"-DWITH_DESKTOP_INTEGRATION=ON"