bd2b819faa
This update includes a build fix for the RaspberryPi 4 (from 1.5.7) and a fix for the GL library loader when GLX is involved (from 1.5.6) Release notes: https://github.com/anholt/libepoxy/releases/tag/1.5.6 https://github.com/anholt/libepoxy/releases/tag/1.5.7 Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> [francois.perrad@gadz.org: fix indent in hash file] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [yann.morin.1998@free.fr: meld Adrian and François' patches together] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
32 lines
959 B
Makefile
32 lines
959 B
Makefile
################################################################################
|
|
#
|
|
# libepoxy
|
|
#
|
|
################################################################################
|
|
|
|
LIBEPOXY_VERSION_MAJOR = 1.5
|
|
LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).7
|
|
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
|
|
LIBEPOXY_CONF_OPTS += -Ddocs=false -Dtests=false
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
|
|
LIBEPOXY_CONF_OPTS += -Degl=yes
|
|
LIBEPOXY_DEPENDENCIES += libegl
|
|
else
|
|
LIBEPOXY_CONF_OPTS += -Degl=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_XLIB_LIBX11),yy)
|
|
LIBEPOXY_CONF_OPTS += -Dglx=yes -Dx11=true
|
|
LIBEPOXY_DEPENDENCIES += libgl xlib_libX11
|
|
else
|
|
LIBEPOXY_CONF_OPTS += -Dglx=no -Dx11=false
|
|
endif
|
|
|
|
$(eval $(meson-package))
|