Closes #48246.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
David Hogan 2019-12-24 13:28:26 +11:00 committed by FX Coudert
parent ce51842f15
commit ad8ef4644f

View file

@ -1,9 +1,8 @@
class Vice < Formula
desc "Versatile Commodore Emulator"
homepage "https://vice-emu.sourceforge.io/"
url "https://downloads.sourceforge.net/project/vice-emu/releases/vice-3.3.tar.gz"
sha256 "1a55b38cc988165b077808c07c52a779d181270b28c14b5c9abf4e569137431d"
revision 3
homepage "https://sourceforge.net/projects/vice-emu/"
url "https://downloads.sourceforge.net/project/vice-emu/releases/vice-3.4.tar.gz"
sha256 "4bd00c1c63d38cd1fe01b90032834b52f774bc29e4b67eeb1e525b14fee07aeb"
head "https://svn.code.sf.net/p/vice-emu/code/trunk/vice"
bottle do
@ -16,8 +15,8 @@ class Vice < Formula
depends_on "texinfo" => :build
depends_on "xa" => :build
depends_on "yasm" => :build
depends_on "autoconf" if build.head?
depends_on "automake" if build.head?
depends_on "autoconf"
depends_on "automake"
depends_on "ffmpeg"
depends_on "flac"
depends_on "giflib"
@ -44,11 +43,10 @@ class Vice < Formula
if build.head?
configure_flags << "--enable-native-gtk3ui"
else
configure_flags << "--disable-bundle"
configure_flags << "--enable-sdlui2"
end
system "./autogen.sh" if build.head?
system "./autogen.sh"
system "./configure", *configure_flags
system "make", "install"
end