{ "name": "Minetest", "description": "Free, open source voxel game engine and game", "url": "https://github.com/minetest/minetest/archive/5.0.1.tar.gz", "mirror": null, "homepage": "https://www.minetest.net/", "depends": [ { "depend": "cmake", "build-depend": true }, { "depend": "freetype", "build-depend": false }, { "depend": "gettext", "build-depend": false }, { "depend": "irrlicht", "build-depend": false }, { "depend": "jpeg", "build-depend": false }, { "depend": "libogg", "build-depend": false }, { "depend": "libvorbis", "build-depend": false }, { "depend": "luajit", "build-depend": false } ], "resource": [ { "name": "minetest_game", "url": "https://github.com/minetest/minetest_game/archive/5.0.1.tar.gz" }, { "name": "minetest_game", "url": "https://github.com/minetest/minetest_game.git" } ], "conflicts": [], "patches": [], "install": [ "(buildpath/\"games/minetest_game\").install resource(\"minetest_game\")", "args = std_cmake_args - %w[-DCMAKE_BUILD_TYPE=None]", "args << \"-DCMAKE_BUILD_TYPE=Release\" << \"-DBUILD_CLIENT=1\" << \"-DBUILD_SERVER=0\"", "args << \"-DENABLE_FREETYPE=1\" << \"-DCMAKE_EXE_LINKER_FLAGS='-L#{Formula[\"freetype\"].opt_lib}'\"", "args << \"-DENABLE_GETTEXT=1\" << \"-DCUSTOM_GETTEXT_PATH=#{Formula[\"gettext\"].opt_prefix}\"", "system \"cmake\", \".\", *args", "system \"make\", \"package\"", "system \"unzip\", \"minetest-*-osx.zip\"", "prefix.install \"minetest.app\"" ], "version": "5.0.1", "file": "minetest.rb" }