superTuxKart: 1.4 -> 1.5

stk-assets: 18464 -> 18621
This commit is contained in:
SchweGELBin
2025-10-27 22:38:47 +01:00
parent a79325ca71
commit 777bba6847
+4 -19
View File
@@ -3,7 +3,6 @@
stdenv,
fetchFromGitHub,
fetchsvn,
fetchpatch,
cmake,
pkg-config,
makeWrapper,
@@ -29,8 +28,8 @@
let
assets = fetchsvn {
url = "https://svn.code.sf.net/p/supertuxkart/code/stk-assets";
rev = "18464";
sha256 = "1a84j3psl4cxzkn5ynakpjill7i2f9ki2p729bpmbrvg8fki95aa";
rev = "18621";
sha256 = "sha256-iqQSezGu0tecA53qhrtYA77SLj28WUUCcL4ZCJbK5C8=";
name = "stk-assets";
};
@@ -68,29 +67,15 @@ in
stdenv.mkDerivation rec {
pname = "supertuxkart";
version = "1.4";
version = "1.5";
src = fetchFromGitHub {
owner = "supertuxkart";
repo = "stk-code";
tag = version;
hash = "sha256-gqdaVvgNfCN40ZO/9y8+vTeIJPSq6udKxYZ/MAi4ZMM=";
hash = "sha256-/fp5iqTHVrVcxRqbTy/3r+dp19oUj9MI2JauvtPWTWA=";
};
patches = [
# upstreamed patches required to build against cmake 4.0; remove with next release update.
(fetchpatch {
name = "Require-Cmake-3.6-or-higher";
url = "https://github.com/supertuxkart/stk-code/commit/7d4e8433c124c08c62f5335e2a884aeea71cf184.patch?full_index=1";
hash = "sha256-5q/Gf1I/maFPQ83NDIa7Sn6gtLfErwxP16fup4SZ+gc=";
})
(fetchpatch {
name = "Fixed-cmake-4.0-warnings";
url = "https://github.com/supertuxkart/stk-code/commit/184c80138faf5232c33ff99ffe7706e821be70c2.patch?full_index=1";
hash = "sha256-5zoDmKBRBC2rAUjgpmyc0ZCObGofjuImqk07Tr5K7Og=";
})
];
postPatch = ''
# Deletes all bundled libs in stk-code/lib except those
# That couldn't be replaced with system packages