be7be667de
This release of Epoxy makes "0001-Forward-EGL-cflags-into-epoxy.pc.patch" unnecessary. Other than bugfixes and a couple of functions added to the API, this release is backwards-compatible with programs built against the 1.4.x releases. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
907 B
Makefile
31 lines
907 B
Makefile
################################################################################
|
|
#
|
|
# libepoxy
|
|
#
|
|
################################################################################
|
|
|
|
LIBEPOXY_VERSION_MAJOR = 1.5
|
|
LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).0
|
|
LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR)
|
|
LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz
|
|
LIBEPOXY_INSTALL_STAGING = YES
|
|
LIBEPOXY_DEPENDENCIES = host-pkgconf xutil_util-macros
|
|
LIBEPOXY_LICENSE = MIT
|
|
LIBEPOXY_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
|
|
LIBEPOXY_CONF_OPTS += --enable-egl
|
|
LIBEPOXY_DEPENDENCIES += libegl
|
|
else
|
|
LIBEPOXY_CONF_OPTS += --disable-egl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_XLIB_LIBX11),yy)
|
|
LIBEPOXY_CONF_OPTS += --enable-glx
|
|
LIBEPOXY_DEPENDENCIES += libgl xlib_libX11
|
|
else
|
|
LIBEPOXY_CONF_OPTS += --disable-glx
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|