diff options
Diffstat (limited to 'homebrew/raine/.beer')
-rw-r--r-- | homebrew/raine/.beer | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/homebrew/raine/.beer b/homebrew/raine/.beer new file mode 100644 index 000000000..d7f8c8de9 --- /dev/null +++ b/homebrew/raine/.beer @@ -0,0 +1,106 @@ +{ + "name": "Raine", + "description": "680x0 arcade emulator", + "url": "https://github.com/zelurker/raine/archive/0.64.15.tar.gz", + "mirror": null, + "homepage": "https://raine.1emulation.com/", + "depends": [ + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "automake", + "build-depend": true + }, + { + "depend": "libtool", + "build-depend": true + }, + { + "depend": "nasm", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + } + ], + "resource": [ + { + "name": "gettext", + "url": "https://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz" + }, + { + "name": "libpng", + "url": "https://downloads.sourceforge.net/project/libpng/libpng16/older-releases/1.6.31/libpng-1.6.31.tar.xz" + }, + { + "name": "sdl", + "url": "https://www.libsdl.org/release/SDL-1.2.15.tar.gz" + }, + { + "name": "sdl_image", + "url": "https://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz" + }, + { + "name": "libogg", + "url": "https://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz" + }, + { + "name": "libvorbis", + "url": "https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz" + }, + { + "name": "flac", + "url": "https://downloads.xiph.org/releases/flac/flac-1.3.2.tar.xz" + }, + { + "name": "sdl_sound", + "url": "https://icculus.org/SDL_sound/downloads/SDL_sound-1.0.3.tar.gz" + }, + { + "name": "freetype", + "url": "https://downloads.sourceforge.net/project/freetype/freetype2/2.8/freetype-2.8.tar.bz2" + }, + { + "name": "sdl_ttf", + "url": "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz" + }, + { + "name": "muparser", + "url": "https://github.com/beltoforion/muparser/archive/v2.2.5.tar.gz" + } + ], + "conflicts": [], + "patches": [], + "install": [ + "ENV.m32", + "ENV.prepend_create_path \"PATH\", buildpath/\"bin\"", + "ENV.append_to_cflags \"-I#{buildpath}/include\"", + "ENV.append \"LDFLAGS\", \"-L#{buildpath}/lib\"", + "ENV.prepend_path \"PKG_CONFIG_PATH\", buildpath/\"lib/pkgconfig\"", + "resources.each do |r|", + "r.stage do", + "if r.name == \"sdl\"", + "inreplace \"src/video/quartz/SDL_QuartzVideo.h\",", + "/(CGDirectPaletteRef.+)$/,", + "\"#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)\\n\\\\1\\n#endif\"", + "elsif r.name == \"sdl_ttf\"", + "inreplace \"SDL_ttf.c\",", + "\"for ( row = 0; row < glyph->bitmap.rows; ++row ) {\",", + "\"for ( row = 0; row < glyph->pixmap.rows; ++row ) {\"", + "elsif r.name == \"sdl_sound\"", + "touch [\"AUTHORS\", \"NEWS\"]", + "File.rename \"CHANGELOG\", \"ChangeLog\"", + "system \"autoreconf\", \"-ivf\"", + "end", + "args = configure_args(r.name)", + "args << \"--prefix=#{buildpath}\"", + "system \"./configure\", *args", + "system \"make\"", + "system \"make\", \"install\"" + ], + "version": "0.64.15", + "file": "raine.rb" +}
\ No newline at end of file |