Skip to content

Commit

Permalink
ignition-common3: patch for ffmpeg 5.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
scpeters committed Mar 20, 2022
1 parent d3446bc commit 046e966
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Formula/ignition-common3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class IgnitionCommon3 < Formula
url "https://osrf-distributions.s3.amazonaws.com/ign-common/releases/ignition-common3-3.14.0.tar.bz2"
sha256 "ab8f1cbb3bb62649cbe096bbccac43c240dad197f3d5df3360e9eac8f04a9cda"
license "Apache-2.0"
revision 2
revision 3

bottle do
root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
Expand All @@ -13,7 +13,7 @@ class IgnitionCommon3 < Formula
end

depends_on "cmake"
depends_on "ffmpeg@4"
depends_on "ffmpeg"
depends_on "freeimage"
depends_on "gts"
depends_on "ignition-cmake2"
Expand All @@ -23,6 +23,12 @@ class IgnitionCommon3 < Formula
depends_on "pkg-config"
depends_on "tinyxml2"

patch do
# Fix for compatibility with ffmpeg 5.0
url "https://github.com/ignitionrobotics/ign-common/commit/a11287ba5b213ffc90992f9ef972cd7acee11259.patch?full_index=1"
sha256 "ad264b7c8bb3774fcb7d59d67ae33963f3d44e0018c23861c7fd8d86c3e057ab"
end

def install
cmake_args = std_cmake_args
cmake_args << "-DBUILD_TESTING=Off"
Expand Down

0 comments on commit 046e966

Please sign in to comment.