Created
October 20, 2011 11:35
-
-
Save geta6/1300937 to your computer and use it in GitHub Desktop.
Install ShairPort
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 -- RJ | |
# 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