You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
392 B
17 lines
392 B
cask 'vlc-nightly' do
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
url do
|
|
require 'open-uri'
|
|
base_url = 'https://nightlies.videolan.org/build/macosx-intel/last/'
|
|
file = open(base_url).read.scan(%r{href="([^"]+.dmg)"}).flatten.first
|
|
"#{base_url}#{file}"
|
|
end
|
|
name 'VLC media player'
|
|
homepage 'https://www.videolan.org/vlc/'
|
|
|
|
depends_on macos: '>= :lion'
|
|
|
|
app 'VLC.app'
|
|
end
|
|
|