mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-01 23:59:43 +02:00
Update build.md
This commit is contained in:
parent
4ba7c7c834
commit
2fd074b88e
1 changed files with 16 additions and 0 deletions
16
doc/build.md
16
doc/build.md
|
@ -8,6 +8,10 @@ For Arch derivates:
|
|||
|
||||
$ pacman -S git
|
||||
|
||||
For FreeBSD:
|
||||
|
||||
$ sudo pkg install git
|
||||
|
||||
Clone Snapcast:
|
||||
|
||||
$ git clone https://github.com/badaix/snapcast.git
|
||||
|
@ -71,6 +75,18 @@ Install Snapserver
|
|||
This will copy the server binary to `/usr/sbin` and update init.d/systemd to start the server as a daemon.
|
||||
|
||||
|
||||
##FreeBSD (Native)
|
||||
Install the build tools and required libs:
|
||||
|
||||
$ sudo pkg install gmake gcc bash avahi libogg libvorbis flac
|
||||
|
||||
###Build Snapserver
|
||||
`cd` into the Snapserver src-root directory:
|
||||
|
||||
$ cd <snapcast dir>/server
|
||||
$ gmake TARGET=FREEBSD
|
||||
|
||||
|
||||
##Android (Cross compile)
|
||||
Cross compilation for Android is done with the [Android NDK](http://developer.android.com/tools/sdk/ndk/index.html) on a Linux host machine.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue