mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 10:51:45 +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++
|
||||
STRIP = strip
|
||||
CXXFLAGS += -DHAS_TREMOR -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
|
||||
CXXFLAGS += -DHAS_OGG -DHAS_COREAUDIO -DFREEBSD -DMACOS -DHAS_BONJOUR -I/usr/local/include -Wno-unused-local-typedef -Wno-deprecated
|
||||
LDFLAGS = -logg -lvorbis -lFLAC -L/usr/local/lib -framework AudioToolbox -framework CoreFoundation
|
||||
OBJ += player/coreAudioPlayer.o browseBonjour.o
|
||||
|
||||
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*
|
||||
|
||||
Install Xcode from the App Store
|
||||
Install the build tools and required libs:
|
||||
|
||||
$ brew install autoconf automake pkg-config libtool
|
||||
|
||||
###Build Snapclient
|
||||
Build the external libs:
|
||||
Install the required libs:
|
||||
|
||||
$ cd <snapcast dir>/externals/flac
|
||||
$ ./autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
$ make install
|
||||
|
||||
Repeat for `ogg` and `tremor`
|
||||
$ brew install flac libvorbis
|
||||
|
||||
`cd` into the Snapclient src-root directory:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue