summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorBen Klang <bklang@wirehack.net>2023-12-28 14:41:26 -0500
committerRosen Penev <rosenp@gmail.com>2024-01-02 15:15:00 -0800
commit7391ca3d49ef92ca6510152bae0260fd4b0a738f (patch)
treedd62024cd8b93a565140076de5446f37dbbb1141 /sound
parentd8dbf368103a3c73d8b7b5100a56b4d822980e09 (diff)
shairport-sync: Upgrade to v4.3.2 and add AirPlay2 support
Signed-off-by: Ben Klang <bklang@wirehack.net>
Diffstat (limited to 'sound')
-rw-r--r--sound/shairport-sync/Makefile9
-rw-r--r--sound/shairport-sync/patches/010-no-cxx.patch35
2 files changed, 5 insertions, 39 deletions
diff --git a/sound/shairport-sync/Makefile b/sound/shairport-sync/Makefile
index 26310d50d..3d8786ab6 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 <thess@kitschensync.net>, \
Mike Brady <mikebrady@eircom.net>
@@ -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 ac44eb616..e69de29bb 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])