Skip to content

Commit e19750c

Browse files
authored
Merge pull request #245148 from Homebrew/bump-musikcube-3.0.5
musikcube 3.0.5
2 parents 90a09f5 + a0e52f1 commit e19750c

File tree

1 file changed

+8
-57
lines changed

1 file changed

+8
-57
lines changed

Formula/m/musikcube.rb

Lines changed: 8 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
class Musikcube < Formula
22
desc "Terminal-based audio engine, library, player and server"
33
homepage "https://musikcube.com"
4+
url "https://github.com/clangen/musikcube/archive/refs/tags/3.0.5.tar.gz"
5+
sha256 "708292a583bb5072a8dbb14e408c2a1f61de9b8c9786d4e53b3e69bef5dad8c5"
46
license all_of: [
57
"BSD-3-Clause",
68
"GPL-2.0-or-later", # src/plugins/supereqdsp/supereq/
@@ -11,48 +13,20 @@ class Musikcube < Formula
1113
"bcrypt-Solar-Designer", # src/3rdparty/{include,src}/md5.*
1214
"blessing", # src/3rdparty/{include,src}/sqlite/sqlite3*
1315
]
14-
revision 2
1516
head "https://github.com/clangen/musikcube.git", branch: "master"
1617

17-
stable do
18-
url "https://github.com/clangen/musikcube/archive/refs/tags/3.0.4.tar.gz"
19-
sha256 "25bb95b8705d8c79bde447e7c7019372eea7eaed9d0268510278e7fcdb1378a5"
20-
21-
# Backport support for newer asio. Using resource to deal with submodule
22-
resource "asio.patch" do
23-
url "https://github.com/clangen/musikcube/commit/a5a8a4ba6e21e09185ce10b5ecb48d6bb30f3d07.patch?full_index=1"
24-
sha256 "58e4215a6319b625a5c11990732ebabb2622e1dc7a91d5ef48ec791db415b704"
25-
26-
# Remove submodule modification as `patch` can't handle this
27-
patch :DATA
28-
end
29-
30-
# Backport support for FFmpeg 8.0
31-
patch do
32-
url "https://github.com/clangen/musikcube/commit/a0433606af616b6d1146d10c964195dd81d244c8.patch?full_index=1"
33-
sha256 "ba1f480663d28e0d25f84c11e9b60a03600f37976794fd58349e038ac85e2229"
34-
end
35-
patch do
36-
url "https://github.com/clangen/musikcube/commit/1a5887f6dcd8f0c3ed7ddef400a7dc1114721459.patch?full_index=1"
37-
sha256 "a04ce7b24631d371ea77373026d617661cfe091b94cd356e349d77561b8bda84"
38-
end
39-
end
40-
4118
livecheck do
4219
url :stable
4320
regex(/^v?(\d+(?:\.\d+)+)$/i)
4421
end
4522

4623
bottle do
47-
rebuild 1
48-
sha256 cellar: :any, arm64_tahoe: "26a255dcf4514ba323fd8432e0707d41a78957663cd9dae29d9721643ff4ce6e"
49-
sha256 cellar: :any, arm64_sequoia: "9db1d89d137c22936f096852017272d7ba739ccda6b75771e983be8b9392ab7a"
50-
sha256 cellar: :any, arm64_sonoma: "69618b6cb44fed6f13814c8d7ef559dbd4f14bfd268952d58554a85d6baa315c"
51-
sha256 cellar: :any, arm64_ventura: "a6f22f38cc129c056f1aecec46a00d6aac5a392f4707826c67872bccabf8fc12"
52-
sha256 cellar: :any, sonoma: "ebb47ab602bff2a08b8f610f862cb81df7252c6b3e1d66bf7a374b06edeaa8f6"
53-
sha256 cellar: :any, ventura: "1a4c4aef8caa5bfc661831b17b1bf84d6695dd4f686c48ef4b6bcd629fa92589"
54-
sha256 cellar: :any_skip_relocation, arm64_linux: "15eeed9a2b54c2822d34a1f951ccc7f0a06da22c4c6731f836ab8105d3a6609e"
55-
sha256 cellar: :any_skip_relocation, x86_64_linux: "186e8821eb5685fe54c2419c8cdcbf018460b3e60fe434ea6b53392b78e081bb"
24+
sha256 cellar: :any, arm64_tahoe: "e6fd6937db9dc61aebd99b2c780cfc3ff3695bf84fd18238e9c7ecc5a25ba593"
25+
sha256 cellar: :any, arm64_sequoia: "41dfc5305a87586f4f2d136f677bc198c79db7d30df81809d58d7b1fcb7eb38d"
26+
sha256 cellar: :any, arm64_sonoma: "bacb6f49ec2828235426ded597644a0bcca26ee5d15b16f310edf263611de1ca"
27+
sha256 cellar: :any, sonoma: "b939da5923b96d4255861e2dc0f4e94782c611f2c1b980f484ea38e6ae4edf73"
28+
sha256 cellar: :any_skip_relocation, arm64_linux: "42589a10177bdc704cababe52c87c3f2ef8aa2bd16ea06fb494c7316be1f7458"
29+
sha256 cellar: :any_skip_relocation, x86_64_linux: "6bf96f0464fe141e3dcb43ef964142ecdec61b3b8906b7f3e0962c8020f27306"
5630
end
5731

5832
depends_on "asio" => :build
@@ -85,11 +59,6 @@ class Musikcube < Formula
8559
end
8660

8761
def install
88-
if build.stable?
89-
resource("asio.patch").stage { buildpath.install Dir["*"].first => "asio.patch" }
90-
Patch.create(:p1, File.read("asio.patch")).apply
91-
end
92-
9362
# Pretend to be Nix to dynamically link ncurses on macOS.
9463
ENV["NIX_CC"] = ENV.cc
9564

@@ -113,21 +82,3 @@ def install
11382
end
11483
end
11584
end
116-
117-
__END__
118-
--- a/a5a8a4ba6e21e09185ce10b5ecb48d6bb30f3d07.patch
119-
+++ b/a5a8a4ba6e21e09185ce10b5ecb48d6bb30f3d07.patch
120-
@@ -29,13 +29,6 @@ Subject: [PATCH] Update to asio 1.36.0
121-
create mode 100644 src/3rdparty/include/websocketpp/transport/debug/connection.hpp
122-
create mode 100644 src/3rdparty/include/websocketpp/transport/debug/endpoint.hpp
123-
124-
-diff --git a/src/3rdparty/asio b/src/3rdparty/asio
125-
-index f693a3eb7fe72a5f19b975289afc4f437d373d9c..231cb29bab30f82712fcd54faaea42424cc6e710 160000
126-
---- a/src/3rdparty/asio
127-
-+++ b/src/3rdparty/asio
128-
-@@ -1 +1 @@
129-
--Subproject commit f693a3eb7fe72a5f19b975289afc4f437d373d9c
130-
-+Subproject commit 231cb29bab30f82712fcd54faaea42424cc6e710
131-
diff --git a/src/3rdparty/include/websocketpp/roles/server_endpoint.hpp b/src/3rdparty/include/websocketpp/roles/server_endpoint.hpp
132-
index 9cc652f75ce1c31c597341e5ec2ad47ce17a40be..1967a4733e1a77045f8b5bce6cd0fad335c7a4a5 100644
133-
--- a/src/3rdparty/include/websocketpp/roles/server_endpoint.hpp

0 commit comments

Comments
 (0)