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.
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.
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]
23 # Copyright (c) 2013-2017, Aurelien Larcher. All rights reserved.
24 # Copyright (c) 2019, Michal Nowak
25 # Copyright 2022 Gary Mills
29 include ..
/..
/..
/..
/make-rules
/shared-macros.mk
32 COMPONENT_VERSION
= 1.18.5
33 COMPONENT_REVISION
= 10
34 COMPONENT_SUMMARY
= Enlightenment Foundation Libraries
35 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
36 COMPONENT_PROJECT_URL
= https
://www.enlightenment.org
37 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
38 COMPONENT_ARCHIVE_HASH
= sha256
:56f02aa6b2c4ca0252fb6547fa8d2fdfff842e245a93ae41adca7a191900bf73
39 COMPONENT_ARCHIVE_URL
= https
://download.enlightenment.org
/rel
/libs
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
40 COMPONENT_FMRI
= library
/e
/$(COMPONENT_NAME
)
41 COMPONENT_CLASSIFICATION
= System
/Libraries
42 COMPONENT_LICENSE
= BSD
2-clause
, GPLv2
, LGPLv2.1
, Small
44 include $(WS_MAKE_RULES
)/common.mk
46 # gcc 14 complains about these
47 CFLAGS
+= -Wno-error
=implicit-function-declaration
48 CFLAGS
+= -Wno-error
=incompatible-pointer-types
50 CONFIGURE_BINDIR
.64= $(USRBINDIR
)
51 CONFIGURE_SBINDIR
.64= $(USRSBINDIR
)
53 CONFIGURE_OPTIONS
+= CFLAGS
="$(CFLAGS) -D__EXTENSIONS__"
54 CONFIGURE_OPTIONS
+= --with-opengl
=full
55 CONFIGURE_OPTIONS
+= --with-profile
=release
56 CONFIGURE_OPTIONS
+= --enable-debug
57 CONFIGURE_OPTIONS
+= --enable-fribidi
58 CONFIGURE_OPTIONS
+= --enable-harfbuzz
59 CONFIGURE_OPTIONS
+= --disable-libeeze
60 CONFIGURE_OPTIONS
+= --enable-lua-old
61 CONFIGURE_OPTIONS
+= --enable-pulseaudio
62 CONFIGURE_OPTIONS
+= --disable-cserve
63 CONFIGURE_OPTIONS
+= --enable-physics
64 CONFIGURE_OPTIONS
+= --enable-doc
65 CONFIGURE_OPTIONS
+= --disable-systemd
66 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
68 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
70 # Need to cleanup the configure since EINA_HAVE_BYTESWAP_H is not set properly
71 COMPONENT_POST_CONFIGURE_ACTION
=$(RM
) $(SOURCE_DIR
)/src
/lib
/eina
/eina_config.h
;
73 # pkgdepend fails to resolve the python version if env is used
74 COMPONENT_POST_INSTALL_ACTION
=sed
-i
-e
'1 s|^.*$$|\#!/usr/bin/python$(PYTHON_VERSION)|' $(PROTO_DIR
)/usr
/bin
/eina-bench-cmp
;
77 REQUIRED_PACKAGES
+= x11
/library
/mesa
79 # Auto-generated dependencies
80 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
81 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
82 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
83 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
84 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
85 REQUIRED_PACKAGES
+= image
/library
/libpng16
86 REQUIRED_PACKAGES
+= image
/library
/libraw
87 REQUIRED_PACKAGES
+= image
/library
/librsvg
88 REQUIRED_PACKAGES
+= image
/library
/libtiff
89 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
90 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
91 REQUIRED_PACKAGES
+= library
/bullet
92 REQUIRED_PACKAGES
+= library
/c
++/harfbuzz
93 REQUIRED_PACKAGES
+= library
/desktop
/cairo
94 REQUIRED_PACKAGES
+= library
/fribidi
95 REQUIRED_PACKAGES
+= library
/giflib
96 REQUIRED_PACKAGES
+= library
/glib2
97 REQUIRED_PACKAGES
+= library
/libpoppler
98 REQUIRED_PACKAGES
+= library
/libspectre
99 REQUIRED_PACKAGES
+= library
/zlib
100 REQUIRED_PACKAGES
+= runtime
/lua
101 REQUIRED_PACKAGES
+= shell/ksh93
102 REQUIRED_PACKAGES
+= system
/input-method
/ibus
103 REQUIRED_PACKAGES
+= system
/library
104 REQUIRED_PACKAGES
+= system
/library
/fontconfig
105 REQUIRED_PACKAGES
+= system
/library
/freetype-2
106 REQUIRED_PACKAGES
+= system
/library
/libdbus
107 REQUIRED_PACKAGES
+= system
/library
/math
108 REQUIRED_PACKAGES
+= x11
/library
/libx11
109 REQUIRED_PACKAGES
+= x11
/library
/libxcomposite
110 REQUIRED_PACKAGES
+= x11
/library
/libxcursor
111 REQUIRED_PACKAGES
+= x11
/library
/libxdamage
112 REQUIRED_PACKAGES
+= x11
/library
/libxext
113 REQUIRED_PACKAGES
+= x11
/library
/libxfixes
114 REQUIRED_PACKAGES
+= x11
/library
/libxi
115 REQUIRED_PACKAGES
+= x11
/library
/libxinerama
116 REQUIRED_PACKAGES
+= x11
/library
/libxrandr
117 REQUIRED_PACKAGES
+= x11
/library
/libxrender
118 REQUIRED_PACKAGES
+= x11
/library
/libxscrnsaver
119 REQUIRED_PACKAGES
+= x11
/library
/libxtst