Skip to content

Instantly share code, notes, and snippets.

@forslund
Last active December 21, 2024 02:42
Show Gist options
  • 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
@SmatMan
Copy link

SmatMan commented Dec 21, 2024

thank you! found this very useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment