luanti-{client,server}: 5.11 -> 5.12
This commit is contained in:
committed by
Peter Hoeg
parent
9b71bc7b08
commit
f858d0aa38
@@ -34,18 +34,18 @@
|
||||
buildClient ? true,
|
||||
buildServer ? true,
|
||||
SDL2,
|
||||
useSDL2 ? false,
|
||||
useSDL2 ? true,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "luanti";
|
||||
version = "5.11.0";
|
||||
version = "5.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "minetest";
|
||||
repo = "minetest";
|
||||
owner = "luanti-org";
|
||||
repo = "luanti";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-0PJK7sS2oFTNWex9rLTgVIqaRhwuUb6H5HIlVOGA08k=";
|
||||
hash = "sha256-voP2/6s2tjsIULHa5+M08oNNLg0YQmtFmPeNO4TnE9E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -120,7 +120,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals (buildClient && useSDL2) [
|
||||
SDL2
|
||||
]
|
||||
++ lib.optionals (buildClient && !stdenv.hostPlatform.isDarwin && !useSDL2) [
|
||||
++ lib.optionals (buildClient && !stdenv.hostPlatform.isDarwin) [
|
||||
xorg.libX11
|
||||
xorg.libXi
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user