2015-02-07 21:11:16 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libepoxy
|
|
|
|
#
|
2015-03-20 13:35:19 +01:00
|
|
|
################################################################################
|
2015-02-07 21:11:16 +01:00
|
|
|
|
|
|
|
LIBEPOXY_VERSION = v1.2
|
|
|
|
LIBEPOXY_SITE = $(call github,anholt,libepoxy,$(LIBEPOXY_VERSION))
|
|
|
|
LIBEPOXY_INSTALL_STAGING = YES
|
|
|
|
LIBEPOXY_AUTORECONF = YES
|
2015-08-08 14:43:18 +02:00
|
|
|
LIBEPOXY_DEPENDENCIES = xlib_libX11 xutil_util-macros libegl \
|
|
|
|
$(if $(BR2_PACKAGE_HAS_LIBGL),libgl)
|
2015-02-07 21:11:16 +01:00
|
|
|
LIBEPOXY_LICENSE = MIT
|
|
|
|
LIBEPOXY_LICENSE_FILES = COPYING
|
|
|
|
|
2015-08-08 14:43:18 +02:00
|
|
|
# needed for rpi-userland
|
|
|
|
LIBEPOXY_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
|
|
|
|
LIBEPOXY_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(LIBEPOXY_CFLAGS)"
|
|
|
|
|
2015-02-07 21:11:16 +01:00
|
|
|
$(eval $(autotools-package))
|