![Bernd Kuhls](/assets/img/avatar_default.png)
Changelog: https://www.glfw.org/changelog.html Updated license hash due to upstream commit:f764836e58
xlib_libXi is now a mandatory dependency:9cc83cf07f
b383e70021
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [yann.morin.1998@free.fr: two spaces in hash file] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
25 lines
667 B
Makefile
25 lines
667 B
Makefile
################################################################################
|
|
#
|
|
# libglfw
|
|
#
|
|
################################################################################
|
|
|
|
LIBGLFW_VERSION = 3.3.2
|
|
LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION))
|
|
LIBGLFW_INSTALL_STAGING = YES
|
|
LIBGLFW_DEPENDENCIES = libgl xlib_libXcursor xlib_libXext \
|
|
xlib_libXi xlib_libXinerama xlib_libXrandr
|
|
LIBGLFW_LICENSE = Zlib
|
|
LIBGLFW_LICENSE_FILES = LICENSE.md
|
|
|
|
LIBGLFW_CONF_OPTS += \
|
|
-DGLFW_BUILD_EXAMPLES=OFF \
|
|
-DGLFW_BUILD_TESTS=OFF \
|
|
-DGLFW_BUILD_DOCS=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
|
|
LIBGLFW_DEPENDENCIES += xlib_libXxf86vm
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|