Skip to content

Commit c893913

Browse files
authored
Merge pull request Homebrew#218811 from Homebrew/easyrpg-player-liblcf-0.8.1
easyrpg-player liblcf 0.8.1
2 parents dd93501 + a2fd041 commit c893913

File tree

2 files changed

+20
-42
lines changed

2 files changed

+20
-42
lines changed

Formula/e/easyrpg-player.rb

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
class EasyrpgPlayer < Formula
22
desc "RPG Maker 2000/2003 games interpreter"
33
homepage "https://easyrpg.org/"
4-
url "https://easyrpg.org/downloads/player/0.8/easyrpg-player-0.8.tar.xz"
5-
sha256 "06e6d034348d1c52993d0be6b88fc3502a6c7718e366f691401539d5a2195c79"
4+
url "https://easyrpg.org/downloads/player/0.8.1/easyrpg-player-0.8.1.tar.xz"
5+
sha256 "51249fbc8da4e3ac2e8371b0d6f9f32ff260096f5478b3b95020e27b031dbd0d"
66
license "GPL-3.0-or-later"
7-
revision 8
87

98
livecheck do
109
url "https://easyrpg.org/player/downloads/"
1110
regex(/href=.*?easyrpg-player[._-]v?(\d+(?:\.\d+)+)\.t/i)
1211
end
1312

1413
bottle do
15-
sha256 cellar: :any, arm64_sequoia: "91a3f17478db7d87e435ede9a774f9aaa60efd9d1643bd40a1b46d41b6cb583f"
16-
sha256 cellar: :any, arm64_sonoma: "ee017d61080f9d8f939b265c48baa3a951c639539d7e60fc630a8ea59d75ceef"
17-
sha256 cellar: :any, arm64_ventura: "07a6d81fc75427bb8844e9bd79b6b457def126c37ad2db8e386cf4eb979f5b37"
18-
sha256 cellar: :any, sonoma: "96816388fdb23de41c554995d0d4b52aa348c50430495d1e6248e425934f3c9f"
19-
sha256 cellar: :any, ventura: "7d669fe4965e4a7739897bd749ed5f184778d9493eb6e9938135ba23a9058f12"
20-
sha256 cellar: :any_skip_relocation, arm64_linux: "21364ac72fe87a73c520a849792e3ba9b06687a2bb47e28f3cee1d5852fc7895"
21-
sha256 cellar: :any_skip_relocation, x86_64_linux: "900ef138e0241d3b323307182d08e38ae55d1e7f99ca82ec7cbf9e3bbc1c4124"
14+
sha256 cellar: :any, arm64_sequoia: "29b59ec328ebcb9bdaf09f645ec253dc455aadbe85ac151a615c1c933eb405f0"
15+
sha256 cellar: :any, arm64_sonoma: "221de8ecdaee1f3b57abc2ad397173452de46d56ef6f31a755cc3c9c27c06b9c"
16+
sha256 cellar: :any, arm64_ventura: "6ffd6cdda3ee15171eb3dd10b5a4c5db985db99aa8d3b9d7657be393191e04bf"
17+
sha256 cellar: :any, sonoma: "3e7e8cdde63642d4f0868ddcda54828b4bbe156e43a13ca369cd0d929512e713"
18+
sha256 cellar: :any, ventura: "9316377552b03c9261c8333248adfbecee36b78041fe1cc0f38601d73c24461e"
19+
sha256 cellar: :any_skip_relocation, arm64_linux: "91fa3ccab4d41d231137740cb587782357d5ad146d247a6a42b578bb77933f3b"
20+
sha256 cellar: :any_skip_relocation, x86_64_linux: "68a94c58e93a48d1450056d002a5759e7db40b694ae5a6f2f0ada4e09f5f74a4"
2221
end
2322

2423
depends_on "cmake" => :build
@@ -48,12 +47,6 @@ class EasyrpgPlayer < Formula
4847
depends_on "alsa-lib"
4948
end
5049

51-
# Add support for fmt 10
52-
patch do
53-
url "https://github.com/EasyRPG/Player/commit/a4672d2e30db4e4918c8f3580236faed3c9d04c1.patch?full_index=1"
54-
sha256 "026df27331e441116d2b678992d729f9aec3c30b52ffde98089527a5a25c79eb"
55-
end
56-
5750
def install
5851
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
5952
system "cmake", "--build", "build"

Formula/lib/liblcf.rb

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,24 @@
11
class Liblcf < Formula
22
desc "Library for RPG Maker 2000/2003 games data"
33
homepage "https://easyrpg.org/"
4+
url "https://easyrpg.org/downloads/player/0.8.1/liblcf-0.8.1.tar.xz"
5+
sha256 "e827b265702cf7d9f4af24b8c10df2c608ac70754ef7468e34836201ff172273"
46
license "MIT"
5-
revision 6
67
head "https://github.com/EasyRPG/liblcf.git", branch: "master"
78

8-
stable do
9-
url "https://easyrpg.org/downloads/player/0.8/liblcf-0.8.tar.xz"
10-
sha256 "6b0d8c7fefe3d66865336406f69ddf03fe59e52b5601687265a4d1e47a25c386"
11-
12-
# Backport C++17 for `icu4c` 75. Remove in the next release.
13-
patch do
14-
url "https://github.com/EasyRPG/liblcf/commit/8c782e54ba244981141d91e7d44922952563677c.patch?full_index=1"
15-
sha256 "593f729e7f9a5411e6d8548aaac0039e09eee437f525409a9ca8513a0ee15cd0"
16-
end
17-
18-
# Backport CMake fix when using FindEXPAT
19-
patch do
20-
url "https://github.com/EasyRPG/liblcf/commit/a759e18d39cd73c0d2934896ed5c9520a9e1ca94.patch?full_index=1"
21-
sha256 "4b34c80fbb80f388a3c08cf9e810a13c58e79c11671fc5064a54c1b6c0d5956d"
22-
end
23-
end
24-
259
bottle do
26-
sha256 cellar: :any, arm64_sequoia: "e1151274ab64086b4a8aaa60158ec06b5ae873a01f509938b2f04ab61101195f"
27-
sha256 cellar: :any, arm64_sonoma: "d978147a8f8c7dbcfd7162ac2b42082fccc315f74f7e64f5f78a3271df73f77d"
28-
sha256 cellar: :any, arm64_ventura: "88b64f5e02c66eba7184bfbecdda6dfb6f331c3ad113b89f7400e51cad4a90da"
29-
sha256 cellar: :any, sonoma: "ab362e5a999bd3210a26c2c2e431135a51ae43cc7a6dd6371a3ab07a93438795"
30-
sha256 cellar: :any, ventura: "dc447f1a04732969f18f1d32f1fd6ecce02c4115f9b1031f71f0008843618bfb"
31-
sha256 cellar: :any_skip_relocation, arm64_linux: "8bd73160031b08cf9fdd3b0ef32f3b47a211744bdebd0c3f8a1c0c42b884d524"
32-
sha256 cellar: :any_skip_relocation, x86_64_linux: "5415f715fd1e60c8e1cb80a633588d4afd743b309d760c12f483e0881746e646"
10+
sha256 cellar: :any, arm64_sequoia: "3b50d8d26ad9ae4223f2b32c6e6339286076967625db097d6f59e51e301839ef"
11+
sha256 cellar: :any, arm64_sonoma: "b46ebee74b740c0c6fab8ed2c4d54126a190cb2f16d9c6528e9900e3dc51fb0e"
12+
sha256 cellar: :any, arm64_ventura: "c36ac2cb17b1d1057e197d9e2f22d8dae23d1d44142dfab5d595e46edc6cb1fd"
13+
sha256 cellar: :any, sonoma: "a043c615f9b5d1c946eeec170beebf0fcdb561ff35f7bbc34561102519e3f452"
14+
sha256 cellar: :any, ventura: "8088af20377163a45aac512fc22a33d774d888dbe7becac630eda6ffa29cb0b3"
15+
sha256 cellar: :any_skip_relocation, arm64_linux: "4dbcfc8241bf5efa4380109aed635b6107a0f53fb0f698bf469e3f2a50a4c6ef"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "beefb8b7b075411dc9335ea16e330d963cf8d02f3e9d8d4b5f706ca82ecdcd03"
3317
end
3418

3519
depends_on "cmake" => :build
3620
depends_on "icu4c@77"
21+
depends_on "inih"
3722

3823
uses_from_macos "expat"
3924

@@ -57,7 +42,7 @@ def install
5742
return 0;
5843
}
5944
CPP
60-
system ENV.cxx, "test.cpp", "-std=c++14", "-I#{include}", "-L#{lib}", "-llcf", \
45+
system ENV.cxx, "test.cpp", "-std=c++17", "-I#{include}", "-L#{lib}", "-llcf", \
6146
"-o", "test"
6247
system "./test"
6348
end

0 commit comments

Comments
 (0)