From patchwork Tue Sep 8 06:49:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 515283 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 4B90E140187 for ; Tue, 8 Sep 2015 16:48:54 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BC68792271; Tue, 8 Sep 2015 06:48:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id js6iaRrYPuX2; Tue, 8 Sep 2015 06:48:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B08EE92236; Tue, 8 Sep 2015 06:48:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 686B81C0847 for ; Tue, 8 Sep 2015 06:48:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5715232C81 for ; Tue, 8 Sep 2015 06:48:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TvcDBVBIBCGD for ; Tue, 8 Sep 2015 06:48:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by silver.osuosl.org (Postfix) with ESMTPS id CB2533051E for ; Tue, 8 Sep 2015 06:48:45 +0000 (UTC) Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id B1C65209C8 for ; Tue, 8 Sep 2015 08:48:42 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3n9HBL2bLWz5vNQ for ; Tue, 8 Sep 2015 08:48:42 +0200 (CEST) Received: from timelineX.fritz.box (x4d0c977e.dyn.telefonica.de [77.12.151.126]) (Authenticated sender: joerg.krause@embedded.rocks) by embedded.rocks (Postfix) with ESMTPSA id 5E3269805A4; Tue, 8 Sep 2015 08:48:41 +0200 (CEST) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Tue, 8 Sep 2015 08:49:43 +0200 Message-Id: <1441694983-3818-1-git-send-email-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.5.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/1] package/shairport-sync: bump to version 2.4 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "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 --- 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