Skip to content

Commit

Permalink
mpv: depend on python@2 at build time instead of python (#29621)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs authored Jul 1, 2018
1 parent a501ea6 commit b314a66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/mpv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Mpv < Formula
option "with-lgpl", "Build with LGPLv2.1 or later license"

depends_on "pkg-config" => :build
depends_on "python" => :build
depends_on "python@2" => :build

depends_on "libass"
depends_on "ffmpeg"
Expand Down Expand Up @@ -87,11 +87,11 @@ def install
end

system "./bootstrap.py"
system "python3", "waf", "configure", *args
system "python3", "waf", "install"
system "python", "waf", "configure", *args
system "python", "waf", "install"

if build.with? "bundle"
system "python3", "TOOLS/osxbundle.py", "build/mpv"
system "python", "TOOLS/osxbundle.py", "build/mpv"
prefix.install "build/mpv.app"
end
end
Expand Down

0 comments on commit b314a66

Please sign in to comment.