Created
May 31, 2020 18:59
-
-
Save optroodt/f3c4ea14023791babd17e86eb49052f8 to your computer and use it in GitHub Desktop.
Build forked-daapd for Raspberry Pi Model B
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
Latest Raspbian (2020-02-14) based on Debian 10 Buster | |
==== | |
# Add ssh file to boot partition | |
sudo apt-get update | |
sudo apt-get install \ | |
build-essential git autotools-dev autoconf automake libtool gettext gawk \ | |
gperf antlr3 libantlr3c-dev libconfuse-dev libunistring-dev libsqlite3-dev \ | |
libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev \ | |
libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev \ | |
libevent-dev libplist-dev libsodium-dev libjson-c-dev libwebsockets-dev | |
sudo apt-get install openjdk-8-jre-headless openjdk-8-jre | |
sudo apt-get remove openjdk-11-jre-headless | |
git clone https://github.com/ejurgensen/forked-daapd.git | |
cd forked-daapd | |
autoreconf -i | |
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-spotify --enable-lastfm --with-libwebsockets --with-pulseaudio --disable-dependency-tracking | |
make | |
sudo make install | |
# change /etc/forked-daapd.conf | |
# - directory | |
# - user to pi | |
# - db file should be in user path? | |
# Take the forked-daapd.service file from the repository and copy it to: /etc/systemd/system | |
sudo systemctl reenable forked-daapd | |
sudo systemctl start forked-daapd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment