Skip to content

Instantly share code, notes, and snippets.

@geta6
Created October 20, 2011 11:35
Show Gist options
  • Save geta6/1300937 to your computer and use it in GitHub Desktop.
Save geta6/1300937 to your computer and use it in GitHub Desktop.
Install ShairPort
cd /usr/local/src
git clone https://github.com/albertz/shairport
cd shairport
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'
vi shairport.pl
# 65 -- my $hairtunes_cli = $FindBin::Bin . '/hairtunes';
# 65 ++ my $hairtunes_cli = '/usr/local/bin/hairtunes';
cd /usr/local/bin
ln -s /usr/local/src/shirport/hairtunes
ln -s /usr/local/src/shirport/shairport.pl
mkdir -p ~/Library/LaunchAgents
cd ~/Library/LaunchAgents
ln -s /usr/local/src/shairport/org.mafipulation.shairport.plist
vi org.mafipulation.shairport.plist
# 13 -- RJ
# 13 ++ Gtx
launchctl load org.mafipulation.shairport.plist
launchctl start org.mafipulation.shairport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment