Skip to content

Commit d79919c

Browse files
committed
ffmpeg-custom: Backport patch for x265 compatibility
1 parent ed96dd7 commit d79919c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Formula/ffmpeg-custom.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class FfmpegCustom < Formula
44
url "https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz"
55
sha256 "40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6"
66
license "GPL-2.0-or-later"
7+
revision 1
78
head "https://github.com/FFmpeg/FFmpeg.git"
89

910
livecheck do
@@ -128,6 +129,12 @@ class FfmpegCustom < Formula
128129
sha256 "57e26caced5a1382cb639235f9555fc50e45e7bf8333f7c9ae3d49b3241d3f77"
129130
end
130131

132+
# Backport fix needed for recent x265 (v4.1 is X265_BUILD=215)
133+
patch do
134+
url "https://github.com/FFmpeg/FFmpeg/commit/099f88b8641dfc299f3896d17d9addc5b9ae7799.patch?full_index=1"
135+
sha256 "43677660210523f0eb6db93c4ac9c7943c959116951a5859e6f14568b4392a59"
136+
end
137+
131138
def install
132139
ENV.append "LDFLAGS", "-Wl,-ld_classic" if DevelopmentTools.clang_build_version >= 1500
133140

0 commit comments

Comments
 (0)