File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,10 +20,6 @@ class Ncspot < Formula
2020
2121 uses_from_macos "python" => :build
2222
23- on_macos do
24- depends_on "portaudio"
25- end
26-
2723 on_linux do
2824 depends_on "openssl@3" # Uses Secure Transport on macOS
2925 depends_on "pulseaudio"
@@ -33,13 +29,13 @@ def install
3329 if OS . mac?
3430 ENV [ "COREAUDIO_SDK_PATH" ] = MacOS . sdk_path
3531 args = %w[ --no-default-features ]
36- features = %w[ portaudio_backend cursive/pancurses-backend share_clipboard ]
32+ features = %w[ rodio_backend cursive/pancurses-backend share_clipboard ]
3733 end
3834 system "cargo" , "install" , *args , *std_cargo_args ( features :)
3935 end
4036
4137 test do
42- backend = OS . mac? ? "portaudio " : "pulseaudio"
38+ backend = OS . mac? ? "rodio " : "pulseaudio"
4339 assert_match version . to_s , shell_output ( "#{ bin } /ncspot --version" )
4440 assert_match backend , shell_output ( "#{ bin } /ncspot --help" )
4541
You can’t perform that action at this time.
0 commit comments