ShairPort speaker showing up on iOS 15 and successfully streaming to it.
#!/bin/bash # Update Perl brew install perl perl -v # Validate the Perl version sudo mv /usr/bin/perl /usr/bin/perl5.8 # Move the existing Perl install sudo ls -s /usr/local/Cellar/perl/5.22.0/bin/perl /usr/bin/ # Symlink the newly installed version to /usr/bin/ # Install requirements brew install pkg-config libao perl -MCPAN -e 'install Crypt::OpenSSL::RSA' perl -MCPAN -e 'install IO::Socket::INET6' perl -MCPAN -e 'install HTTP::Message' perl -MCPAN -e 'install Builder' # Required to install Net::SDP perl -MCPAN -e 'install Net::SDP' # Clone repository brew install git git clone cd shairport/ export ARCHFLAGS="-arch i386" make # Start Shairport perl Success
Since macOS (formerly Mac OS X) Leopard is delivered with Perl 5.8.8 and we need Perl 5.10 or higher.We need to install Homebrew, or since we’re dealing with a PPC machine, Tigerbrew.
Running the service on the iMac G4, Terminal window over SSH Installation instructions I almost reverted to dual-booting the machine to a Linux distro, but part of the charm of the machine is the Leopard OS and it should be possible. Sadly, no compatible Node.js version exists for PowerPC and thus I worked my way back to older forks to finally end up at the original repository again. The latest fork of shairport is Shairport Sync, based on Node.js. I was also no longer able to find an activated version online and soon, that path ended. AirServer 2.2.1 is the last version that supports PowerPC, but would no longer activate. The two realistic options were an older version of AirServer or using open-source projects such as Shairport. The next best thing would be to find a way to set it up as an AirPlay Server, after all, this has been done for a while and is a popular Raspberry Pi project.
The Spotify client is no longer working on the PowerPC platform, let alone a way to connect to Apple Music. And to transfer MP3 files to the machine in the age of steaming services sounds like a PITA. As such, nostalgia for older games is on the Windows platform. When the iMac G4 was released, I was 9 years old and had a hand-me-down Windows machine for my gaming purposes.