summaryrefslogtreecommitdiff
path: root/homebrew/supertux/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/supertux/.beer')
-rw-r--r--homebrew/supertux/.beer72
1 files changed, 72 insertions, 0 deletions
diff --git a/homebrew/supertux/.beer b/homebrew/supertux/.beer
new file mode 100644
index 000000000..bb63f1ae7
--- /dev/null
+++ b/homebrew/supertux/.beer
@@ -0,0 +1,72 @@
+{
+ "name": "Supertux",
+ "description": "Classic 2D jump",
+ "url": "https://github.com/SuperTux/supertux/releases/download/v0.5.1/SuperTux-v0.5.1-Source.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.supertux.org/",
+ "depends": [
+ {
+ "depend": "boost",
+ "build-depend": true
+ },
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "glew",
+ "build-depend": false
+ },
+ {
+ "depend": "libogg",
+ "build-depend": false
+ },
+ {
+ "depend": "libvorbis",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_image",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2_mixer",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/SuperTux/supertux/commit/47a353e2981161e2da12492822fe88d797af2fec.diff?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/834e41a/supertux/squirrel_xcode9.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV.cxx11",
+ "args = std_cmake_args",
+ "args << \"-DINSTALL_SUBDIR_BIN=bin\"",
+ "args << \"-DINSTALL_SUBDIR_SHARE=share/supertux\"",
+ "args << \"-DPNG_PNG_INCLUDE_DIR=#{Formula[\"libpng\"].opt_include}\"",
+ "system \"cmake\", \".\", *args",
+ "system \"make\", \"install\"",
+ "(share/\"appdata\").rmtree",
+ "(share/\"applications\").rmtree",
+ "(share/\"pixmaps\").rmtree",
+ "(prefix/\"MacOS\").rmtree"
+ ],
+ "version": "0.5.1",
+ "file": "supertux.rb"
+} \ No newline at end of file