taisei 1.2
Co-authored-by: Misty De Meo <mistydemeo@gmail.com> Closes #23809. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>master
parent
914a9f722b
commit
b64f20ada5
|
@ -2,9 +2,8 @@ class Taisei < Formula
|
|||
desc "Clone of Touhou Project shoot-em-up games"
|
||||
homepage "https://taisei-project.org/"
|
||||
url "https://github.com/taisei-project/taisei.git",
|
||||
:tag => "v1.1.2",
|
||||
:revision => "3c5da74722b445c6aaf8af7666ba2e7e29fb4ccb"
|
||||
revision 2
|
||||
:tag => "v1.2",
|
||||
:revision => "46fb0f894ad269528ac7fda533c7994eddd9b758"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -13,8 +12,8 @@ class Taisei < Formula
|
|||
sha256 "fed47ca7b0254468f374b1319347877a8c1cdb39253985de0151003d97d65e41" => :el_capitan
|
||||
end
|
||||
|
||||
depends_on "bash" => :build
|
||||
depends_on "cmake" => :build
|
||||
depends_on "meson" => :build
|
||||
depends_on "ninja" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "freetype"
|
||||
depends_on "libpng"
|
||||
|
@ -26,9 +25,9 @@ class Taisei < Formula
|
|||
|
||||
def install
|
||||
mkdir "build" do
|
||||
system "cmake", "..", "-DOSX_TOOL_PREFIX=", "-DOSX_LIB_PATH=:",
|
||||
*std_cmake_args
|
||||
system "make", "install"
|
||||
system "meson", "--prefix=#{prefix}", "-Ddocs=false", "-Dmacos_bundle=false", ".."
|
||||
system "ninja"
|
||||
system "ninja", "install"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -37,7 +36,7 @@ class Taisei < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
output = shell_output("#{prefix}/Taisei.app/Contents/MacOS/Taisei -h", 1)
|
||||
output = shell_output("#{bin}/taisei -h", 1)
|
||||
assert_match "Touhou clone", output
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue