Andreas Wacknitz
2024-03-29 970adddbfc48d143ebaae950543ddbfcb6eb25c5
commit | author | age
1c72a0 1 #
AL 2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.illumos.org/license/CDDL.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
f16653 21
MN 22 #
40dff3 23 # Copyright (c) 2013-2017, Aurelien Larcher. All rights reserved.
1f72c1 24 # Copyright (c) 2019, Michal Nowak
80a04a 25 # Copyright 2022 Gary Mills
1c72a0 26 #
1f72c1 27
2d0eec 28 BUILD_BITS= 64
73561e 29 OPENSSL_VERSION= 1.0
b84c54 30 include ../../../../make-rules/shared-macros.mk
1c72a0 31
1f72c1 32 COMPONENT_NAME=        efl
MN 33 COMPONENT_VERSION=    1.18.5
59c3f3 34 COMPONENT_REVISION=    9
1f72c1 35 COMPONENT_SUMMARY=    Enlightenment Foundation Libraries
73561e 36 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
AW 37 COMPONENT_PROJECT_URL=    https://www.enlightenment.org
38 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
39 COMPONENT_ARCHIVE_HASH= sha256:56f02aa6b2c4ca0252fb6547fa8d2fdfff842e245a93ae41adca7a191900bf73
40 COMPONENT_ARCHIVE_URL=    https://download.enlightenment.org/rel/libs/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1f72c1 41 COMPONENT_FMRI=        library/e/$(COMPONENT_NAME)
40dff3 42 COMPONENT_CLASSIFICATION= System/Libraries
1f72c1 43 COMPONENT_LICENSE=    BSD 2-clause, GPLv2, LGPLv2.1, Small
80a04a 44
1f72c1 45 include $(WS_MAKE_RULES)/common.mk
1c72a0 46
2d0eec 47 CONFIGURE_BINDIR.64= $(USRBINDIR)
AW 48 CONFIGURE_SBINDIR.64= $(USRSBINDIR)
40dff3 49
AL 50 CONFIGURE_OPTIONS+= CFLAGS="$(CFLAGS) -D__EXTENSIONS__"
51 CONFIGURE_OPTIONS+= --with-opengl=full
5bb06e 52 CONFIGURE_OPTIONS+= --with-profile=release
40dff3 53 CONFIGURE_OPTIONS+= --enable-debug
AL 54 CONFIGURE_OPTIONS+= --enable-fribidi
55 CONFIGURE_OPTIONS+= --enable-harfbuzz
5bb06e 56 CONFIGURE_OPTIONS+= --disable-libeeze
40dff3 57 CONFIGURE_OPTIONS+= --enable-lua-old
AL 58 CONFIGURE_OPTIONS+= --enable-pulseaudio
59 CONFIGURE_OPTIONS+= --disable-cserve
60 CONFIGURE_OPTIONS+= --enable-physics
61 CONFIGURE_OPTIONS+= --enable-doc
5bb06e 62 CONFIGURE_OPTIONS+= --disable-systemd
40dff3 63 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
b84c54 64
AP 65 CONFIGURE_ENV += PYTHON=$(PYTHON)
1c72a0 66
AL 67 # Need to cleanup the configure since EINA_HAVE_BYTESWAP_H is not set properly
68 COMPONENT_POST_CONFIGURE_ACTION=$(RM) $(SOURCE_DIR)/src/lib/eina/eina_config.h;
69
70 # pkgdepend fails to resolve the python version if env is used
b84c54 71 COMPONENT_POST_INSTALL_ACTION=sed -i -e '1 s|^.*$$|\#!/usr/bin/python$(PYTHON_VERSION)|' $(PROTO_DIR)/usr/bin/eina-bench-cmp;
1c72a0 72
b72fc5 73 # Build dependencies
AL 74 REQUIRED_PACKAGES += x11/library/mesa
75
40dff3 76 # Auto-generated dependencies
2d0eec 77 PYTHON_REQUIRED_PACKAGES += runtime/python
AW 78 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
79 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
80 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
59c3f3 81 REQUIRED_PACKAGES += image/library/libjpeg-turbo
b84c54 82 REQUIRED_PACKAGES += image/library/libpng16
40dff3 83 REQUIRED_PACKAGES += image/library/libraw
AL 84 REQUIRED_PACKAGES += image/library/librsvg
b84c54 85 REQUIRED_PACKAGES += image/library/libtiff
40dff3 86 REQUIRED_PACKAGES += library/audio/gstreamer1
AL 87 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base
b72fc5 88 REQUIRED_PACKAGES += library/bullet
40dff3 89 REQUIRED_PACKAGES += library/c++/harfbuzz
AL 90 REQUIRED_PACKAGES += library/desktop/cairo
b84c54 91 REQUIRED_PACKAGES += library/fribidi
AP 92 REQUIRED_PACKAGES += library/giflib
93 REQUIRED_PACKAGES += library/glib2
40dff3 94 REQUIRED_PACKAGES += library/libpoppler
AL 95 REQUIRED_PACKAGES += library/libspectre
b84c54 96 REQUIRED_PACKAGES += library/security/openssl
AP 97 REQUIRED_PACKAGES += library/zlib
98 REQUIRED_PACKAGES += runtime/lua
2d0eec 99 REQUIRED_PACKAGES += shell/ksh93
AW 100 REQUIRED_PACKAGES += system/input-method/ibus
b84c54 101 REQUIRED_PACKAGES += system/library
AP 102 REQUIRED_PACKAGES += system/library/fontconfig
103 REQUIRED_PACKAGES += system/library/freetype-2
104 REQUIRED_PACKAGES += system/library/libdbus
105 REQUIRED_PACKAGES += system/library/math
106 REQUIRED_PACKAGES += x11/library/libx11
107 REQUIRED_PACKAGES += x11/library/libxcomposite
108 REQUIRED_PACKAGES += x11/library/libxcursor
109 REQUIRED_PACKAGES += x11/library/libxdamage
110 REQUIRED_PACKAGES += x11/library/libxext
111 REQUIRED_PACKAGES += x11/library/libxfixes
112 REQUIRED_PACKAGES += x11/library/libxi
113 REQUIRED_PACKAGES += x11/library/libxinerama
114 REQUIRED_PACKAGES += x11/library/libxrandr
115 REQUIRED_PACKAGES += x11/library/libxrender
116 REQUIRED_PACKAGES += x11/library/libxscrnsaver
117 REQUIRED_PACKAGES += x11/library/libxtst