# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.illumos.org/license/CDDL. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 2013-2017, Aurelien Larcher. All rights reserved. # Copyright (c) 2019, Michal Nowak # Copyright 2022 Gary Mills # OPENSSL_VERSION= 1.0 include ../../../../make-rules/shared-macros.mk COMPONENT_NAME= efl COMPONENT_VERSION= 1.18.5 COMPONENT_REVISION= 10 COMPONENT_SUMMARY= Enlightenment Foundation Libraries COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_PROJECT_URL= https://www.enlightenment.org COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz COMPONENT_ARCHIVE_HASH= sha256:56f02aa6b2c4ca0252fb6547fa8d2fdfff842e245a93ae41adca7a191900bf73 COMPONENT_ARCHIVE_URL= https://download.enlightenment.org/rel/libs/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) COMPONENT_FMRI= library/e/$(COMPONENT_NAME) COMPONENT_CLASSIFICATION= System/Libraries COMPONENT_LICENSE= BSD 2-clause, GPLv2, LGPLv2.1, Small include $(WS_MAKE_RULES)/common.mk CONFIGURE_BINDIR.64= $(USRBINDIR) CONFIGURE_SBINDIR.64= $(USRSBINDIR) CONFIGURE_OPTIONS+= CFLAGS="$(CFLAGS) -D__EXTENSIONS__" CONFIGURE_OPTIONS+= --with-opengl=full CONFIGURE_OPTIONS+= --with-profile=release CONFIGURE_OPTIONS+= --enable-debug CONFIGURE_OPTIONS+= --enable-fribidi CONFIGURE_OPTIONS+= --enable-harfbuzz CONFIGURE_OPTIONS+= --disable-libeeze CONFIGURE_OPTIONS+= --enable-lua-old CONFIGURE_OPTIONS+= --enable-pulseaudio CONFIGURE_OPTIONS+= --disable-cserve CONFIGURE_OPTIONS+= --enable-physics CONFIGURE_OPTIONS+= --enable-doc CONFIGURE_OPTIONS+= --disable-systemd CONFIGURE_OPTIONS+= --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb CONFIGURE_ENV += PYTHON=$(PYTHON) # Need to cleanup the configure since EINA_HAVE_BYTESWAP_H is not set properly COMPONENT_POST_CONFIGURE_ACTION=$(RM) $(SOURCE_DIR)/src/lib/eina/eina_config.h; # pkgdepend fails to resolve the python version if env is used COMPONENT_POST_INSTALL_ACTION=sed -i -e '1 s|^.*$$|\#!/usr/bin/python$(PYTHON_VERSION)|' $(PROTO_DIR)/usr/bin/eina-bench-cmp; # Build dependencies REQUIRED_PACKAGES += x11/library/mesa # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += runtime/python REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG) REQUIRED_PACKAGES += $(OPENSSL_PKG) REQUIRED_PACKAGES += image/library/libpng16 REQUIRED_PACKAGES += image/library/libraw REQUIRED_PACKAGES += image/library/librsvg REQUIRED_PACKAGES += image/library/libtiff REQUIRED_PACKAGES += library/audio/gstreamer1 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base REQUIRED_PACKAGES += library/bullet REQUIRED_PACKAGES += library/c++/harfbuzz REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += library/fribidi REQUIRED_PACKAGES += library/giflib REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/libpoppler REQUIRED_PACKAGES += library/libspectre REQUIRED_PACKAGES += library/zlib REQUIRED_PACKAGES += runtime/lua REQUIRED_PACKAGES += shell/ksh93 REQUIRED_PACKAGES += system/input-method/ibus REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/fontconfig REQUIRED_PACKAGES += system/library/freetype-2 REQUIRED_PACKAGES += system/library/libdbus REQUIRED_PACKAGES += system/library/math REQUIRED_PACKAGES += x11/library/libx11 REQUIRED_PACKAGES += x11/library/libxcomposite REQUIRED_PACKAGES += x11/library/libxcursor REQUIRED_PACKAGES += x11/library/libxdamage REQUIRED_PACKAGES += x11/library/libxext REQUIRED_PACKAGES += x11/library/libxfixes REQUIRED_PACKAGES += x11/library/libxi REQUIRED_PACKAGES += x11/library/libxinerama REQUIRED_PACKAGES += x11/library/libxrandr REQUIRED_PACKAGES += x11/library/libxrender REQUIRED_PACKAGES += x11/library/libxscrnsaver REQUIRED_PACKAGES += x11/library/libxtst