python-whoosh: bump to version 2.7.4
[buildroot-gz.git] / package / enlightenment / enlightenment.mk
blob6529287bc86f5e436e60e98039c25b2061b3a963
1 ################################################################################
3 # enlightenment
5 ################################################################################
7 ENLIGHTENMENT_VERSION = 0.21.6
8 ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz
9 ENLIGHTENMENT_SITE = http://download.enlightenment.org/rel/apps/enlightenment
10 ENLIGHTENMENT_LICENSE = BSD-2c
11 ENLIGHTENMENT_LICENSE_FILES = COPYING
13 ENLIGHTENMENT_DEPENDENCIES = \
14 host-pkgconf \
15 host-efl \
16 efl \
17 xcb-util-keysyms
19 ENLIGHTENMENT_CONF_OPTS = \
20 --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
21 --with-eet-eet=$(HOST_DIR)/usr/bin/eet \
22 --with-eldbus_codegen=$(HOST_DIR)/usr/bin/eldbus-codegen \
23 --disable-pam \
24 --disable-rpath
26 ifeq ($(BR2_PACKAGE_SYSTEMD),y)
27 ENLIGHTENMENT_CONF_OPTS += --enable-systemd
28 ENLIGHTENMENT_DEPENDENCIES += systemd
29 else
30 ENLIGHTENMENT_CONF_OPTS += --disable-systemd
31 endif
33 # alsa backend needs mixer support
34 ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
35 ENLIGHTENMENT_DEPENDENCIES += alsa-lib
36 else
37 ENLIGHTENMENT_CONF_ENV += enable_alsa=no
38 endif
40 define ENLIGHTENMENT_REMOVE_DOCUMENTATION
41 rm -rf $(TARGET_DIR)/usr/share/enlightenment/doc/
42 rm -f $(TARGET_DIR)/usr/share/enlightenment/COPYING
43 rm -f $(TARGET_DIR)/usr/share/enlightenment/AUTHORS
44 endef
45 ENLIGHTENMENT_POST_INSTALL_TARGET_HOOKS += ENLIGHTENMENT_REMOVE_DOCUMENTATION
47 $(eval $(autotools-package))