From 7391ca3d49ef92ca6510152bae0260fd4b0a738f Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Thu, 28 Dec 2023 14:41:26 -0500 Subject: [PATCH] shairport-sync: Upgrade to v4.3.2 and add AirPlay2 support Signed-off-by: Ben Klang --- sound/shairport-sync/Makefile | 9 ++--- sound/shairport-sync/patches/010-no-cxx.patch | 35 ------------------- 2 files changed, 5 insertions(+), 39 deletions(-) diff --git a/sound/shairport-sync/Makefile b/sound/shairport-sync/Makefile index 26310d50da..3d8786ab69 100644 --- a/sound/shairport-sync/Makefile +++ b/sound/shairport-sync/Makefile @@ -7,12 +7,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=shairport-sync -PKG_VERSION:=3.3.9 -PKG_RELEASE:=2 +PKG_VERSION:=4.3.2 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/mikebrady/shairport-sync/tar.gz/$(PKG_VERSION)? -PKG_HASH:=17990cb2620551caa07a1c3b371889e55803071eaada04e958c356547a7e1795 +PKG_HASH:=dfb485c0603398032a00e51f84b874749bbf155b257adda3d270d5989de08bfd PKG_MAINTAINER:=Ted Hess , \ Mike Brady @@ -29,7 +29,7 @@ define Package/shairport-sync/default SECTION:=sound CATEGORY:=Sound TITLE:=AirPlay compatible audio player - DEPENDS:=@AUDIO_SUPPORT +libpthread +alsa-lib +libconfig +libdaemon +libpopt + DEPENDS:=@AUDIO_SUPPORT +libpthread +alsa-lib +libconfig +libdaemon +libpopt +libstdcpp +libplist +libsodium +libgcrypt +libffmpeg-full +libuuid +nqptp PROVIDES:=shairport-sync URL:=https://github.com/mikebrady/shairport-sync endef @@ -78,6 +78,7 @@ endef CONFIGURE_ARGS += \ --with-alsa \ --with-libdaemon \ + --with-airplay-2 \ --with-metadata ifeq ($(BUILD_VARIANT),openssl) diff --git a/sound/shairport-sync/patches/010-no-cxx.patch b/sound/shairport-sync/patches/010-no-cxx.patch index ac44eb616c..e69de29bb2 100644 --- a/sound/shairport-sync/patches/010-no-cxx.patch +++ b/sound/shairport-sync/patches/010-no-cxx.patch @@ -1,35 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -23,10 +23,6 @@ else - endif - endif - --if USE_APPLE_ALAC -- shairport_sync_SOURCES += apple_alac.cpp --endif -- - if USE_CUSTOMPIDDIR - AM_CFLAGS+= \ - -DPIDDIR=\"$(CUSTOM_PID_DIR)\" -@@ -80,11 +76,6 @@ if USE_PA - shairport_sync_SOURCES += audio_pa.c - endif - --if USE_CONVOLUTION --shairport_sync_SOURCES += FFTConvolver/AudioFFT.cpp FFTConvolver/FFTConvolver.cpp FFTConvolver/Utilities.cpp FFTConvolver/convolver.cpp --AM_CXXFLAGS += -std=c++11 --endif -- - if USE_DNS_SD - shairport_sync_SOURCES += mdns_dns_sd.c - endif ---- a/configure.ac -+++ b/configure.ac -@@ -23,7 +23,6 @@ fi - - # Checks for programs. - AC_PROG_CC --AC_PROG_CXX - AC_PROG_INSTALL - - PKG_PROG_PKG_CONFIG([0.9.0])