mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
libresprite: 1.1 -> 1.2
This commit is contained in:
parent
7c14e075ea
commit
b940662241
1 changed files with 24 additions and 19 deletions
|
@ -18,6 +18,7 @@
|
||||||
libX11,
|
libX11,
|
||||||
pixman,
|
pixman,
|
||||||
tinyxml-2,
|
tinyxml-2,
|
||||||
|
xorg,
|
||||||
zlib,
|
zlib,
|
||||||
SDL2,
|
SDL2,
|
||||||
SDL2_image,
|
SDL2_image,
|
||||||
|
@ -28,14 +29,14 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "libresprite";
|
pname = "libresprite";
|
||||||
version = "1.1";
|
version = "1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "LibreSprite";
|
owner = "LibreSprite";
|
||||||
repo = "LibreSprite";
|
repo = "LibreSprite";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-piA/hLQqdfyVH4GPu5ElXZtowQL9AGaK7GhZOME4L0Q=";
|
hash = "sha256-jXjrA859hR46Cp5qi6Z1C+hLWCUR7yGlASOGlTveeW8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -45,23 +46,27 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
gtest
|
gtest
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
curl
|
[
|
||||||
freetype
|
curl
|
||||||
giflib
|
freetype
|
||||||
libjpeg
|
giflib
|
||||||
libpng
|
libjpeg
|
||||||
libwebp
|
libpng
|
||||||
libarchive
|
libwebp
|
||||||
libX11
|
libarchive
|
||||||
pixman
|
libX11
|
||||||
tinyxml-2
|
pixman
|
||||||
zlib
|
tinyxml-2
|
||||||
SDL2
|
zlib
|
||||||
SDL2_image
|
SDL2
|
||||||
lua
|
SDL2_image
|
||||||
# no v8 due to missing libplatform and libbase
|
lua
|
||||||
];
|
# no v8 due to missing libplatform and libbase
|
||||||
|
]
|
||||||
|
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
|
||||||
|
xorg.libXi
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DWITH_DESKTOP_INTEGRATION=ON"
|
"-DWITH_DESKTOP_INTEGRATION=ON"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue