Last active
December 21, 2024 02:42
-
-
Save forslund/e51149ca63027d4ee0bb9fc70278524c to your computer and use it in GitHub Desktop.
Building deb package for librespot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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
thank you! found this very useful