Created
March 15, 2010 07:24
-
-
Save bergman/332600 to your computer and use it in GitHub Desktop.
mp3 streaming in mpd
This file contains hidden or 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
# install some package maintenance scripts (needed to build the .deb) | |
sudo aptitude install devscripts pbuilder | |
# get the source | |
apt-get source mpd | |
cd mpd-0.15.4 | |
# change DEB_CONFIGURE_USER_FLAGS to include --enable-lame-encoder | |
vim debian/rules | |
# build dependencies | |
sudo /usr/lib/pbuilder/pbuilder-satisfydepends | |
# lame isn't a listed dependency so install it manually | |
sudo aptitude install libmp3lame-dev | |
# build .deb | |
debuild binary | |
# install package | |
cd .. | |
sudo dpkg -i mpd_0.15.4-1ubuntu1_amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment