ee13e3fb41
wayland-protocols is an optional dependency which is enabled by default
resulting in the following wayland build failure since the addition of
the package in commit f201ca9d0d
:
checking for wayland_client... yes
checking for wayland_egl... yes
configure: Wayland EGL support enabled
checking for wayland_protocols... no
configure: error: Package requirements (wayland-protocols >= 1.12) were not met:
Package 'wayland-protocols', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables wayland_protocols_CFLAGS
and wayland_protocols_LIBS to avoid the need to call pkg-config.
Fixes:
- http://autobuild.buildroot.org/results/865af860f9e52fe5311bb0c6a246ff871ae5a989
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
87 lines
3.1 KiB
Makefile
87 lines
3.1 KiB
Makefile
################################################################################
|
|
#
|
|
# glslsandbox-player
|
|
#
|
|
################################################################################
|
|
|
|
GLSLSANDBOX_PLAYER_VERSION = 2021.08.24
|
|
GLSLSANDBOX_PLAYER_SITE = $(call github,jolivain,glslsandbox-player,v$(GLSLSANDBOX_PLAYER_VERSION))
|
|
GLSLSANDBOX_PLAYER_AUTORECONF = YES
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES = libegl libgles host-pkgconf
|
|
|
|
GLSLSANDBOX_PLAYER_LICENSE = BSD-2-Clause
|
|
GLSLSANDBOX_PLAYER_LICENSE_FILES = LICENSE
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += libexecinfo
|
|
GLSLSANDBOX_PLAYER_CONF_ENV += LIBS="-lexecinfo"
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += libpng
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-libpng
|
|
else
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --without-libpng
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING),y)
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += \
|
|
--with-shader-list=shader-tests.list \
|
|
--enable-testing \
|
|
--enable-install-testsuite
|
|
else
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += \
|
|
--with-shader-list=shader-local.list \
|
|
--disable-testing
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS),y)
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-install-scripts
|
|
else
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-install-scripts
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_NULL),y)
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += libdrm libgbm
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-utgard
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=mali
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += mali-t76x
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += rpi-userland
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=rpi
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += sdl2
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=sdl2
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += ti-sgx-um
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=tisgx
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += imx-gpu-viv
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=vivfb
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += wayland
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=wl
|
|
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_IVI),y)
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-ivi
|
|
else
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-ivi
|
|
endif
|
|
ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_XDG),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += wayland-protocols
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-wlxdg
|
|
else
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-wlxdg
|
|
endif
|
|
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11),y)
|
|
GLSLSANDBOX_PLAYER_DEPENDENCIES += xlib_libX11
|
|
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=x11
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|