Skip to content

Commit

Permalink
bump x264 to r3095
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Hermansson <[email protected]>
  • Loading branch information
fhermansson committed Sep 26, 2023
1 parent c633a1d commit 544781f
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions Formula/x264-encore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class X264Encore < Formula
stable do
# the latest commit on the stable branch
url "https://code.videolan.org/videolan/x264.git",
revision: "5db6aa6cab1b146e07b60cc1736a01f21da01154"
version "r3060"
revision: "baee400fa9ced6f5481a728138fed6e867b0ff7f"
version "r3095"
end

bottle do
Expand All @@ -24,17 +24,23 @@ class X264Encore < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "c69c7350f9135eeda12ae5ba59b337c997ea055c28b6d949d4f717130621938c"
end

depends_on "nasm" => :build

conflicts_with "x264", because: "it comes with the same binary"

if MacOS.version <= :high_sierra
# Stack realignment requires newer Clang
# https://code.videolan.org/videolan/x264/-/commit/b5bc5d69c580429ff716bafcd43655e855c31b02
depends_on "gcc"
fails_with :clang
on_macos do

Check failure on line 29 in Formula/x264-encore.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/ComponentsOrder: `on_macos` (line 29) should be put before `conflicts_with` (line 27)
depends_on "gcc" if DevelopmentTools.clang_build_version <= 902
end

on_intel do
depends_on "nasm" => :build
end

# https://code.videolan.org/videolan/x264/-/commit/b5bc5d69c580429ff716bafcd43655e855c31b02
fails_with :clang do
build 902
cause "Stack realignment requires newer Clang"
end


Check failure on line 43 in Formula/x264-encore.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/EmptyLines: Extra blank line detected.
def install
args = %W[
--prefix=#{prefix}
Expand All @@ -55,6 +61,7 @@ def install
(testpath/"test.c").write <<~EOS
#include <stdint.h>
#include <x264.h>
int main()
{
x264_picture_t pic;
Expand Down

0 comments on commit 544781f

Please sign in to comment.