|
1 | 1 | class Liblo < Formula |
2 | 2 | desc "Lightweight Open Sound Control implementation" |
3 | 3 | homepage "https://liblo.sourceforge.net/" |
4 | | - url "https://downloads.sourceforge.net/project/liblo/liblo/0.32/liblo-0.32.tar.gz" |
5 | | - sha256 "5df05f2a0395fc5ac90f6b538b8c82bb21941406fd1a70a765c7336a47d70208" |
| 4 | + url "https://downloads.sourceforge.net/project/liblo/liblo/0.33/liblo-0.33.tar.gz" |
| 5 | + sha256 "772edd51e5809b72413d5de7fc10422e70b08a7ffd5b0e924f555de1319accde" |
6 | 6 | license "LGPL-2.1-or-later" |
7 | | - |
8 | | - no_autobump! because: :requires_manual_review |
| 7 | + head "https://git.code.sf.net/p/liblo/git.git", branch: "master" |
9 | 8 |
|
10 | 9 | bottle do |
11 | | - sha256 cellar: :any, arm64_tahoe: "bc3d8a8b87f29fbb5fc1bdbf6538a1cc26e03617a4a42dcaef0f085585db5588" |
12 | | - sha256 cellar: :any, arm64_sequoia: "8373256cd53294a3a06252d55c8cc93d6c6a6f8c3b235084cab456931e67e1b3" |
13 | | - sha256 cellar: :any, arm64_sonoma: "c379d421a02f1afa3c6105e527dc71b5271450f2964f31b6f6117fd826c8f783" |
14 | | - sha256 cellar: :any, arm64_ventura: "1395a951f82712482f5f90cd4a4803d88044154029cd3cd1d2fb2fbaf0f357c1" |
15 | | - sha256 cellar: :any, arm64_monterey: "e79362d970b3c7a741336f9e02e3d738f43169bc5fddd6972dfae327d4dfe8ee" |
16 | | - sha256 cellar: :any, sonoma: "79de8fe2295a65736c7a7de5a2a24e6b62bc8745dd692a330c208e4b717b65e6" |
17 | | - sha256 cellar: :any, ventura: "98ec4c770688b3f59d46c99eda7c052eee63ff6c8ab4b874bc56db2942dad96f" |
18 | | - sha256 cellar: :any, monterey: "8f4e3f2fd6ce732d7d170f1db5193f9b53b233fcb08b876cc66114b252f465cd" |
19 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "9a3ae0a7f62dc172def171ed8c833e44fa72b4ab6a798f9b3c897b5e402e8b59" |
20 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "62fbd9950f4178a2ec7eeb280aac525b10d483953417f750aca24b420089b157" |
| 10 | + sha256 cellar: :any, arm64_tahoe: "36ed69df98dc612645558e42fc2c631037960e093fefc883a22a627c558e9e9f" |
| 11 | + sha256 cellar: :any, arm64_sequoia: "05d58b3c3088072d0f20624812d333e281549071b43a29f098cdf83a4d73c68c" |
| 12 | + sha256 cellar: :any, arm64_sonoma: "bb240abb61650d49326765c0fe553e63f1ce0d1894f0cb0e2dba9a9d7e816592" |
| 13 | + sha256 cellar: :any, sonoma: "81b9be048f731ae09ecb6d3b6d61c07254f14604753d46da6d3d411014c9a8b7" |
| 14 | + sha256 cellar: :any_skip_relocation, arm64_linux: "e8a711b483ee995ce89fed162727d52d86b380eb874809a1b1aa608ee17dd479" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "f0b860801c05b95f768202b295ef2c1e82555ca4469d08c98113bb0f910318a4" |
21 | 16 | end |
22 | 17 |
|
23 | | - head do |
24 | | - url "https://git.code.sf.net/p/liblo/git.git", branch: "master" |
25 | | - |
26 | | - depends_on "autoconf" => :build |
27 | | - depends_on "automake" => :build |
28 | | - depends_on "libtool" => :build |
29 | | - end |
| 18 | + depends_on "cmake" => :build |
30 | 19 |
|
31 | 20 | def install |
32 | | - if build.head? |
33 | | - system "./autogen.sh", *std_configure_args |
34 | | - else |
35 | | - system "./configure", *std_configure_args |
36 | | - end |
37 | | - |
38 | | - system "make", "install" |
| 21 | + system "cmake", "-S", "cmake", "-B", "cmake_build", *std_cmake_args |
| 22 | + system "cmake", "--build", "cmake_build" |
| 23 | + system "cmake", "--install", "cmake_build" |
39 | 24 | end |
40 | 25 |
|
41 | 26 | test do |
|
0 commit comments