From patchwork Sat May 17 11:39:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 349888 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 76A581400B8 for ; Sat, 17 May 2014 21:45:36 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 37D008A835; Sat, 17 May 2014 11:45:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IYkoDI-HtPZ4; Sat, 17 May 2014 11:45:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 99A038A680; Sat, 17 May 2014 11:45:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4FC951C2A55 for ; Sat, 17 May 2014 11:45:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4D0308B674 for ; Sat, 17 May 2014 11:45:21 +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 OS-hrMvloi86 for ; Sat, 17 May 2014 11:45:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by whitealder.osuosl.org (Postfix) with ESMTPS id A65D58B8D4 for ; Sat, 17 May 2014 11:45:16 +0000 (UTC) Received: from fwd00.aul.t-online.de (fwd00.aul.t-online.de [172.20.26.147]) by mailout03.t-online.de (Postfix) with SMTP id B317A5D29A0 for ; Sat, 17 May 2014 13:45:09 +0200 (CEST) Received: from fli4l.lan.fli4l (bpUeTcZC8hpp7xY2ZEkOelrlTaGCLlLb6C+zE5Y1zIxW-ERy+ckLRH0IxCOMu2zZk1@[79.247.173.106]) by fwd00.t-online.de with esmtp id 1Wld3B-1vuyMC0; Sat, 17 May 2014 13:45:13 +0200 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:33082) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1WlcyP-0001Wl-ND; Sat, 17 May 2014 13:40:17 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 17 May 2014 13:39:59 +0200 Message-Id: <1400326806-16428-25-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1400326806-16428-1-git-send-email-bernd.kuhls@t-online.de> References: <1400326806-16428-1-git-send-email-bernd.kuhls@t-online.de> X-ID: bpUeTcZC8hpp7xY2ZEkOelrlTaGCLlLb6C+zE5Y1zIxW-ERy+ckLRH0IxCOMu2zZk1 X-TOI-MSGID: 53366620-5fc4-420e-8864-dbb23904841b Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v7 24/31] xbmc: Add alsa support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Signed-off-by: Bernd Kuhls --- package/xbmc/xbmc.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk index cb3db38..42388e8 100644 --- a/package/xbmc/xbmc.mk +++ b/package/xbmc/xbmc.mk @@ -27,7 +27,6 @@ XBMC_CONF_ENV = \ TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr" XBMC_CONF_OPT += \ - --disable-alsa \ --disable-crystalhd \ --disable-debug \ --disable-dvdcss \ @@ -95,6 +94,13 @@ else XBMC_CONF_OPT += --disable-gles endif +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +XBMC_DEPENDENCIES += alsa-lib +XBMC_CONF_OPT += --enable-alsa +else +XBMC_CONF_OPT += --disable-alsa +endif + ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y) XBMC_DEPENDENCIES += libusb-compat XBMC_CONF_OPT += --enable-libusb