BSD Ports

audio/shairport-sync 5.6.1 FreeBSD

AirPlay audio player with multi-room audio synchronisation capability

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
a8851fe81b
License
BSD3CLAUSE
Categories
audio
Package size
165.0 KiB, 409.3 KiB installed

Description

Shairport Sync is an AirPlay audio player - it plays audio streamed from iTunes, iOS devices and other AirPlay sources such as Quicktime Player and ForkedDaapd, among others. Audio played by a Shairport Sync-powered device stays synchronised with the source and hence with similar devices playing the same source. In this way, synchronised multi-room audio is possible without difficulty.

In the other systems

SystemPortVersion
FreeBSDaudio/shairport-sync5.6.1
OpenBSDaudio/shairport-sync4.3.7p0
NetBSDaudio/shairport-sync4.3.7nb3
HardenedBSDaudio/shairport-sync5.5.2
GhostBSDaudio/shairport-sync5.5.2

Install

Binary package:

pkg install shairport-sync

From the ports tree:

cd /usr/ports/audio/shairport-sync/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	shairport-sync>0:audio/shairport-sync

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest5.5.25.6-4.3.7_15.6
FreeBSD:14:quarterly5.5.25.5.2n/a4.3.7_15.5.2
FreeBSD:15:latest5.65.6n/a4.3.7_14.3.7_1
FreeBSD:15:quarterly5.5.25.5.2n/an/an/a
FreeBSD:16:latest5.5.25.6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 5

The full lists below include those, and their dependencies in turn.

Build dependencies 91
Run dependencies 84

No port depends on this one.

Configuration

Options name: audio_shairport-sync

OptionDefaultDescription
AIRPLAY2onBuild with AirPlay 2 protocol support
ALACoffBuild with libalac support (experimental)
ALSAoffALSA audio architecture support
MQTToffBuild with MQTT protocol support
PULSEAUDIOoffPulseAudio sound server support
SNDIOonSndio audio support
USES
autoreconf libtool localbase pkgconfig ssl
Service scripts
shairport-sync

Message after installing

Shairport Sync is using AirPlay 2. Please make sure you enable and start nqptp.

# sysrc nqptp_enable=YES
# service nqptp start

The sndio "default" device does not necessarily correspond to the
default FreeBSD sound device shown by /dev/sndstat. If Shairport Sync
is visible to AirPlay clients but exits when playback starts with an
error such as:

output configuration search for request: S16/44100/2 failed

check the available sound devices with:

# cat /dev/sndstat

and explicitly select the desired sndio device in:

/usr/local/etc/shairport-sync.conf

For example, if the desired device corresponds to rsnd/8:

sndio =
{
 device = "rsnd/8";
 output_rate = 48000;
 output_format = "S16_LE";
 output_channels = 2;
};

Adjust the rsnd device number as appropriate for the system.

Files

Manual pages 1
  • shairport-sync(1)
pkg-plist 3
  • bin/shairport-sync
  • share/man/man1/shairport-sync.1.gz
  • @sample etc/shairport-sync.conf.sample
distinfo 1
FileSizeSHA256
mikebrady-shairport-sync-5.6.1_GH0.tar.gz71969448d2ac1afa52d86766bc328694fa5d2d5f13a674f3e980f00d95d957453e5ee1

Commit history 11

DateCommitCreditsLog message
a8851fe81b Emanuel Haupt audio/shairport-sync: Update to 5.6.1
21d744cfa9 Emanuel Haupt audio/shairport-sync: Pulseaudio configure option has changed
Pulseaudio configure option was changed: -PULSEAUDIO_CONFIGURE_ON= --with-pa +PULSEAUDIO_CONFIGURE_ON= --with-pulseaudio PR: 299690 Reported by: feld
a30b504025 Emanuel Haupt audio/shairport-sync: Update to 5.6
45a47e1647 Emanuel Haupt audio/shairport-sync: Update to 5.5.2
161357c4a7 Emanuel Haupt audio/shairport-sync: Update to 5.5.1

The latest 5 of 11 in the history this site was built from.