Skip to content

Commit

Permalink
spotifyd 0.4.0
Browse files Browse the repository at this point in the history
autobump: add spotifyd

Signed-off-by: Rui Chen <[email protected]>

spotifyd: remove build patch

Signed-off-by: Rui Chen <[email protected]>

spotifyd: remove `dbus_keyring` feature

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Mar 8, 2025
1 parent 160d7d6 commit 3e50a88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3198,6 +3198,7 @@ spoofdpi
spot
spotbugs
spotify_player
spotifyd
sq
sql-formatter
sql-migrate
Expand Down
15 changes: 3 additions & 12 deletions Formula/s/spotifyd.rb
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
class Spotifyd < Formula
desc "Spotify daemon"
homepage "https://spotifyd.rs/"
url "https://github.com/Spotifyd/spotifyd/archive/refs/tags/v0.4.0.tar.gz"
sha256 "e96aa85dc6df2e3ce9635225fdcfe3bc7f353a2b5f4aa3bf4b042b3e9e8449b0"
license "GPL-3.0-only"
head "https://github.com/Spotifyd/spotifyd.git", branch: "master"

stable do
url "https://github.com/Spotifyd/spotifyd/archive/refs/tags/v0.3.5.tar.gz"
sha256 "59103f7097aa4e2ed960f1cc307ac8f4bdb2f0067aad664af32344aa8a972df7"

# rust 1.80 build patch, upstream pr ref, https://github.com/Spotifyd/spotifyd/pull/1297
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/7cb21d6370a1eae320f06a4f9150111db0bbf952/spotifyd/rust-1.80.patch"
sha256 "0bfc8c4805cc99c249d1411aff29a0d9107c3ce69f1fabbdc3ab41701ca4f2f6"
end
end

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
Expand All @@ -41,7 +32,7 @@ def install
ENV["COREAUDIO_SDK_PATH"] = MacOS.sdk_path_if_needed if OS.mac?

system "cargo", "install", "--no-default-features",
"--features", "dbus_keyring,portaudio_backend",
"--features", "dbus_mpris,portaudio_backend",
*std_cargo_args
end

Expand Down

0 comments on commit 3e50a88

Please sign in to comment.