Skip to content

Commit ef6e953

Browse files
committed
liblcf 0.8.1
Signed-off-by: Rui Chen <[email protected]> liblcf: needs inih Signed-off-by: Rui Chen <[email protected]> liblcf: update test Signed-off-by: Rui Chen <[email protected]>
1 parent ec02181 commit ef6e953

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

Formula/lib/liblcf.rb

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,11 @@
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
2610
sha256 cellar: :any, arm64_sequoia: "e1151274ab64086b4a8aaa60158ec06b5ae873a01f509938b2f04ab61101195f"
2711
sha256 cellar: :any, arm64_sonoma: "d978147a8f8c7dbcfd7162ac2b42082fccc315f74f7e64f5f78a3271df73f77d"
@@ -34,6 +18,7 @@ class Liblcf < Formula
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)