openrct2: update resources
Closes #39025. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
315c5e9910
commit
17abf88197
1 changed files with 4 additions and 8 deletions
|
@ -27,23 +27,19 @@ class Openrct2 < Formula
|
|||
depends_on "speexdsp"
|
||||
|
||||
resource "title-sequences" do
|
||||
url "https://github.com/OpenRCT2/title-sequences/releases/download/v0.1.2/title-sequence-v0.1.2.zip",
|
||||
:using => :nounzip
|
||||
sha256 "dcb1648739b351e857e2d19fed1626bec561d5e9f4b49201568f42c475ee7e61"
|
||||
url "https://github.com/OpenRCT2/title-sequences/releases/download/v0.1.2a/title-sequence-v0.1.2a.zip"
|
||||
sha256 "7536dbd7c8b91554306e5823128f6bb7e94862175ef09d366d25e4bce573d155"
|
||||
end
|
||||
|
||||
resource "objects" do
|
||||
url "https://github.com/OpenRCT2/objects/releases/download/v1.0.6/objects.zip",
|
||||
:using => :nounzip
|
||||
sha256 "714257dcf6dc4af8761ecda1b313bfa63b3ef93ab7e46572a3e499fe4bf26e02"
|
||||
url "https://github.com/OpenRCT2/objects/releases/download/v1.0.10/objects.zip"
|
||||
sha256 "4f261964f1c01a04b7600d3d082fb4d3d9ec0d543c4eb66a819eb2ad01417aa0"
|
||||
end
|
||||
|
||||
def install
|
||||
# Avoid letting CMake download things during the build process.
|
||||
(buildpath/"data/title").install resource("title-sequences")
|
||||
(buildpath/"data/object").install resource("objects")
|
||||
tversion = resource("title-sequences").version
|
||||
mv buildpath/"data/title/title-sequence-v#{tversion}.zip", "title-sequences.zip"
|
||||
|
||||
mkdir "build" do
|
||||
system "cmake", "..", *std_cmake_args
|
||||
|
|
Loading…
Reference in a new issue