diff --git a/Formula/ume.rb b/Formula/ume.rb index 4ddd58a3ea..c44a6fe470 100644 --- a/Formula/ume.rb +++ b/Formula/ume.rb @@ -2,20 +2,21 @@ require 'formula' class Ume < Formula homepage "http://mamedev.org/" - url "https://github.com/mamedev/mame/archive/mame0155.tar.gz" - sha1 "0e56d53dd6dd916b3c29387112a7042befc501bd" - version "0.155" + url "https://github.com/mamedev/mame/archive/mame0156.tar.gz" + sha1 "9cda662385c0b168ca564dab0fb1e839065f6a01" + version "0.156" head "https://github.com/mamedev/mame.git" - bottle do - cellar :any - sha1 "9850cfef7179c418ce1104edcdcfc0682f7979b3" => :yosemite - sha1 "2afbdf96a4c6f45b04ada32debfdb86ef08aa2d2" => :mavericks - sha1 "4e4684c5682424c294bc76d3ff12d9cdf3cdca88" => :mountain_lion - end + depends_on "sdl2" - depends_on 'sdl' + # Fix for Cocoa framework linking and sdl-config path + # It's been upstreamed, so remove from the next release + # https://github.com/mamedev/mame/pull/60 + patch do + url "https://github.com/mbcoguno/mame/commit/5d8dc09b12ea7d5576ef92e3e14a1db3654ff810.diff" + sha1 "76c0f11f225968a10c0f024c55607e9f09634825" + end def install ENV['MACOSX_USE_LIBSDL'] = '1'