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