Skip to contentSkip to conversation

package/shairport-sync: bump to version 2.4

PATCH Superseded Jörg Krause 2 participants 2 messages Sep 7, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/shairport-sync: bump to version 2.4

Version 2.4 of shairport-sync introduces new optional features (metadata, stdout, pipe) which we enable by default. The impact on the binary size is about 18 kB (110 kB vs 92 kB) for an ARM target.

Also add a new dependency to libconfig and install the default config script.

---
 package/shairport-sync/Config.in         | 1 +
 package/shairport-sync/shairport-sync.mk | 9 +++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
package/shairport-sync/Config.in +1 -0
index c1d81a7..c558a64 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_SHAIRPORT_SYNC
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	select BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_ALSA_LIB_MIXER
+	select BR2_PACKAGE_LIBCONFIG
 	select BR2_PACKAGE_LIBDAEMON
 	select BR2_PACKAGE_POLARSSL if !BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_POPT
package/shairport-sync/shairport-sync.mk +7 -2
index 881cced..5cf56a3 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SHAIRPORT_SYNC_VERSION = 2.2.4
+SHAIRPORT_SYNC_VERSION = 2.4
 SHAIRPORT_SYNC_SITE = $(call github,mikebrady,shairport-sync,$(SHAIRPORT_SYNC_VERSION))
 
 SHAIRPORT_SYNC_LICENSE = MIT, BSD-3c
@@ -14,7 +14,10 @@ SHAIRPORT_SYNC_DEPENDENCIES = alsa-lib libdaemon popt host-pkgconf
 # Touching configure.ac with the patches
 SHAIRPORT_SYNC_AUTORECONF = YES
 
-SHAIRPORT_SYNC_CONF_OPTS = --with-alsa
+SHAIRPORT_SYNC_CONF_OPTS = --with-alsa \
+	--with-metadata \
+	--with-pipe \
+	--with-stdout
 
 # Avahi or tinysvcmdns (shaiport-sync bundles its own version of tinysvcmdns).
 # Avahi support needs libavahi-client, which is built by avahi if avahi-daemon
@@ -45,6 +48,8 @@ endif
 define SHAIRPORT_SYNC_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/shairport-sync \
 		$(TARGET_DIR)/usr/bin/shairport-sync
+	$(INSTALL) -D -m 0644 $(@D)/scripts/shairport-sync.conf \
+		$(TARGET_DIR)/etc/shairport-sync.conf
 endef
 
 define SHAIRPORT_SYNC_INSTALL_INIT_SYSV
Signature · 1 line
2.5.1
#1 lore raw

PATCH 1/1 package/shairport-sync: bump to version 2.4

Hi J?rg,

Quoted 17 lines · J?rg Krause

Version 2.4 of shairport-sync introduces new optional features (metadata, stdout, pipe) which we enable by default. The impact on the binary size is about 18 kB (110 kB vs 92 kB) for an ARM target.

Also add a new dependency to libconfig and install the default config script.

---
 package/shairport-sync/Config.in         | 1 +
 package/shairport-sync/shairport-sync.mk | 9 +++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
package/shairport-sync/Config.in +0 -0
index c1d81a7..c558a64 100644

package/shairport-sync/Config.in config BR2_PACKAGE_SHAIRPORT_SYNC · line 7

Quoted 4 lines
package/shairport-sync/Config.in +1 -0
@@ -4,6 +4,7 @@ config BR2_PACKAGE_SHAIRPORT_SYNC
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	select BR2_PACKAGE_ALSA_LIB
 	select BR2_PACKAGE_ALSA_LIB_MIXER
+	select BR2_PACKAGE_LIBCONFIG

Isn't that a build time dependency? If so, please add to SHAIRPORT_SYNC_DEPENDENCIES as well.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -