mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 16:48:52 +02:00
Restoring line breaks
This commit is contained in:
parent
5d6c3bedc1
commit
2cb9480bdd
1 changed files with 11 additions and 11 deletions
22
doc/build.md
22
doc/build.md
|
@ -1,5 +1,5 @@
|
|||
# Build Snapcast
|
||||
Clone the Snapcast repository. To do this, you need git.
|
||||
Clone the Snapcast repository. To do this, you need git.
|
||||
For Debian derivates (e.g. Raspbian, Debian, Ubuntu, Mint):
|
||||
|
||||
$ sudo apt-get install git
|
||||
|
@ -16,7 +16,7 @@ Clone Snapcast:
|
|||
|
||||
$ git clone https://github.com/badaix/snapcast.git
|
||||
|
||||
this creates a directory `snapcast`, in the following referred to as `<snapcast dir>`.
|
||||
this creates a directory `snapcast`, in the following referred to as `<snapcast dir>`.
|
||||
Next clone the external submodules:
|
||||
|
||||
$ cd <snapcast dir>/externals
|
||||
|
@ -24,7 +24,7 @@ Next clone the external submodules:
|
|||
|
||||
|
||||
## Linux (Native)
|
||||
Install the build tools and required libs:
|
||||
Install the build tools and required libs:
|
||||
For Debian derivates (e.g. Raspbian, Debian, Ubuntu, Mint):
|
||||
|
||||
$ sudo apt-get install build-essential
|
||||
|
@ -76,7 +76,7 @@ This will copy the server binary to `/usr/bin` and update init.d/systemd to star
|
|||
|
||||
|
||||
## FreeBSD (Native)
|
||||
Install the build tools and required libs:
|
||||
Install the build tools and required libs:
|
||||
|
||||
$ sudo pkg install gmake gcc bash avahi libogg libvorbis flac
|
||||
|
||||
|
@ -90,7 +90,7 @@ Install Snapserver
|
|||
|
||||
$ sudo gmake TARGET=FREEBSD 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`:
|
||||
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`:
|
||||
|
||||
snapserver_enable="YES"
|
||||
|
||||
|
@ -155,7 +155,7 @@ To enable the serve and client to start under the default run-level:
|
|||
2. Install [Homebrew](http://brew.sh)
|
||||
3. Install the required libs
|
||||
|
||||
```
|
||||
```
|
||||
$ brew install flac libvorbis
|
||||
```
|
||||
|
||||
|
@ -184,7 +184,7 @@ Install Snapserver
|
|||
This will copy the server binary to `/usr/local/bin` and create a Launch Agent to start the server as a daemon.
|
||||
|
||||
## Android (Cross compile)
|
||||
Cross compilation for Android is done with the [Android NDK](http://developer.android.com/tools/sdk/ndk/index.html) on a Linux host machine.
|
||||
Cross compilation for Android is done with the [Android NDK](http://developer.android.com/tools/sdk/ndk/index.html) on a Linux host machine.
|
||||
|
||||
### Android NDK setup
|
||||
http://developer.android.com/ndk/guides/standalone_toolchain.html
|
||||
|
@ -204,7 +204,7 @@ Cross compile and install FLAC, ogg, and tremor (only needed once):
|
|||
$ cd <snapcast dir>/externals
|
||||
$ make NDK_DIR=<android-ndk dir>-arm ARCH=arm
|
||||
$ make NDK_DIR=<android-ndk dir>-x86 ARCH=x86
|
||||
|
||||
|
||||
Compile the Snapclient:
|
||||
|
||||
$ cd <snapcast dir>/client
|
||||
|
@ -214,7 +214,7 @@ The binaries for `armeabi` and `x86` will be copied into the Android's assets di
|
|||
|
||||
|
||||
## OpenWrt/LEDE (Cross compile)
|
||||
Cross compilation for OpenWrt is done with the [OpenWrt build system](https://wiki.openwrt.org/about/toolchain) on a Linux host machine:
|
||||
Cross compilation for OpenWrt is done with the [OpenWrt build system](https://wiki.openwrt.org/about/toolchain) on a Linux host machine:
|
||||
https://wiki.openwrt.org/doc/howto/build
|
||||
|
||||
For LEDE:
|
||||
|
@ -226,7 +226,7 @@ https://wiki.openwrt.org/doc/howto/buildroot.exigence
|
|||
Clone OpenWrt to some place in your home directory (`<buildroot dir>`)
|
||||
|
||||
$ git clone git://git.openwrt.org/15.05/openwrt.git
|
||||
|
||||
|
||||
...LEDE
|
||||
|
||||
$ git clone https://git.lede-project.org/source.git
|
||||
|
@ -244,7 +244,7 @@ Within the `<buildroot dir>` directory create symbolic links to the Snapcast sou
|
|||
$ ln -s <snapcast source> src
|
||||
$ ln -s <snapcast source>/openWrt/Makefile.openwrt Makefile
|
||||
|
||||
Build
|
||||
Build
|
||||
in menuconfig in `sxx/snapcast` select `Compile snapserver` and/or `Compile snapclient`
|
||||
|
||||
$ cd <buildroot dir>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue