Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2016 17:32:49 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426607 - in head/audio: . shairport-sync shairport-sync/files
Message-ID:  <201611201732.uAKHWn2w082789@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Nov 20 17:32:49 2016
New Revision: 426607
URL: https://svnweb.freebsd.org/changeset/ports/426607

Log:
  Add shairport-sync 2.8.6, airPlay audio player with multi-room audio
  synchronisation capability.

Added:
  head/audio/shairport-sync/
  head/audio/shairport-sync/Makefile   (contents, props changed)
  head/audio/shairport-sync/distinfo   (contents, props changed)
  head/audio/shairport-sync/files/
  head/audio/shairport-sync/files/shairport-sync.in   (contents, props changed)
  head/audio/shairport-sync/pkg-descr   (contents, props changed)
  head/audio/shairport-sync/pkg-plist   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Sun Nov 20 17:22:14 2016	(r426606)
+++ head/audio/Makefile	Sun Nov 20 17:32:49 2016	(r426607)
@@ -709,6 +709,7 @@
     SUBDIR += sfront
     SUBDIR += shairplay
     SUBDIR += shairport
+    SUBDIR += shairport-sync
     SUBDIR += shntool
     SUBDIR += shorten
     SUBDIR += shout

Added: head/audio/shairport-sync/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/shairport-sync/Makefile	Sun Nov 20 17:32:49 2016	(r426607)
@@ -0,0 +1,38 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	shairport-sync
+PORTVERSION=	2.8.6
+CATEGORIES=	audio
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	AirPlay audio player with multi-room audio synchronisation capability
+
+LICENSE=	BSD3CLAUSE
+
+LIB_DEPENDS=	libasound.so:audio/alsa-lib \
+		libconfig.so:devel/libconfig \
+		libdaemon.so:devel/libdaemon \
+		libpopt.so:devel/popt \
+		libsoxr.so:audio/libsoxr \
+		libavahi-client.so:net/avahi-app
+
+GNU_CONFIGURE=	yes
+USES=		autoreconf libtool pkgconfig ssl
+USE_GITHUB=	yes
+
+USE_RC_SUBR=	${PORTNAME}
+
+GH_ACCOUNT=	mikebrady
+
+CONFIGURE_ARGS=	--sysconfdir=${LOCALBASE}/etc \
+		--with-piddir=/var/run/shairport-sync --with-avahi \
+		--with-ssl=openssl --with-metadata --with-soxr --with-alsa \
+		--with-stdout --with-pipe
+
+CFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-lcrypto
+
+CONFIGURE_ENV+=	SSL_CFLAGS=-I${OPENSSLINC} SSL_LIBS=-L${OPENSSLLIB}
+
+.include <bsd.port.mk>

Added: head/audio/shairport-sync/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/shairport-sync/distinfo	Sun Nov 20 17:32:49 2016	(r426607)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1479651183
+SHA256 (mikebrady-shairport-sync-2.8.6_GH0.tar.gz) = 2e73416ac8fdda1657034afaa143f1710852ebed06e0aa43dafc2b7dc5eb653d
+SIZE (mikebrady-shairport-sync-2.8.6_GH0.tar.gz) = 250257

Added: head/audio/shairport-sync/files/shairport-sync.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/shairport-sync/files/shairport-sync.in	Sun Nov 20 17:32:49 2016	(r426607)
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: shairport_sync
+# REQUIRE: LOGIN avahi_daemon
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable shairport_sync:
+#
+# shairport_sync_enable (bool):	Set it to "YES" to enable shaiport.
+#				Default is "NO".
+# shairport_sync_flags (flags):	Set extra flags here.
+#				shairport_sync_flags="-a name" to change Airport name
+#				Default is empty "".
+# shairport_sync_user (user):	Set user to run shairport_sync.
+#				Default is "nobody".
+
+. /etc/rc.subr
+
+name="shairport_sync"
+rcvar=shairport_sync_enable
+
+load_rc_config ${name}
+
+: ${shairport_sync_enable="NO"}
+: ${shairport_sync_user="nobody"}
+
+command="%%PREFIX%%/bin/shairport-sync"
+pidfile="/var/run/shairport-sync/shairport-sync.pid"
+
+command_args="-d -w ${pidfile}"
+start_precmd="install -d -o ${shairport_sync_user} -g wheel -m 755 /var/run/shairport-sync"
+
+run_rc_command "$1"

Added: head/audio/shairport-sync/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/shairport-sync/pkg-descr	Sun Nov 20 17:32:49 2016	(r426607)
@@ -0,0 +1,7 @@
+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.
+
+WWW: https://github.com/mikebrady/shairport-sync

Added: head/audio/shairport-sync/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/shairport-sync/pkg-plist	Sun Nov 20 17:32:49 2016	(r426607)
@@ -0,0 +1,3 @@
+bin/shairport-sync
+man/man7/shairport-sync.7.gz
+@sample etc/shairport-sync.conf.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611201732.uAKHWn2w082789>