handbrake: fix build

This commit is contained in:
Colin 2025-06-21 03:15:43 +00:00
parent deaa642681
commit 374f03332b

View File

@ -15,6 +15,7 @@
testers,
runCommand,
fetchurl,
fetchpatch2,
# Main build tools
pkg-config,
autoconf,
@ -183,6 +184,15 @@ let
pname = "handbrake";
inherit version src;
patches = [
(fetchpatch2 {
# fixes build against ffmpeg 7.1.1+; remove for handbrake > 1.9.2.
# https://github.com/HandBrake/HandBrake/pull/6657
url = "https://github.com/HandBrake/HandBrake/commit/75f9c84c140c8841cfe1324ef59452025899ad8b.patch?full_index=1";
hash = "sha256-glUyCttS2S/G+bSgIAB4nggECe0iEJIsUyr0RkAKEbE=";
})
];
postPatch =
''
install -Dm444 ${versionFile} ${versionFile.name}