kumquat-buildroot/package/enlightenment/enlightenment.mk
Romain Naour 7f02cdc191 package/enlightenment: bump to version 0.25.0
Update license file hash due to a tree-wide trailing whitespace removal [1].

Disable optional dependency on libexif [2].

See:
https://www.enlightenment.org/news/2021-12-26-enlightenment-0.25.0

[1] https://git.enlightenment.org/core/enlightenment.git/commit/?id=01fd3da2a33c411b41eea3b175c496c14777b358
[2] https://git.enlightenment.org/core/enlightenment.git/commit/?id=10ac9fb3277e599d1ac4d54c0d59faebc064b186

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-30 15:06:03 +01:00

59 lines
1.7 KiB
Makefile

################################################################################
#
# enlightenment
#
################################################################################
ENLIGHTENMENT_VERSION = 0.25.0
ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz
ENLIGHTENMENT_SITE = http://download.enlightenment.org/rel/apps/enlightenment
ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font)
ENLIGHTENMENT_LICENSE_FILES = COPYING \
src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt
ENLIGHTENMENT_CPE_ID_VENDOR = enlightenment
ENLIGHTENMENT_DEPENDENCIES = \
host-pkgconf \
host-efl \
efl \
xcb-util-keysyms
ENLIGHTENMENT_CONF_OPTS = \
-Dedje-cc=$(HOST_DIR)/bin/edje_cc \
-Deet=$(HOST_DIR)/bin/eet \
-Deldbus-codegen=$(HOST_DIR)/bin/eldbus-codegen \
-Dlibexif=false \
-Dpam=false \
-Dpolkit=false
# enlightenment.pc and /usr/lib/enlightenment/modules/*.so
ENLIGHTENMENT_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
ENLIGHTENMENT_CONF_OPTS += -Dsystemd=true
ENLIGHTENMENT_DEPENDENCIES += systemd
else
ENLIGHTENMENT_CONF_OPTS += -Dsystemd=false
endif
# alsa backend needs mixer support
ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
ENLIGHTENMENT_CONF_OPTS += -Dmixer=true
ENLIGHTENMENT_DEPENDENCIES += alsa-lib
else
ENLIGHTENMENT_CONF_OPTS += -Dmixer=false
endif
ifeq ($(BR2_PACKAGE_XKEYBOARD_CONFIG),y)
ENLIGHTENMENT_DEPENDENCIES += xkeyboard-config
endif
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
$(eval $(meson-package))