From d56e5c6c78a19db730a0960cbef1f1c5b1754745 Mon Sep 17 00:00:00 2001 From: Guillem Castro Date: Mon, 13 May 2024 21:50:45 +0200 Subject: [PATCH] Update workflows & README --- .github/workflows/build-linux.yml | 6 ------ .github/workflows/build-macos.yml | 2 -- .github/workflows/build-windows.yml | 2 -- .github/workflows/linux.yml | 6 ------ .github/workflows/macos.yml | 2 -- .github/workflows/windows.yml | 2 -- README.md | 23 +---------------------- 7 files changed, 1 insertion(+), 42 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index c8f7d50..315af8e 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -19,14 +19,8 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1.13 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - - name: Setup alsa - run: | - sudo apt-get update - sudo apt-get install -y libasound2-dev gcc alsa - name: Build run: | cargo build --verbose --release diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index bb3c20f..6e96b8e 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -19,8 +19,6 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1.13 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: Build diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index c2dffab..ee6c4e7 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -19,8 +19,6 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1.13 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: Build diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c38d994..566c07e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -19,14 +19,8 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1.13 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - - name: Setup alsa - run: | - sudo apt-get update - sudo apt-get install -y libasound2-dev gcc alsa - name: Build run: | cargo build --verbose --release diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b4ce110..afbc1e1 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -19,8 +19,6 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1.13 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: Build diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9d66e84..70fca7c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -19,8 +19,6 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1.13 - name: install Rust stable uses: dtolnay/rust-toolchain@stable - name: Build diff --git a/README.md b/README.md index 8f44eb4..5c6df77 100644 --- a/README.md +++ b/README.md @@ -4,30 +4,9 @@ A command line utility to download songs, podcasts, playlists and albums directl You need a Spotify Premium account. -## Dependencies - -spotify-dl depends on libflac - -### Debian-based distros - -``` -sudo apt install libflac-dev libasound2-dev -``` -### Red Hat-based distros - -``` -sudo dnf install flac-devel alsa-lib-devel -``` - -### MacOSX - -``` -brew install flac -``` - ## Installation -Before installation, make sure all dependencies are installed for your platform. +You can install it using `cargo`, `homebrew` or from source. ### Using `cargo`