handbrake: fix build
There were 2 issues in the current handbrake derivation: - Since version 1.6.0 upstream is using ffmpeg 5.1.2 instead of 5.1.1 - One of the ffmpeg patches from upstream are not applying anymore at least since 5.1.1 This commit fixes those 2 issues and allow handbrake to build again.
This commit is contained in:
parent
8d0598da60
commit
abf8128af3
1 changed files with 4 additions and 3 deletions
|
@ -97,12 +97,12 @@ let
|
||||||
# Handbrake maintains a set of ffmpeg patches. In particular, these
|
# Handbrake maintains a set of ffmpeg patches. In particular, these
|
||||||
# patches are required for subtitle timing to work correctly. See:
|
# patches are required for subtitle timing to work correctly. See:
|
||||||
# https://github.com/HandBrake/HandBrake/issues/4029
|
# https://github.com/HandBrake/HandBrake/issues/4029
|
||||||
ffmpeg-version = "5.1.1";
|
ffmpeg-version = "5.1.2";
|
||||||
ffmpeg-hb = ffmpeg_5-full.overrideAttrs (old: {
|
ffmpeg-hb = ffmpeg_5-full.overrideAttrs (old: {
|
||||||
version = ffmpeg-version;
|
version = ffmpeg-version;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.ffmpeg.org/releases/ffmpeg-${ffmpeg-version}.tar.bz2";
|
url = "https://www.ffmpeg.org/releases/ffmpeg-${ffmpeg-version}.tar.bz2";
|
||||||
hash = "sha256-zQ4W+QNCEmbVzN3t97g7nldUrvS596fwbOnkyALwVFs=";
|
hash = "sha256-OaC8yNmFSfFsVwYkZ4JGpqxzbAZs69tAn5UC6RWyLys=";
|
||||||
};
|
};
|
||||||
patches = old.patches or [ ] ++ [
|
patches = old.patches or [ ] ++ [
|
||||||
"${src}/contrib/ffmpeg/A01-qsv-libavfilter-qsvvpp-change-the-output-frame-s-width-a.patch"
|
"${src}/contrib/ffmpeg/A01-qsv-libavfilter-qsvvpp-change-the-output-frame-s-width-a.patch"
|
||||||
|
@ -133,7 +133,8 @@ let
|
||||||
"${src}/contrib/ffmpeg/A26-Update-the-min-version-to-1.4.23.0-for-AMF-SDK.patch"
|
"${src}/contrib/ffmpeg/A26-Update-the-min-version-to-1.4.23.0-for-AMF-SDK.patch"
|
||||||
"${src}/contrib/ffmpeg/A27-avcodec-amfenc-Fixes-the-color-information-in-the-ou.patch"
|
"${src}/contrib/ffmpeg/A27-avcodec-amfenc-Fixes-the-color-information-in-the-ou.patch"
|
||||||
"${src}/contrib/ffmpeg/A28-avcodec-amfenc-HDR-metadata.patch"
|
"${src}/contrib/ffmpeg/A28-avcodec-amfenc-HDR-metadata.patch"
|
||||||
"${src}/contrib/ffmpeg/A30-svt-av1-backports.patch"
|
# This patch is not applying since ffmpeg 5.1.1, probably it was backported by upstream
|
||||||
|
# "${src}/contrib/ffmpeg/A30-svt-av1-backports.patch"
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue