Skip to content

Instantly share code, notes, and snippets.

@forslund
Last active November 10, 2020 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save forslund/e51149ca63027d4ee0bb9fc70278524c to your computer and use it in GitHub Desktop.
Save forslund/e51149ca63027d4ee0bb9fc70278524c to your computer and use it in GitHub Desktop.
Building deb package for librespot
# Add deb-src entry for your distribution
sudo echo "deb-src http://ports.ubuntu.com/ubuntu-ports focal main restricted multiverse universe" >> /etc/apt/sources.list
sudo apt-get update
# Install pre-requisites
sudo apt-get build-dep -y cargo
sudo apt-get install -y libssl-dev libcurl4-gnutls-dev quilt
# Install cargo-deb to build debin packages through cargo
cargo install cargo-deb
# Build librespot package
git clone https://github.com/librespot-org/librespot
cd librespot
cargo build --release
cargo deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment