]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Create OPENBSD.md
authorMike Brady <mikebrady@eircom.net>
Fri, 9 Feb 2018 20:51:17 +0000 (20:51 +0000)
committerGitHub <noreply@github.com>
Fri, 9 Feb 2018 20:51:17 +0000 (20:51 +0000)
OPENBSD.md [new file with mode: 0644]

diff --git a/OPENBSD.md b/OPENBSD.md
new file mode 100644 (file)
index 0000000..6b0428f
--- /dev/null
@@ -0,0 +1,48 @@
+Shairport Sync on OpenBSD using `sndio`
+----
+This is an initial note about installing Shairport Sync on OpenBSD. Shairport Sync compiles and maybe runs (?) natively on OpenBSD using the `sndio` back end.
+
+General
+----
+This build was done on a default build of `OpenBSD 6.2 GENERIC.MP#134 amd64`.
+
+First, update everything.
+```
+TBA
+```
+Install the Avahi subsystem. 
+```
+TBA
+```
+Enable the D-Bus and Avahi subsystems
+```
+TBA
+```
+Building
+----
+
+Install the packages that are needed for Shairport Sync to be downloaded and built successfully.
+```
+TBA
+```
+Now, download Shairport Sync from GitHub:
+```
+$ git clone https://github.com/mikebrady/shairport-sync.git
+$ cd shairport-sync
+```
+Next, switch to the `development` branch, configure the build and compile it:
+
+```
+$ git checkout development
+$ autoreconf -i -f
+$ ./configure  --with-avahi --with-ssl=openssl --with-sndio --with-os=openbsd
+$ make
+```
+
+There is no make install yet -- you're on your own.
+
+Using the `sndio` backend
+----
+
+The `sndio` back end does not have a hardware volume control facility.
+You should set the volume to maximum before use, using, for example, the `mixerctl` command.