From owner-svn-ports-head@freebsd.org Sun Nov 20 17:32:51 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A38AC4CC28; Sun, 20 Nov 2016 17:32:51 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2BA69CF; Sun, 20 Nov 2016 17:32:50 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAKHWoh0082795; Sun, 20 Nov 2016 17:32:50 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAKHWn2w082789; Sun, 20 Nov 2016 17:32:49 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201611201732.uAKHWn2w082789@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Sun, 20 Nov 2016 17:32:49 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2016 17:32:51 -0000 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 +# $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 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