Shairport
Shairport is a utility for emulating AirPlay functionality on Linux. However, since it has been created by reverse-engineering Apple's key used in its AirPort Express, be advised that the functionality may be removed at Apple's discretion. ShairPort does not support AirPlay v2 (video and photo streaming).
Installation
Install the shairport-sync package.
Configuration
The configuration file can be found at /etc/conf.d/shairport-sync
. It consists on a single variable allowing arguments to be passed to the service. In the example below, iTunes would label the server as 'My Server Name' rather than the default 'Shairport Sync on <hostname>'.
/etc/conf.d/shairport-sync
# ShairportSync Daemon options SHAIRPORT_ARGS="--name='My Server Name'"