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

dosbox-x: update sdl_sound dependency #14319

Closed
wants to merge 1 commit into from
Closed
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: 8 additions & 5 deletions Formula/dosbox-x.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
class DosboxX < Formula
desc "DOSBox with accurate emulation and wide testing"
homepage "http://dosbox-x.com/"
url "https://github.com/joncampbell123/dosbox-x/archive/v0.801.tar.gz"
sha256 "40f94cdcc5c9a374c522de7eb2c2288eaa8c6de85d0bd6a730f48bd5d84a89f9"
revision 1
head "https://github.com/joncampbell123/dosbox-x.git"

stable do
url "https://github.com/joncampbell123/dosbox-x/archive/v0.801.tar.gz"
sha256 "40f94cdcc5c9a374c522de7eb2c2288eaa8c6de85d0bd6a730f48bd5d84a89f9"
end
bottle do
cellar :any
sha256 "8a727059fa9d789963220e52492ac7045ef98cfb7224883610c486568cdd864c" => :sierra
Expand All @@ -16,7 +15,7 @@ class DosboxX < Formula

depends_on "sdl"
depends_on "sdl_net"
depends_on "sdl_sound" => ["--with-libogg", "--with-libvorbis"]
depends_on "sdl_sound"
depends_on "libpng"
depends_on "fluid-synth"

Expand All @@ -28,6 +27,10 @@ class DosboxX < Formula
def install
ENV.cxx11

# Fix build failure due to missing <remote-ext.h> included from pcap.h
# https://github.com/joncampbell123/dosbox-x/issues/275
inreplace "src/hardware/ne2000.cpp", "#define HAVE_REMOTE\n", ""

args = %W[
--prefix=#{prefix}
--disable-dependency-tracking
Expand Down