From patchwork Mon Apr 24 21:31:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 754481 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wBfnN49cxz9ryT for ; Tue, 25 Apr 2017 07:37:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D383730CC5; Mon, 24 Apr 2017 21:37:10 +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 Gqic13+jDOdx; Mon, 24 Apr 2017 21:37:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8172130CF6; Mon, 24 Apr 2017 21:34:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 35E701BFE5F for ; Mon, 24 Apr 2017 21:32:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 32AB18847D for ; Mon, 24 Apr 2017 21:32:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id exuQUkTA7QWy for ; Mon, 24 Apr 2017 21:32:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 38A2B88428 for ; Mon, 24 Apr 2017 21:32:35 +0000 (UTC) Received: from fwd32.aul.t-online.de (fwd32.aul.t-online.de [172.20.26.144]) by mailout11.t-online.de (Postfix) with SMTP id 738154256CA2 for ; Mon, 24 Apr 2017 23:32:33 +0200 (CEST) Received: from fli4l.lan.fli4l (XVqEJOZfrhb5Dss9TSK3ZH+YgEByKUaG7AYJYz2zoQu9RpNpuXtUzCZpFr7yzkfw8J@[79.228.25.70]) by fwd32.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1d2lam-1MQZ040; Mon, 24 Apr 2017 23:32:20 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:44768 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1d2lal-0002qM-L0 for buildroot@buildroot.org; Mon, 24 Apr 2017 23:32:19 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Mon, 24 Apr 2017 23:31:59 +0200 Message-Id: <20170424213206.26247-25-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170424213206.26247-1-bernd.kuhls@t-online.de> References: <20170424213206.26247-1-bernd.kuhls@t-online.de> X-ID: XVqEJOZfrhb5Dss9TSK3ZH+YgEByKUaG7AYJYz2zoQu9RpNpuXtUzCZpFr7yzkfw8J X-TOI-MSGID: 4e500cec-cf4a-474e-9108-894253b411af Subject: [Buildroot] [PATCH v6 24/31] package/kodi: add optional support for pulseaudio 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Bernd Kuhls --- package/kodi/Config.in | 10 ++++++++++ package/kodi/kodi.mk | 7 +++++++ 2 files changed, 17 insertions(+) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index 27cae8dddf..4693b69ea7 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -179,6 +179,16 @@ config BR2_PACKAGE_KODI_NONFREE Enable components with non-free licenses. This option currently only controls support for RAR archives. +config BR2_PACKAGE_KODI_PULSEAUDIO + bool "pulseaudio" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c + # Kodi meets all dependencies of libglib2, so there is no need + # to propagate its dependencies here. + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PULSEAUDIO + help + Enable Pulseaudio support. + config BR2_PACKAGE_KODI_LIBSHAIRPLAY bool "shairport" select BR2_PACKAGE_LIBSHAIRPLAY diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index a4678b2b97..7a0080216e 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -321,6 +321,13 @@ else KODI_CONF_OPTS += -DENABLE_OPTICAL=OFF endif +ifeq ($(BR2_PACKAGE_KODI_PULSEAUDIO),y) +KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=ON +KODI_DEPENDENCIES += pulseaudio +else +KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=OFF +endif + # Remove versioncheck addon, updating Kodi is done by building a new # buildroot image. KODI_ADDON_MANIFEST = $(TARGET_DIR)/usr/share/kodi/system/addon-manifest.xml