From 91499171221d26e598e3eeebb68e5cf50b200cfd Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 12 Dec 2023 03:22:13 +0100 Subject: [PATCH] docs: Add step to install dependencies for a successfull build --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d24b528..ffdd0ef 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,13 @@ If you want to help me accelerate this process, please feel free to contact me a cd DownOnSpot ``` -2. Build +2. Install dependencies + + If you are on Linux, make sure you have the `libasound2-dev` package installed. + Additionally, you need the [libmp3lame](https://www.rarewares.org/mp3-lame-libraries.php#libmp3lame) library. + On Mac OS, run `brew install lame`, provided you have [Homebrew](https://brew.sh/) installed. + +3. Build ```bash cargo build --release @@ -64,10 +70,6 @@ If you want to help me accelerate this process, please feel free to contact me a > > If you do not want to use `free-librespot` (i.e. if you are using a paid Spotify account), replace `git = "ssh://git@github.com/oSumAtrIX/free-librespot.git"` with `librespot = "0.4.2"` inside the `Cargo.toml` file. -> [!WARNING] -> If you get a linker error, you might be missing the [libmp3lame](https://www.rarewares.org/mp3-lame-libraries.php#libmp3lame) library. -> On Mac OS, run `brew install lame`, provided you have [Homebrew](https://brew.sh/) installed. - ## 🕹️ Usage 1. Create a [new application](https://developer.spotify.com/dashboard/applications) on the Spotify developer dashboard