kumquat-buildroot/package/efl/libelementary/libelementary.mk
Arnout Vandecappelle (Essensium/Mind) dfe780994b libelementary: only use libethumb if libedbus is available.
libelementary uses the ethumb_client library, but that one is only built
if libedbus is available. So fixup the --enable/disable-ethumb according
to the selection of BR2_PACKAGE_LIBEDBUS.

Fixes e.g.
http://autobuild.buildroot.net/results/14ef98da6b0632e24514fef696fae9a650c90c96

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-14 16:32:40 +01:00

31 lines
985 B
Makefile

################################################################################
#
# libelementary
#
################################################################################
LIBELEMENTARY_VERSION = 1.7.4
LIBELEMENTARY_SOURCE = elementary-$(LIBELEMENTARY_VERSION).tar.bz2
LIBELEMENTARY_SITE = http://download.enlightenment.org/releases/
LIBELEMENTARY_LICENSE = LGPLv2.1
LIBELEMENTARY_LICENSE_FILES = COPYING
LIBELEMENTARY_INSTALL_STAGING = YES
LIBELEMENTARY_DEPENDENCIES = libeina libevas libecore libedje host-libedje \
host-libeet
LIBELEMENTARY_CONF_OPT = --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
--with-eet-eet=$(HOST_DIR)/usr/bin/eet
# libethumb_client is only built when ethumbd is built.
# ethumbd is only built if edbus is built.
ifeq ($(BR2_PACKAGE_LIBETHUMB)$(BR2_PACKAGE_LIBEDBUS),yy)
LIBELEMENTARY_DEPENDENCIES += libethumb
LIBELEMENTARY_CONF_OPT += --enable-ethumb
else
LIBELEMENTARY_CONF_OPT += --disable-ethumb
endif
$(eval $(autotools-package))