From patchwork Wed Apr 18 21:38:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 153609 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id A7379B6EE6 for ; Thu, 19 Apr 2012 07:39:23 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 03FA2FF9A2; Wed, 18 Apr 2012 21:39:22 +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 JGrRJFPI+O9r; Wed, 18 Apr 2012 21:39:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0A102101A11; Wed, 18 Apr 2012 21:39:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 74F728F753 for ; Wed, 18 Apr 2012 21:39:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 66DBA101A11 for ; Wed, 18 Apr 2012 21:39:14 +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 AoIXxLZfgEkF for ; Wed, 18 Apr 2012 21:39:09 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6D618101023 for ; Wed, 18 Apr 2012 21:39:09 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id 64CAC96B10; Wed, 18 Apr 2012 21:39:09 +0000 (UTC) From: Peter Korsgaard To: buildroot@busybox.net Date: Wed, 18 Apr 2012 23:38:19 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: e5ece0d8eebf2f908b952141130664d3a6430f67 X-Git-Newrev: 4b02a282089e37bfe134856da5c2e9fd21360ba8 X-Patchwork-Hint: ignore Message-Id: <20120418213909.64CAC96B10@busybox.osuosl.org> Subject: [Buildroot] [git commit] libedbus: add options for bluez/connman/notify 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 commit: http://git.buildroot.net/buildroot/commit/?id=4b02a282089e37bfe134856da5c2e9fd21360ba8 branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Peter Korsgaard --- package/efl/libedbus/Config.in | 23 ++++++++++++++++++++++- package/efl/libedbus/libedbus.mk | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletions(-) diff --git a/package/efl/libedbus/Config.in b/package/efl/libedbus/Config.in index 3844b52..0914b37 100644 --- a/package/efl/libedbus/Config.in +++ b/package/efl/libedbus/Config.in @@ -2,10 +2,31 @@ config BR2_PACKAGE_LIBEDBUS bool "libedbus" select BR2_PACKAGE_LIBEINA select BR2_PACKAGE_LIBECORE - depends on BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS help E_Dbus is a set of wrappers around D-Bus APIs so they can be easily used by EFL applications, automatically providing Ecore/main loop integration, as well as Eina data types. http://trac.enlightenment.org/e/wiki/E_Dbus + +if BR2_PACKAGE_LIBEDBUS + +config BR2_PACKAGE_LIBEDBUS_BLUEZ + bool "bluez support" + select BR2_PACKAGE_BLUEZ_UTILS + help + Bluetooth support. + +config BR2_PACKAGE_LIBEDBUS_CONNMAN + bool "connman support" + depends on BR2_PACKAGE_CONNMAN + help + Connection manager support. + +config BR2_PACKAGE_LIBEDBUS_NOTIFY + bool "notify support" + help + Notify support. + +endif diff --git a/package/efl/libedbus/libedbus.mk b/package/efl/libedbus/libedbus.mk index 34f34a7..c03474d 100644 --- a/package/efl/libedbus/libedbus.mk +++ b/package/efl/libedbus/libedbus.mk @@ -11,4 +11,24 @@ LIBEDBUS_INSTALL_STAGING = YES LIBEDBUS_DEPENDENCIES = host-pkg-config dbus libeina libecore +ifeq ($(BR2_PACKAGE_LIBEDBUS_BLUEZ),y) +LIBEDBUS_CONF_OPT += --enable-ebluez +LIBEDBUS_DEPENDENCIES += bluez_utils +else +LIBEDBUS_CONF_OPT += --disable-ebluez +endif + +ifeq ($(BR2_PACKAGE_LIBEDBUS_CONNMAN),y) +LIBEDBUS_CONF_OPT += --enable-econnman0_7x +LIBEDBUS_DEPENDENCIES += connman +else +LIBEDBUS_CONF_OPT += --disable-econnman0_7x +endif + +ifeq ($(BR2_PACKAGE_LIBEDBUS_NOTIFY),y) +LIBEDBUS_CONF_OPT += --enable-enotify --disable-edbus-notify-test +else +LIBEDBUS_CONF_OPT += --disable-enotify +endif + $(eval $(call AUTOTARGETS))