mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-05 20:31:42 +02:00
build using libs installed with brew
This commit is contained in:
parent
9ad33a066b
commit
f423bc0fc0
2 changed files with 4 additions and 13 deletions
|
@ -36,8 +36,8 @@ else ifeq ($(TARGET), MACOS)
|
||||||
|
|
||||||
CXX = /usr/bin/g++
|
CXX = /usr/bin/g++
|
||||||
STRIP = strip
|
STRIP = strip
|
||||||
CXXFLAGS += -DHAS_TREMOR -DHAS_COREAUDIO -DFREEBSD -DMACOS -DHAS_BONJOUR -I/usr/local/include -Wno-unused-local-typedef -Wno-deprecated
|
CXXFLAGS += -DHAS_OGG -DHAS_COREAUDIO -DFREEBSD -DMACOS -DHAS_BONJOUR -I/usr/local/include -Wno-unused-local-typedef -Wno-deprecated
|
||||||
LDFLAGS = -logg -lvorbisidec -lFLAC -L/usr/local/lib -framework AudioToolbox -framework CoreFoundation
|
LDFLAGS = -logg -lvorbis -lFLAC -L/usr/local/lib -framework AudioToolbox -framework CoreFoundation
|
||||||
OBJ += player/coreAudioPlayer.o browseBonjour.o
|
OBJ += player/coreAudioPlayer.o browseBonjour.o
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
13
doc/build.md
13
doc/build.md
|
@ -105,20 +105,11 @@ Start and stop the server with `sudo service snapserver start` and `sudo service
|
||||||
*Warning: macOS support is experimental*
|
*Warning: macOS support is experimental*
|
||||||
|
|
||||||
Install Xcode from the App Store
|
Install Xcode from the App Store
|
||||||
Install the build tools and required libs:
|
|
||||||
|
|
||||||
$ brew install autoconf automake pkg-config libtool
|
|
||||||
|
|
||||||
###Build Snapclient
|
###Build Snapclient
|
||||||
Build the external libs:
|
Install the required libs:
|
||||||
|
|
||||||
$ cd <snapcast dir>/externals/flac
|
$ brew install flac libvorbis
|
||||||
$ ./autogen.sh
|
|
||||||
$ ./configure
|
|
||||||
$ make
|
|
||||||
$ make install
|
|
||||||
|
|
||||||
Repeat for `ogg` and `tremor`
|
|
||||||
|
|
||||||
`cd` into the Snapclient src-root directory:
|
`cd` into the Snapclient src-root directory:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue