Skip to content

Instantly share code, notes, and snippets.

@bergman
Created March 15, 2010 07:24
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 bergman/332600 to your computer and use it in GitHub Desktop.
Save bergman/332600 to your computer and use it in GitHub Desktop.
mp3 streaming in mpd
# 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