2016-03-09 10:58:39 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libepoxy
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-03-02 14:04:28 +01:00
|
|
|
LIBEPOXY_VERSION_MAJOR = 1.5
|
2020-12-23 23:35:44 +01:00
|
|
|
LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).5
|
2017-02-15 11:38:50 +01:00
|
|
|
LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR)
|
|
|
|
LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz
|
2016-03-09 10:58:39 +01:00
|
|
|
LIBEPOXY_INSTALL_STAGING = YES
|
2017-02-24 10:40:06 +01:00
|
|
|
LIBEPOXY_DEPENDENCIES = host-pkgconf xutil_util-macros
|
2016-03-09 10:58:39 +01:00
|
|
|
LIBEPOXY_LICENSE = MIT
|
|
|
|
LIBEPOXY_LICENSE_FILES = COPYING
|
2019-05-14 13:41:09 +02:00
|
|
|
LIBEPOXY_CONF_OPTS += -Ddocs=false -Dtests=false
|
2016-03-09 10:58:39 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
|
2019-05-14 13:41:09 +02:00
|
|
|
LIBEPOXY_CONF_OPTS += -Degl=yes
|
2016-03-09 10:58:39 +01:00
|
|
|
LIBEPOXY_DEPENDENCIES += libegl
|
|
|
|
else
|
2019-05-14 13:41:09 +02:00
|
|
|
LIBEPOXY_CONF_OPTS += -Degl=no
|
2016-03-09 10:58:39 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_XLIB_LIBX11),yy)
|
2019-05-14 13:41:09 +02:00
|
|
|
LIBEPOXY_CONF_OPTS += -Dglx=yes -Dx11=true
|
2016-03-09 10:58:39 +01:00
|
|
|
LIBEPOXY_DEPENDENCIES += libgl xlib_libX11
|
|
|
|
else
|
2019-05-14 13:41:09 +02:00
|
|
|
LIBEPOXY_CONF_OPTS += -Dglx=no -Dx11=false
|
2016-03-09 10:58:39 +01:00
|
|
|
endif
|
|
|
|
|
2019-05-14 13:41:09 +02:00
|
|
|
$(eval $(meson-package))
|