Skip to content

Commit

Permalink
mpd: revision bump (libnfs 6.0.0)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>

mpd: add libnfs build patch

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 13, 2024
1 parent ae89a84 commit 558d952
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Formula/m/mpd.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
class Mpd < Formula
desc "Music Player Daemon"
homepage "https://github.com/MusicPlayerDaemon/MPD"
url "https://github.com/MusicPlayerDaemon/MPD/archive/refs/tags/v0.23.16.tar.gz"
sha256 "a3ba8a4ef53c681ae5d415a79fbd1409d61cb3d03389a51595af24b330ecbb61"
license "GPL-2.0-or-later"
revision 1
head "https://github.com/MusicPlayerDaemon/MPD.git", branch: "master"

stable do
url "https://github.com/MusicPlayerDaemon/MPD/archive/refs/tags/v0.23.16.tar.gz"
sha256 "a3ba8a4ef53c681ae5d415a79fbd1409d61cb3d03389a51595af24b330ecbb61"

# support libnfs 6.0.0, upstream commit ref, https://github.com/MusicPlayerDaemon/MPD/commit/31e583e9f8d14b9e67eab2581be8e21cd5712b47
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/557ad661621fa81b5e6ff92ab169ba40eba58786/mpd/0.23.16-libnfs-6.patch"
sha256 "e0f2e6783fbb92d9850d31f245044068dc0614721788d16ecfa8aacfc5c27ff3"
end
end

bottle do
sha256 cellar: :any, arm64_sequoia: "1006ec44f5c3e1552377a51b5248771289e1771a2b31a70413afe24f2b3afdd5"
sha256 cellar: :any, arm64_sonoma: "52b6640e47e904a95131c300f18c65bf61c2bd267c68d57d692bd9ff8a5f08e4"
Expand Down Expand Up @@ -71,6 +81,7 @@ def install
ENV.libcxx

args = %W[
-Dcpp_std=c++20
--sysconfdir=#{etc}
-Dmad=disabled
-Dmpcdec=disabled
Expand Down

0 comments on commit 558d952

Please sign in to comment.