aboutsummaryrefslogtreecommitdiff
path: root/audio/shairport-sync
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-26 19:51:55 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-26 19:51:55 +0000
commit1c5c572a3394e6a8928771dcc9d8faa91748ec81 (patch)
tree76f8dca9ebaddc99c3b5ca18386acbf27ece63f3 /audio/shairport-sync
parent4aeda85024a4f2a70327e8c3d61307b3dae23e5f (diff)
downloadports-1c5c572a3394e6a8928771dcc9d8faa91748ec81.tar.gz
ports-1c5c572a3394e6a8928771dcc9d8faa91748ec81.zip
Update to 3.1.d6. Now that sndio audio support is much more reliable (thanks to
Tobias Kortkamp [1]) add an option for it and turn on by default. Make the prior unconditional alsa support an option and turn off by default. [1] https://github.com/mikebrady/shairport-sync/pull/509
Notes
Notes: svn path=/head/; revision=439490
Diffstat (limited to 'audio/shairport-sync')
-rw-r--r--audio/shairport-sync/Makefile16
-rw-r--r--audio/shairport-sync/distinfo6
2 files changed, 14 insertions, 8 deletions
diff --git a/audio/shairport-sync/Makefile b/audio/shairport-sync/Makefile
index 409e02451705..a86289efdb79 100644
--- a/audio/shairport-sync/Makefile
+++ b/audio/shairport-sync/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= shairport-sync
-PORTVERSION= 3.0.2
+DISTVERSION= 3.1.d6
CATEGORIES= audio
MAINTAINER= ehaupt@FreeBSD.org
@@ -14,8 +14,7 @@ LIB_DEPENDS= libavahi-client.so:net/avahi-app \
libconfig.so:devel/libconfig \
libdaemon.so:devel/libdaemon \
libpopt.so:devel/popt \
- libsoxr.so:audio/libsoxr \
- libasound.so:audio/alsa-lib
+ libsoxr.so:audio/libsoxr
GNU_CONFIGURE= yes
USES= autoreconf libtool pkgconfig ssl
@@ -25,12 +24,13 @@ GH_ACCOUNT= mikebrady
USE_RC_SUBR= ${PORTNAME}
-OPTIONS_DEFINE= ALAC
+OPTIONS_DEFINE= ALAC ALSA SNDIO
+OPTIONS_DEFAULT=SNDIO
ALAC_DESC= Build with libalac support (experimental)
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc \
--with-piddir=/var/run/shairport-sync --with-avahi \
- --with-ssl=openssl --with-metadata --with-soxr --with-alsa \
+ --with-ssl=openssl --with-metadata --with-soxr \
--with-stdout --with-pipe
CFLAGS+= -I${LOCALBASE}/include
@@ -41,4 +41,10 @@ CONFIGURE_ENV+= SSL_CFLAGS=-I${OPENSSLINC} SSL_LIBS=-L${OPENSSLLIB}
ALAC_LIB_DEPENDS= libalac.so:audio/alac
ALAC_CONFIGURE_ON= --with-apple-alac
+ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
+ALSA_CONFIGURE_ON= --with-alsa
+
+SNDIO_CONFIGURE_ON= --with-sndio
+SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
+
.include <bsd.port.mk>
diff --git a/audio/shairport-sync/distinfo b/audio/shairport-sync/distinfo
index 1c85fd05c820..31dac3c5acee 100644
--- a/audio/shairport-sync/distinfo
+++ b/audio/shairport-sync/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489396712
-SHA256 (mikebrady-shairport-sync-3.0.2_GH0.tar.gz) = b348b9b3cf3994d9222430bc514c94a22f2ed173956fdb097f3354cdba8fd198
-SIZE (mikebrady-shairport-sync-3.0.2_GH0.tar.gz) = 265448
+TIMESTAMP = 1493192871
+SHA256 (mikebrady-shairport-sync-3.1.d6_GH0.tar.gz) = 3dd95da4a218cf4897b659bb5914e3d4f3cece0f90a8469b95910a0ff80ef9c9
+SIZE (mikebrady-shairport-sync-3.1.d6_GH0.tar.gz) = 283919