summaryrefslogtreecommitdiff
path: root/package/efl/libedbus/libedbus.mk
blob: 60651e307702d218791007f91eaf8f45bbc1e65b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#############################################################
#
# libedbus
#
#############################################################

LIBEDBUS_VERSION = 1.1.0
LIBEDBUS_SOURCE = e_dbus-$(LIBEDBUS_VERSION).tar.bz2
LIBEDBUS_SITE = http://download.enlightenment.org/releases/
LIBEDBUS_LICENSE = BSD-2c
LIBEDBUS_LICENSE_FILES = COPYING

LIBEDBUS_INSTALL_STAGING = YES

LIBEDBUS_DEPENDENCIES = host-pkgconf 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 $(autotools-package))