Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-ports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2022-11-08 21:15:48 +0300
committerEmanuel Haupt <ehaupt@FreeBSD.org>2022-11-08 21:15:48 +0300
commit7e207ea0f8bd8099ddc62c1da92f8709160c000f (patch)
tree804f33ac94db2360508638a5a9b19cb55130694d /audio
parentdea8b5a8aaf0137b65441be83930e676ce102770 (diff)
audio/shairport-sync: Update to 4.1
Diffstat (limited to 'audio')
-rw-r--r--audio/shairport-sync/Makefile51
-rw-r--r--audio/shairport-sync/distinfo6
-rw-r--r--audio/shairport-sync/files/pkg-message.in11
3 files changed, 46 insertions, 22 deletions
diff --git a/audio/shairport-sync/Makefile b/audio/shairport-sync/Makefile
index d2c8b3f3d99e..3116263bdb5c 100644
--- a/audio/shairport-sync/Makefile
+++ b/audio/shairport-sync/Makefile
@@ -1,6 +1,5 @@
PORTNAME= shairport-sync
-DISTVERSION= 3.3.9
-PORTREVISION= 1
+DISTVERSION= 4.1
CATEGORIES= audio
MAINTAINER= ehaupt@FreeBSD.org
@@ -17,27 +16,41 @@ LIB_DEPENDS= libavahi-client.so:net/avahi-app \
USES= autoreconf libtool pkgconfig ssl
USE_GITHUB= yes
-
-GNU_CONFIGURE= yes
-
GH_ACCOUNT= mikebrady
-
USE_RC_SUBR= ${PORTNAME}
-OPTIONS_DEFINE= ALAC ALSA SNDIO PULSEAUDIO MQTT
-OPTIONS_DEFAULT=SNDIO
-ALAC_DESC= Build with libalac support (experimental)
-MQTT_DESC= Build with MQTT protocol support
-
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc \
- --with-piddir=/var/run/shairport-sync --with-avahi \
- --with-ssl=openssl --with-metadata --with-soxr \
- --with-stdout --with-pipe --with-libdaemon
+ --with-avahi \
+ --with-libdaemon \
+ --with-metadata \
+ --with-piddir=/var/run/shairport-sync \
+ --with-pipe \
+ --with-soxr \
+ --with-ssl=openssl \
+ --with-stdout
+CONFIGURE_ENV+= SSL_CFLAGS=-I${OPENSSLINC} \
+ SSL_LIBS=-L${OPENSSLLIB}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lcrypto
-CONFIGURE_ENV+= SSL_CFLAGS=-I${OPENSSLINC} SSL_LIBS=-L${OPENSSLLIB}
+OPTIONS_DEFINE= AIRPLAY2 ALAC ALSA MQTT PULSEAUDIO SNDIO
+OPTIONS_DEFAULT= AIRPLAY2 SNDIO
+#OPTIONS_DEFAULT= SNDIO
+AIRPLAY2_DESC= Build with AirPlay 2 protocol support
+ALAC_DESC= Build with libalac support (experimental)
+MQTT_DESC= Build with MQTT protocol support
+
+AIRPLAY2_BUILD_DEPENDS= vim:editors/vim
+AIRPLAY2_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \
+ libgcrypt.so:security/libgcrypt \
+ libplist-2.0.so:devel/libplist \
+ libsodium.so:security/libsodium \
+ libuuid.so:misc/e2fsprogs-libuuid
+AIRPLAY2_RUN_DEPENDS= nqptp:net/nqptp
+AIRPLAY2_CONFIGURE_ON= --with-airplay-2
+AIRPLAY2_SUB_FILES= pkg-message
ALAC_LIB_DEPENDS= libalac.so:audio/alac
ALAC_CONFIGURE_ON= --with-apple-alac
@@ -48,11 +61,11 @@ ALSA_CONFIGURE_ON= --with-alsa
MQTT_LIB_DEPENDS= libmosquitto.so:net/mosquitto
MQTT_CONFIGURE_ON= --with-mqtt-client
-SNDIO_CONFIGURE_ON= --with-sndio
-SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+PULSEAUDIO_CONFIGURE_ON= --with-pa
-PULSEAUDIO_CONFIGURE_ON=--with-pa
-PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
+SNDIO_CONFIGURE_ON= --with-sndio
post-patch:
@${REINPLACE_CMD} -e 's/-Wno-clobbered -Wno-psabi //' \
diff --git a/audio/shairport-sync/distinfo b/audio/shairport-sync/distinfo
index 35d45d983784..53c0ecda8b9e 100644
--- a/audio/shairport-sync/distinfo
+++ b/audio/shairport-sync/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638978084
-SHA256 (mikebrady-shairport-sync-3.3.9_GH0.tar.gz) = 17990cb2620551caa07a1c3b371889e55803071eaada04e958c356547a7e1795
-SIZE (mikebrady-shairport-sync-3.3.9_GH0.tar.gz) = 426827
+TIMESTAMP = 1667837288
+SHA256 (mikebrady-shairport-sync-4.1_GH0.tar.gz) = 951fc9f33a631736fe49d2ed040b27a417c93ffdf05a2d13116c6dda7628ea86
+SIZE (mikebrady-shairport-sync-4.1_GH0.tar.gz) = 538969
diff --git a/audio/shairport-sync/files/pkg-message.in b/audio/shairport-sync/files/pkg-message.in
new file mode 100644
index 000000000000..4bad0dc95f7f
--- /dev/null
+++ b/audio/shairport-sync/files/pkg-message.in
@@ -0,0 +1,11 @@
+[
+{ type: install
+ message: <<EOM
+
+Shairport sync is using AirPlay 2. Please make sure you enable and start nqptp.
+
+ # sysrc nqptp_enable=YES
+ # service nqptp start
+EOM
+}
+]