diff --git a/Formula/arx-libertatis.rb b/Formula/arx-libertatis.rb index 0d5dacb7b7..5c2ba50d35 100644 --- a/Formula/arx-libertatis.rb +++ b/Formula/arx-libertatis.rb @@ -31,15 +31,13 @@ class ArxLibertatis < Formula end end - option "without-innoextract", "Build without arx-install-data" - - depends_on "cmake" => :build depends_on "boost" => :build + depends_on "cmake" => :build depends_on "glm" => :build depends_on "freetype" depends_on "glew" + depends_on "innoextract" depends_on "sdl" - depends_on "innoextract" => :recommended conflicts_with "rnv", :because => "both install `arx` binaries" @@ -76,15 +74,13 @@ class ArxLibertatis < Formula end end - def caveats - if build.with? "innoextract"; then <<~EOS - This package only contains the Arx Libertatis binary, not the game data. - To play Arx Fatalis you will need to obtain the game from GOG.com and install - the game data with: + def caveats; <<~EOS + This package only contains the Arx Libertatis binary, not the game data. + To play Arx Fatalis you will need to obtain the game from GOG.com and + install the game data with: - arx-install-data /path/to/setup_arx_fatalis.exe - EOS - end + arx-install-data /path/to/setup_arx_fatalis.exe + EOS end test do