Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD build doc update #1051

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions doc/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,27 @@ sudo pkg install alsa-lib pulseaudio gmake gcc bash avahi libogg libvorbis opus

### Build Snapserver

`cd` into the Snapserver src-root directory:
Setup cmake build environment:

```sh
cd <snapcast dir>/server
gmake TARGET=FREEBSD
cd <snapcast dir>
mkdir build
cd build
cmake .. -DBUILD_CLIENT=OFF
```

`cd` into the Snapserver build directory:

```sh
cd <snapcast dir>/build
make
```

Install Snapserver

```sh
sudo gmake TARGET=FREEBSD install
cd <snapcast dir>/build
make install
```

This will copy the server binary to `/usr/local/bin` and the startup script to `/usr/local/etc/rc.d/snapserver`. To enable the Snapserver, add this line to `/etc/rc.conf`:
Expand Down