From patchwork Mon Apr 17 19:54:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 751501 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 3w6Jtb2T3Qz9s2x for ; Tue, 18 Apr 2017 05:56:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 705B3309B6; Mon, 17 Apr 2017 19:56:37 +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 vz8ROVoEVsJ4; Mon, 17 Apr 2017 19:56:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 2B46D3094C; Mon, 17 Apr 2017 19:55:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F2CC01C2764 for ; Mon, 17 Apr 2017 19:54:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F3664891B1 for ; Mon, 17 Apr 2017 19:54:49 +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 wmx99xhvTy4i for ; Mon, 17 Apr 2017 19:54:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9528B891CC for ; Mon, 17 Apr 2017 19:54:48 +0000 (UTC) Received: from fwd06.aul.t-online.de (fwd06.aul.t-online.de [172.20.26.150]) by mailout04.t-online.de (Postfix) with SMTP id CEE3041A72F7 for ; Mon, 17 Apr 2017 21:54:46 +0200 (CEST) Received: from fli4l.lan.fli4l (VOd0XvZVQhswL8+SflHFkaPVcyF4ZJ6yA2kNrwI1tZLsDIi39c2tPrcP71pYkdtg28@[79.222.106.186]) by fwd06.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1d0CjS-0YS3ua0; Mon, 17 Apr 2017 21:54:42 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:34688 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1d0CjR-00062C-If for buildroot@buildroot.org; Mon, 17 Apr 2017 21:54:41 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Mon, 17 Apr 2017 21:54:11 +0200 Message-Id: <20170417195433.26672-13-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170417195433.26672-1-bernd.kuhls@t-online.de> References: <20170417195433.26672-1-bernd.kuhls@t-online.de> X-ID: VOd0XvZVQhswL8+SflHFkaPVcyF4ZJ6yA2kNrwI1tZLsDIi39c2tPrcP71pYkdtg28 X-TOI-MSGID: 0f3ded3e-848e-4450-8800-8f71505a17e4 Subject: [Buildroot] [PATCH v5 12/34] package/kodi: add optional support for bluez5 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 Reviewed-by: "Yann E. MORIN" --- package/kodi/Config.in | 8 ++++++++ package/kodi/kodi.mk | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index 95f9f65ea..6d4148899 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -120,6 +120,14 @@ config BR2_PACKAGE_KODI_AVAHI Enable Avahi support. Select this if you want Kodi to support Bonjour protocol. +config BR2_PACKAGE_KODI_BLUEZ + bool "bluetooth" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils + depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5_utils + select BR2_PACKAGE_BLUEZ5_UTILS + help + Enable bluetooth support + config BR2_PACKAGE_KODI_DBUS bool "dbus" select BR2_PACKAGE_DBUS diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index dbe2fcd62..931f002f8 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -194,6 +194,13 @@ else KODI_CONF_OPTS += -DENABLE_CAP=OFF endif +ifeq ($(BR2_PACKAGE_KODI_BLUEZ),y) +KODI_CONF_OPTS += -DENABLE_BLUETOOTH=ON +KODI_DEPENDENCIES += bluez5_utils +else +KODI_CONF_OPTS += -DENABLE_BLUETOOTH=OFF +endif + ifeq ($(BR2_PACKAGE_KODI_DBUS),y) KODI_DEPENDENCIES += dbus KODI_CONF_OPTS += -DENABLE_DBUS=ON