1 ################################################################################
5 ################################################################################
7 LIBEPOXY_VERSION
= v1.3
.1
8 LIBEPOXY_SITE
= $(call github
,anholt
,libepoxy
,$(LIBEPOXY_VERSION
))
9 LIBEPOXY_INSTALL_STAGING
= YES
10 # For patches 0001-0006:
11 LIBEPOXY_AUTORECONF
= YES
12 LIBEPOXY_DEPENDENCIES
= xutil_util-macros
13 LIBEPOXY_LICENSE
= MIT
14 LIBEPOXY_LICENSE_FILES
= COPYING
16 ifeq ($(BR2_PACKAGE_HAS_LIBEGL
),y
)
17 LIBEPOXY_CONF_OPTS
+= --enable-egl
18 LIBEPOXY_DEPENDENCIES
+= libegl
20 LIBEPOXY_CONF_OPTS
+= --disable-egl
23 ifeq ($(BR2_PACKAGE_HAS_LIBGL
)$(BR2_PACKAGE_XLIB_LIBX11
),yy
)
24 LIBEPOXY_CONF_OPTS
+= --enable-glx
25 LIBEPOXY_DEPENDENCIES
+= libgl xlib_libX11
27 LIBEPOXY_CONF_OPTS
+= --disable-glx
30 $(eval
$(autotools-package
))