reminiscence 0.3.4
vendor the Tremor Ogg Vorbis decoder depend on libogg depend on Autotools and pkg-config at build time Closes #20820. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
e4509f3752
commit
0819c666e5
1 changed files with 24 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
class Reminiscence < Formula
|
||||
desc "Flashback engine reimplementation"
|
||||
homepage "http://cyxdown.free.fr/reminiscence/"
|
||||
url "http://cyxdown.free.fr/reminiscence/REminiscence-0.3.2.tar.bz2"
|
||||
sha256 "063a1d9bb61a91ffe7de69516e48164a1d4d5d240747968bed4fd292d5df546f"
|
||||
url "http://cyxdown.free.fr/reminiscence/REminiscence-0.3.4.tar.bz2"
|
||||
sha256 "d389fe2fc4ec151dc072aac98c94333972c0cd37d9109994bc845167074e3913"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -12,13 +12,32 @@ class Reminiscence < Formula
|
|||
sha256 "ca207b017eebbf2b7e9aca765f2c73aadef3a1f66b602e67189f1b8534e91c11" => :yosemite
|
||||
end
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libmodplug"
|
||||
depends_on "libogg"
|
||||
depends_on "sdl2"
|
||||
|
||||
resource "tremor" do
|
||||
url "https://git.xiph.org/tremor.git",
|
||||
:revision => "b56ffce0c0773ec5ca04c466bc00b1bbcaf65aef"
|
||||
end
|
||||
|
||||
def install
|
||||
# REminiscence supports both SDL1 and 2
|
||||
# Use SDL2 to have better input support
|
||||
inreplace "Makefile", "sdl-config", "sdl2-config"
|
||||
resource("tremor").stage do
|
||||
system "autoreconf", "-fiv"
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{libexec}",
|
||||
"--disable-static"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
ENV.prepend "CPPFLAGS", "-I#{libexec}/include"
|
||||
ENV.prepend "LDFLAGS", "-L#{libexec}/lib"
|
||||
|
||||
system "make"
|
||||
bin.install "rs" => "reminiscence"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue