hedgewars: 1.0.2-unstable-2024-09-24 -> 1.0.3
This commit is contained in:
parent
d1d2cb0b00
commit
64833f9d7c
@ -8,8 +8,7 @@
|
|||||||
ffmpeg,
|
ffmpeg,
|
||||||
libglut,
|
libglut,
|
||||||
lib,
|
lib,
|
||||||
fetchhg,
|
fetchurl,
|
||||||
fetchpatch,
|
|
||||||
cmake,
|
cmake,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
lua5_1,
|
lua5_1,
|
||||||
@ -43,25 +42,15 @@ let
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "hedgewars";
|
pname = "hedgewars";
|
||||||
version = "1.0.2-unstable-2024-03-24";
|
version = "1.0.3";
|
||||||
|
|
||||||
src = fetchhg {
|
src = fetchurl {
|
||||||
url = "https://hg.hedgewars.org/hedgewars/";
|
url = "https://hedgewars.org/download/releases/hedgewars-src-${finalAttrs.version}.tar.bz2";
|
||||||
rev = "fcc98c953b5e";
|
hash = "sha256-xcGHfAuuE1THXSuVJ7b5qfeemZMuXQix9vfeFwgGYTA=";
|
||||||
hash = "sha256-bUmyYXmhOYjvbd0elyNnaUx3X1QJl3w2/hpxFK9KQCE=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# https://github.com/hedgewars/hw/pull/74
|
|
||||||
name = "Add support for ffmpeg 6.0";
|
|
||||||
url = "https://github.com/hedgewars/hw/pull/74/commits/71691fad8654031328f4af077fc32aaf29cdb7d0.patch";
|
|
||||||
hash = "sha256-nPfSQCc4eGCa4lCGl3gDx8fJp47N0lgVeDU5A5qb1yo=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
@ -156,4 +145,4 @@ stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user