Skip to content

Commit c09abc4

Browse files
BrewTestBotdaeho-ro
authored andcommitted
musikcube 3.0.5
1 parent 2b48124 commit c09abc4

File tree

1 file changed

+2
-48
lines changed

1 file changed

+2
-48
lines changed

Formula/m/musikcube.rb

Lines changed: 2 additions & 48 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,33 +13,8 @@ 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)
@@ -85,11 +62,6 @@ class Musikcube < Formula
8562
end
8663

8764
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-
9365
# Pretend to be Nix to dynamically link ncurses on macOS.
9466
ENV["NIX_CC"] = ENV.cc
9567

@@ -113,21 +85,3 @@ def install
11385
end
11486
end
11587
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)