Skip to content

Commit 9b2f11f

Browse files
authored
Merge pull request #202680 from Homebrew/ffmpeg-backport
ffmpeg: backport fix for recent x265
2 parents 53ec8ed + 4997de5 commit 9b2f11f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Formula/f/ffmpeg.rb

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
class Ffmpeg < Formula
22
desc "Play, record, convert, and stream audio and video"
33
homepage "https://ffmpeg.org/"
4-
url "https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz"
5-
sha256 "40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6"
64
# None of these parts are used by default, you have to explicitly pass `--enable-gpl`
75
# to configure to activate them. In this case, FFmpeg's license changes to GPL v2+.
86
license "GPL-2.0-or-later"
97
revision 4
108
head "https://github.com/FFmpeg/FFmpeg.git", branch: "master"
119

10+
stable do
11+
url "https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz"
12+
sha256 "40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6"
13+
14+
# Backport fix needed for recent x265 (v4.1 is X265_BUILD=215)
15+
patch do
16+
url "https://github.com/FFmpeg/FFmpeg/commit/099f88b8641dfc299f3896d17d9addc5b9ae7799.patch?full_index=1"
17+
sha256 "43677660210523f0eb6db93c4ac9c7943c959116951a5859e6f14568b4392a59"
18+
end
19+
end
20+
1221
livecheck do
1322
url "https://ffmpeg.org/download.html"
1423
regex(/href=.*?ffmpeg[._-]v?(\d+(?:\.\d+)+)\.t/i)

0 commit comments

Comments
 (0)