File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
1
class Cmrc < Formula
2
2
desc "CMake Resource Compiler"
3
3
homepage "https://github.com/vector-of-bool/cmrc"
4
- url "https://github.com/vector-of-bool/cmrc/archive/refs/tags/2.0.1.tar.gz"
5
- sha256 "edad5faaa0bea1df124b5e8cb00bf0adbd2faeccecd3b5c146796cbcb8b5b71b"
6
4
license "MIT"
7
5
head "https://github.com/vector-of-bool/cmrc.git" , branch : "master"
8
6
7
+ stable do
8
+ url "https://github.com/vector-of-bool/cmrc/archive/refs/tags/2.0.1.tar.gz"
9
+ sha256 "edad5faaa0bea1df124b5e8cb00bf0adbd2faeccecd3b5c146796cbcb8b5b71b"
10
+
11
+ # cmake 4.0 build patch, upstream pr ref, https://github.com/vector-of-bool/cmrc/pull/48
12
+ patch do
13
+ url "https://github.com/vector-of-bool/cmrc/commit/91c9522ee59654e2f4d9701947a4600a4436d076.patch?full_index=1"
14
+ sha256 "feea3f04cdf49295497f3c48dd3ad5938716e47a9b29aacc98dc6580493d74ff"
15
+ end
16
+ end
17
+
9
18
bottle do
10
19
rebuild 1
11
20
sha256 cellar : :any_skip_relocation , all : "33e1b8facfc9147d12e16f1ea45cb08c26f6e4d9ee5100b298f76a0f01a475ae"
@@ -28,7 +37,7 @@ def install
28
37
29
38
cmakelists . unlink
30
39
cmakelists . write <<~CMAKE
31
- cmake_minimum_required(VERSION 3.30 )
40
+ cmake_minimum_required(VERSION 4.0 )
32
41
find_package(CMakeRC CONFIG REQUIRED)
33
42
CMAKE
34
43
You can’t perform that action at this time.
0 commit comments