stone-soup: remove options

This commit is contained in:
FX Coudert 2018-11-02 00:09:41 +01:00
parent 6546b3fa78
commit 31f12a36ab

View file

@ -11,20 +11,10 @@ class StoneSoup < Formula
sha256 "3690a7a849debe2f941a948ab4fbeb017985bdd163eb973841e201fb21532f0c" => :el_capitan
end
option "with-tiles", "Enable graphic tiles and sound"
depends_on "pkg-config" => :build
depends_on "lua@5.1"
depends_on "pcre"
if build.with? "tiles"
depends_on "sdl2"
depends_on "sdl2_mixer"
depends_on "sdl2_image"
depends_on "libpng"
depends_on "freetype"
end
needs :cxx11
def install
@ -46,11 +36,6 @@ class StoneSoup < Formula
BUILD_PCRE=
USE_PCRE=y
]
if build.with? "tiles"
inreplace "Makefile", "contrib/install/$(ARCH)/lib/libSDL2main.a", ""
args << "TILES=y"
args << "SOUND=y"
end
# FSF GCC doesn't support the -rdynamic flag
args << "NO_RDYNAMIC=y" unless ENV.compiler == :clang