Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freshly build all VLC contribs #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions vlc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ class Vlc < Formula
depends_on 'automake'
depends_on 'pcre'
depends_on 'gettext'
depends_on 'libgcrypt'
depends_on 'libshout'
depends_on 'libmad'
depends_on 'libtool'
depends_on 'pkg-config'
depends_on 'flac'
depends_on 'yasm'

def install
Expand Down Expand Up @@ -61,13 +57,8 @@ def install

# Additional Libs
# KLN 20/08/2012 Added 'make .ogg' and 'make .vorbis' in order to get this recipe to work on OSX 10.6
system "#{exp}; cd contrib; mkdir -p osx; cd osx; ../bootstrap --host=#{darwinVer} --build=#{darwinVer} --disable-sout"
system "#{exp}; cd contrib/osx; make prebuilt"
if MacOS.xcode_version.to_f <= 4.2
system "cd contrib/osx; make .ogg; make .vorbis"
end
# libav/ffmpeg in current prebuilts is too old, build a fresh one from source
system "cd contrib/osx; make .ffmpeg"
system "#{exp}; cd contrib; mkdir -p osx; cd osx; ../bootstrap --host=#{darwinVer} --build=#{darwinVer} --disable-sout --disable-ass --disable-fribidi"
system "#{exp}; cd contrib/osx; make"

# HACK: This file is normally created by the build query git log, but homebrew appears
# to remove the .git folder just create a blank file so that this step passes
Expand Down