Files
shairport-sync/INSTALL
T
okertanov 2a0023880d Merged with ShairPort 0.04 update.
http://mafipulation.org/blagoblig/2011/04/08
    shairport-0.04.tar.gz
    12/4: Updated to 0.04 - compile fixed on non-x86 platforms
2011-04-14 00:54:46 +03:00

37 lines
1.3 KiB
Plaintext

Type 'make' to build the packet decoder, 'hairtunes'.
You need the following installed:
openssl
libao (if you use homebrew, use brew install libao)
avahi (avahi-daemon running and avahi-publish-service on path, no need on Mac OSX)
Perl
Debian/Ubuntu users need:
libssl-dev libcrypt-openssl-rsa-perl libao2 libao-dev libio-socket-inet6-perl libwww-perl avahi-utils
Perl modules (install from CPAN if needed e.g. `perl -MCPAN -e 'install X'`):
HTTP::Message
Crypt::OpenSSL::RSA
IO::Socket::INET6
MacOSX:
* install XCode
* install homebrew (https://github.com/mxcl/homebrew)
* export ARCHFLAGS="-arch x86_64"
* brew install pkg-config libao
* make
* perl -MCPAN -e 'install Crypt::OpenSSL::RSA'
* perl -MCPAN -e 'install IO::Socket::INET6'
* perl shairport.pl
OSX 10.5 only bundles perl 5.8, which won't work with shairport.
After getting a update here (http://www.perl.org/get.html), it worked.
How to run as a daemon on Mac 10.6
------
* cp hairtunes shairport.pl /usr/local/bin
* vi /usr/local/bin/shairport.pl, change the path of hairtunes from ./hairtunes to /usr/local/bin/hairtunes
* cp org.mafipulation.shairport.plist ~/Library/LaunchAgents/
* launchctl load org.mafipulation.shairport.plist
* launchctl unload org.mafipulation.shairport.plist (to remove)