mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 10:17:16 +02:00
merge with master
This commit is contained in:
parent
786d8b71e3
commit
6fae88dff7
4 changed files with 11 additions and 5 deletions
|
@ -63,7 +63,13 @@ On Alpine Linux (testing repository) do:
|
||||||
On Gentoo Linux do:
|
On Gentoo Linux do:
|
||||||
|
|
||||||
$ emerge --ask media-sound/snapcast
|
$ emerge --ask media-sound/snapcast
|
||||||
|
|
||||||
|
On Archlinux, snapcast is available through the AUR. To install, use your favorite AUR helper, or do:
|
||||||
|
|
||||||
|
$ git clone https://aur.archlinux.org/snapcast
|
||||||
|
$ cd snapcast
|
||||||
|
$ makepkg -si
|
||||||
|
|
||||||
SnapOS
|
SnapOS
|
||||||
------
|
------
|
||||||
For the brave of you, there is a guide with buildfiles available to build [SnapOS](https://github.com/badaix/snapos), a small and fast-booting OS to run Snapcast, comming in two flavors: [Buildroot](https://github.com/badaix/snapos/blob/master/buildroot-external/README.md) based, or [OpenWrt](https://github.com/badaix/snapos/tree/master/openwrt) based. Please note that there are no pre-build firmware packages available.
|
For the brave of you, there is a guide with buildfiles available to build [SnapOS](https://github.com/badaix/snapos), a small and fast-booting OS to run Snapcast, comming in two flavors: [Buildroot](https://github.com/badaix/snapos/blob/master/buildroot-external/README.md) based, or [OpenWrt](https://github.com/badaix/snapos/tree/master/openwrt) based. Please note that there are no pre-build firmware packages available.
|
||||||
|
|
|
@ -35,7 +35,7 @@ DEBUG=-O3
|
||||||
|
|
||||||
|
|
||||||
CXXFLAGS += $(ADD_CFLAGS) -std=c++0x -Wall -Wextra -Wpedantic -Wno-unused-function $(DEBUG) -DBOOST_ERROR_CODE_HEADER_ONLY -DHAS_FLAC -DHAS_OGG -DVERSION=\"$(VERSION)\" -I. -I.. -I../common
|
CXXFLAGS += $(ADD_CFLAGS) -std=c++0x -Wall -Wextra -Wpedantic -Wno-unused-function $(DEBUG) -DBOOST_ERROR_CODE_HEADER_ONLY -DHAS_FLAC -DHAS_OGG -DVERSION=\"$(VERSION)\" -I. -I.. -I../common
|
||||||
LDFLAGS = $(ADD_LDFLAGS) -logg -lFLAC
|
LDFLAGS += $(ADD_LDFLAGS) -logg -lFLAC
|
||||||
OBJ = snapclient.o stream.o client_connection.o time_provider.o player/player.o decoder/pcm_decoder.o decoder/ogg_decoder.o decoder/flac_decoder.o controller.o ../common/sample_format.o
|
OBJ = snapclient.o stream.o client_connection.o time_provider.o player/player.o decoder/pcm_decoder.o decoder/ogg_decoder.o decoder/flac_decoder.o controller.o ../common/sample_format.o
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,8 +35,8 @@ Compilation requires gcc 4.8 or higher, so it's highly recommended to use Debian
|
||||||
For Arch derivates:
|
For Arch derivates:
|
||||||
|
|
||||||
$ sudo pacman -S base-devel
|
$ sudo pacman -S base-devel
|
||||||
$ sudo pacman -S alsa-lib avahi libvorbis flac alsa-utils
|
$ sudo pacman -S alsa-lib avahi libvorbis flac alsa-utils boost
|
||||||
|
|
||||||
For Fedora (and probably RHEL, CentOS & Scientific Linux, but untested):
|
For Fedora (and probably RHEL, CentOS & Scientific Linux, but untested):
|
||||||
|
|
||||||
$ sudo dnf install @development-tools
|
$ sudo dnf install @development-tools
|
||||||
|
|
|
@ -36,7 +36,7 @@ SANITIZE=
|
||||||
#-fsanitize=thread
|
#-fsanitize=thread
|
||||||
|
|
||||||
CXXFLAGS += $(ADD_CFLAGS) $(SANITIZE) -std=c++14 -Wall -Wextra -Wpedantic -Wno-unused-function $(DEBUG) -DBOOST_ERROR_CODE_HEADER_ONLY -DHAS_FLAC -DHAS_OGG -DHAS_VORBIS -DHAS_VORBIS_ENC -DVERSION=\"$(VERSION)\" -I. -I.. -I../common
|
CXXFLAGS += $(ADD_CFLAGS) $(SANITIZE) -std=c++14 -Wall -Wextra -Wpedantic -Wno-unused-function $(DEBUG) -DBOOST_ERROR_CODE_HEADER_ONLY -DHAS_FLAC -DHAS_OGG -DHAS_VORBIS -DHAS_VORBIS_ENC -DVERSION=\"$(VERSION)\" -I. -I.. -I../common
|
||||||
LDFLAGS = $(ADD_LDFLAGS) $(SANITIZE) -lvorbis -lvorbisenc -logg -lFLAC
|
LDFLAGS += $(ADD_LDFLAGS) $(SANITIZE) -lvorbis -lvorbisenc -logg -lFLAC
|
||||||
OBJ = snapserver.o config.o control_server.o control_session_tcp.o control_session_http.o stream_server.o stream_session.o streamreader/stream_uri.o streamreader/base64.o streamreader/stream_manager.o streamreader/pcm_stream.o streamreader/pipe_stream.o streamreader/file_stream.o streamreader/process_stream.o streamreader/airplay_stream.o streamreader/librespot_stream.o streamreader/watchdog.o encoder/encoder_factory.o encoder/flac_encoder.o encoder/pcm_encoder.o encoder/ogg_encoder.o ../common/sample_format.o
|
OBJ = snapserver.o config.o control_server.o control_session_tcp.o control_session_http.o stream_server.o stream_session.o streamreader/stream_uri.o streamreader/base64.o streamreader/stream_manager.o streamreader/pcm_stream.o streamreader/pipe_stream.o streamreader/file_stream.o streamreader/process_stream.o streamreader/airplay_stream.o streamreader/librespot_stream.o streamreader/watchdog.o encoder/encoder_factory.o encoder/flac_encoder.o encoder/pcm_encoder.o encoder/ogg_encoder.o ../common/sample_format.o
|
||||||
|
|
||||||
ifneq (,$(TARGET))
|
ifneq (,$(TARGET))
|
||||||
|
|
Loading…
Add table
Reference in a new issue