Merge pull request #417 from slackline/slackline

Slackline
This commit is contained in:
Johannes Pohl 2018-10-25 13:03:28 +02:00 committed by GitHub
commit 7890baf54a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,6 +100,53 @@ For additional command line arguments, add in `/etc/rc.conf`:
Start and stop the server with `sudo service snapserver start` and `sudo service snapserver stop`.
## Gentoo (native)
Snapcast is available under Gentoo's [Portage](https://wiki.gentoo.org/wiki/Portage) package management system. Portage utilises `USE` flags to determine what components are built on compilation. The availabe options are...
equery u snapcast
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for media-sound/snapcast-9999:
U I
+ - avahi : Build with avahi support
+ + client : Build and install Snapcast client component
+ - flac : Build with FLAC compression support
+ + server : Build and install Snapcast server component
- - static-libs : Build static libs
- - tremor : Build with TREMOR version of vorbis
+ - vorbis : Build with libvorbis support
These can be set either in the [global configuration](https://wiki.gentoo.org/wiki//etc/portage/make.conf#USE) file `/etc/portage/make.conf` or on a per-package basis (as root):
if [ ! -d "$DIRECTORY" ]; then
mkdir /etc/portage/package.use/media-sound
fi
echo 'media-sound/snapcast client server flac
If for example you only wish to build the server and *not* the client then preceed the server `USE` flag with `-` i.e.
echo 'media-sound/snapcast client -server
Once `USE` flags are configured emerge snapcast as root:
$ emerge -av snapcast
Starting the client or server depends on whether you are using `systemd` or `openrc`. To start using `openrc`:
/etc/init.d/snapclient start
/etc/init.d/snapserver start
To enable the serve and client to start under the default run-level:
rc-update add snapserver default
rc-update add snapclient default
## macOS (Native)
*Warning: macOS support is experimental*