* [Buildroot] [PATCH v2 1/1] package/shairport-sync: bump to version 2.4
@ 2015-09-08 6:49 Jörg Krause
2015-09-20 13:05 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Jörg Krause @ 2015-09-08 6:49 UTC (permalink / raw)
To: buildroot
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.
Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
Changes v1 -> v2:
* Add missing dependency libconfig (Baruch)
---
package/shairport-sync/Config.in | 1 +
package/shairport-sync/shairport-sync.mk | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/package/shairport-sync/Config.in b/package/shairport-sync/Config.in
index c1d81a7..c558a64 100644
--- a/package/shairport-sync/Config.in
+++ b/package/shairport-sync/Config.in
@@ -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
diff --git a/package/shairport-sync/shairport-sync.mk b/package/shairport-sync/shairport-sync.mk
index 881cced..dc36c0e 100644
--- a/package/shairport-sync/shairport-sync.mk
+++ b/package/shairport-sync/shairport-sync.mk
@@ -4,17 +4,20 @@
#
################################################################################
-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
SHAIRPORT_SYNC_LICENSE_FILES = LICENSES
-SHAIRPORT_SYNC_DEPENDENCIES = alsa-lib libdaemon popt host-pkgconf
+SHAIRPORT_SYNC_DEPENDENCIES = alsa-lib libconfig 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
--
2.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2 1/1] package/shairport-sync: bump to version 2.4
2015-09-08 6:49 [Buildroot] [PATCH v2 1/1] package/shairport-sync: bump to version 2.4 Jörg Krause
@ 2015-09-20 13:05 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-09-20 13:05 UTC (permalink / raw)
To: buildroot
Dear J?rg Krause,
On Tue, 8 Sep 2015 08:49:43 +0200, J?rg Krause wrote:
> 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.
>
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
> Changes v1 -> v2:
> * Add missing dependency libconfig (Baruch)
> ---
> package/shairport-sync/Config.in | 1 +
> package/shairport-sync/shairport-sync.mk | 11 ++++++++---
> 2 files changed, 9 insertions(+), 3 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-20 13:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 6:49 [Buildroot] [PATCH v2 1/1] package/shairport-sync: bump to version 2.4 Jörg Krause
2015-09-20 13:05 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox