2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-24 12:24:24 +01:00
|
|
|
#
|
|
|
|
# enlightenment
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-24 12:24:24 +01:00
|
|
|
|
2019-08-31 12:05:07 +02:00
|
|
|
ENLIGHTENMENT_VERSION = 0.23.0
|
2015-12-15 23:40:26 +01:00
|
|
|
ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz
|
|
|
|
ENLIGHTENMENT_SITE = http://download.enlightenment.org/rel/apps/enlightenment
|
2017-03-30 15:43:39 +02:00
|
|
|
ENLIGHTENMENT_LICENSE = BSD-2-Clause
|
2012-12-24 12:24:24 +01:00
|
|
|
ENLIGHTENMENT_LICENSE_FILES = COPYING
|
|
|
|
|
2015-12-15 23:40:26 +01:00
|
|
|
ENLIGHTENMENT_DEPENDENCIES = \
|
|
|
|
host-pkgconf \
|
2015-12-19 17:39:16 +01:00
|
|
|
host-efl \
|
|
|
|
efl \
|
2012-12-24 12:24:24 +01:00
|
|
|
xcb-util-keysyms
|
|
|
|
|
2018-05-15 21:51:59 +02:00
|
|
|
ENLIGHTENMENT_CONF_OPTS = \
|
2018-01-05 17:32:23 +01:00
|
|
|
-Dedje-cc=$(HOST_DIR)/bin/edje_cc \
|
2018-03-15 23:50:08 +01:00
|
|
|
-Deet=$(HOST_DIR)/bin/eet \
|
|
|
|
-Deldbus-codegen=$(HOST_DIR)/bin/eldbus-codegen \
|
|
|
|
-Dpam=false
|
2016-07-23 00:23:18 +02:00
|
|
|
|
2018-03-15 23:50:12 +01:00
|
|
|
# enlightenment.pc and /usr/lib/enlightenment/modules/*.so
|
|
|
|
ENLIGHTENMENT_INSTALL_STAGING = YES
|
|
|
|
|
2016-07-23 00:23:18 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
2018-05-15 21:51:59 +02:00
|
|
|
ENLIGHTENMENT_CONF_OPTS += -Dsystemd=true
|
2016-07-23 00:23:18 +02:00
|
|
|
ENLIGHTENMENT_DEPENDENCIES += systemd
|
|
|
|
else
|
2018-05-15 21:51:59 +02:00
|
|
|
ENLIGHTENMENT_CONF_OPTS += -Dsystemd=false
|
2016-07-23 00:23:18 +02:00
|
|
|
endif
|
2012-12-24 12:24:24 +01:00
|
|
|
|
2013-02-25 15:53:01 +01:00
|
|
|
# alsa backend needs mixer support
|
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
|
2018-05-15 21:51:59 +02:00
|
|
|
ENLIGHTENMENT_CONF_OPTS += -Dmixer=true
|
2013-02-25 15:53:01 +01:00
|
|
|
ENLIGHTENMENT_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
2018-05-15 21:51:59 +02:00
|
|
|
ENLIGHTENMENT_CONF_OPTS += -Dmixer=false
|
2013-02-25 15:53:01 +01:00
|
|
|
endif
|
|
|
|
|
2018-03-15 23:50:11 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_XKEYBOARD_CONFIG),y)
|
|
|
|
ENLIGHTENMENT_DEPENDENCIES += xkeyboard-config
|
|
|
|
endif
|
|
|
|
|
2012-12-24 12:24:24 +01:00
|
|
|
define ENLIGHTENMENT_REMOVE_DOCUMENTATION
|
|
|
|
rm -rf $(TARGET_DIR)/usr/share/enlightenment/doc/
|
|
|
|
rm -f $(TARGET_DIR)/usr/share/enlightenment/COPYING
|
|
|
|
rm -f $(TARGET_DIR)/usr/share/enlightenment/AUTHORS
|
|
|
|
endef
|
|
|
|
ENLIGHTENMENT_POST_INSTALL_TARGET_HOOKS += ENLIGHTENMENT_REMOVE_DOCUMENTATION
|
|
|
|
|
2018-05-15 21:51:59 +02:00
|
|
|
$(eval $(meson-package))
|