Skip to content

Commit 30cab7b

Browse files
botantonydaeho-ro
authored andcommitted
liblo 0.33
1 parent 7f5477d commit 30cab7b

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

Formula/lib/liblo.rb

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
class Liblo < Formula
22
desc "Lightweight Open Sound Control implementation"
33
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"
66
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"
98

109
bottle do
1110
sha256 cellar: :any, arm64_tahoe: "bc3d8a8b87f29fbb5fc1bdbf6538a1cc26e03617a4a42dcaef0f085585db5588"
@@ -20,22 +19,12 @@ class Liblo < Formula
2019
sha256 cellar: :any_skip_relocation, x86_64_linux: "62fbd9950f4178a2ec7eeb280aac525b10d483953417f750aca24b420089b157"
2120
end
2221

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
22+
depends_on "cmake" => :build
3023

3124
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"
25+
system "cmake", "-S", "cmake", "-B", "cmake_build", *std_cmake_args
26+
system "cmake", "--build", "cmake_build"
27+
system "cmake", "--install", "cmake_build"
3928
end
4029

4130
test do

0 commit comments

Comments
 (0)