Files
shairport-sync/CYGWIN.md
T
2019-02-21 13:20:31 +00:00

1.9 KiB

Installing to Cygwin V2

This is based on installing onto a fresh default installation of Cygwin 2.895 (64-bit installation) running in Windows 10 inside VMWare Fusion on a Mac.

The end result is Cygwin Shairport Sync, an AirPlay facility for Windows.

Setting up Windows

Set up Windows 10 and install all updates. Next, you must install the Bonjour Service, available from Apple in an installer called "Bonjour Print Services for Windows v2.0.2".

  • Download and run Bonjour Print Services for Windows v2.0.2
  • After accepting conditions, the installer will do a preliminary installion of the Bonjour Service and will then pause, inviting you to install Bonjour Print Services. You can decline to do this, as the Bonjour Service will have been installed.

Setting up Cygwin

  • Download the Cygwin installer from the official website. Save the installer in the Downloads folder.

  • Open a Window Command Prompt and enter the following (long!) command:

Downloads\setup-x86_64.exe -P cygrunsrv,dbus,avahi,avahi-tools,gnome-keyring,libavahi-client-devel,libglib2.0-devel,openssl,pkg-config,autoconf,automake,clang,libdaemon-devel,popt-devel,make,libao-devel,openssl-devel,libtool,git,wget,flex,bison

This will do a complete installation of Cygwin and all necessary packages.

  • Set up the D-Bus and Avahi Services:

  • Download, configure, compile and install libconfig:

$ git clone https://github.com/hyperrealm/libconfig.git
$ cd libconfig
$ autoreconf -fi
$ ./configure
$ make
$ make install
$ cd ..
  • Next, download, configure and compile Shairport Sync:
$ git clone https://github.com/mikebrady/shairport-sync.git
$ cd shairport-sync
$ autoreconf -fi
$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --with-ao --with-ssl=openssl --with-avahi --with-dbus-interface --sysconfdir=/etc
$ make
  • That's it. There should be a shairport-sync.exe file in your directory.