From patchwork Mon Apr 24 21:31:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 754471 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 3wBflq0c4fz9ryT for ; Tue, 25 Apr 2017 07:35:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 95CC930CBE; Mon, 24 Apr 2017 21:35: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 Sx4Fxiv6xXOq; Mon, 24 Apr 2017 21:35:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 2977730CCA; Mon, 24 Apr 2017 21:33:49 +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 7ECB51C2767 for ; Mon, 24 Apr 2017 21:32:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8299D85C12 for ; Mon, 24 Apr 2017 21:32:25 +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 wJ0dbKOl7zLD for ; Mon, 24 Apr 2017 21:32:25 +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 E216B85D99 for ; Mon, 24 Apr 2017 21:32:24 +0000 (UTC) Received: from fwd31.aul.t-online.de (fwd31.aul.t-online.de [172.20.26.136]) by mailout03.t-online.de (Postfix) with SMTP id 41D6E42A50FF for ; Mon, 24 Apr 2017 23:32:23 +0200 (CEST) Received: from fli4l.lan.fli4l (Z4pESEZaZhUAmwVCSUpcbxXpjVU962L0lZ6ETOsAlkb2M+LKgRzFGgrs5F2hQCewpC@[79.228.25.70]) by fwd31.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1d2lal-0sPl2m0; Mon, 24 Apr 2017 23:32:19 +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 1d2lak-0002qM-Vf 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:57 +0200 Message-Id: <20170424213206.26247-23-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: Z4pESEZaZhUAmwVCSUpcbxXpjVU962L0lZ6ETOsAlkb2M+LKgRzFGgrs5F2hQCewpC X-TOI-MSGID: 86b90d74-c958-4859-bb9a-3dc65fd072be Subject: [Buildroot] [PATCH v6 22/31] 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 --- 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 a2eeae9aac..64f307c00a 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -114,6 +114,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 158319b876..809e0cfae0 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -186,6 +186,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