residualvm 0.3.1

Closes #46033.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
EricFromCanada 2019-10-31 14:26:48 -04:00 committed by Rui Chen
parent ccf196530d
commit cca4cef1a4

View file

@ -1,9 +1,8 @@
class Residualvm < Formula class Residualvm < Formula
desc "3D graphic adventure game interpreter" desc "3D graphic adventure game interpreter"
homepage "https://residualvm.org/" homepage "https://residualvm.org/"
url "https://downloads.sourceforge.net/project/residualvm/residualvm/0.2.1/residualvm-0.2.1-sources.tar.bz2" url "https://github.com/residualvm/residualvm/archive/0.3.1.tar.gz"
sha256 "cd2748a665f80b8c527c6dd35f8435e718d2e10440dca10e7765574c7402d924" sha256 "515b02129dd374bc9c0b732ddeaaaa3a342cc25ea0ea3c4ccf19141b5d362e1d"
revision 1
head "https://github.com/residualvm/residualvm.git" head "https://github.com/residualvm/residualvm.git"
bottle do bottle do
@ -19,15 +18,25 @@ class Residualvm < Formula
depends_on "flac" depends_on "flac"
depends_on "fluid-synth" depends_on "fluid-synth"
depends_on "freetype" depends_on "freetype"
depends_on "jpeg" depends_on "glew"
depends_on "jpeg-turbo"
depends_on "libmpeg2"
depends_on "libpng" depends_on "libpng"
depends_on "libvorbis" depends_on "libvorbis"
depends_on "mad" depends_on "mad"
depends_on "sdl" depends_on "sdl2"
depends_on "theora" depends_on "theora"
def install def install
system "./configure", "--prefix=#{prefix}", "--enable-release" system "./configure", "--prefix=#{prefix}",
"--enable-release",
"--enable-cloud",
"--enable-faad",
"--enable-flac",
"--enable-fluidsynth",
"--enable-libcurl",
"--enable-opengl-shaders",
"--with-sdl-prefix=#{Formula["sdl2"].opt_prefix}"
system "make" system "make"
system "make", "install" system "make", "install"
(share+"icons").rmtree (share+"icons").rmtree