kumquat-buildroot/package/libfreeglut/libfreeglut.mk
Bernd Kuhls 4b879cfe0e package/libfreeglut: bump version to 3.4.0
Release notes:
https://github.com/FreeGLUTProject/freeglut/releases/tag/v3.4.0

Upstream switched to github:
https://freeglut.sourceforge.net/news.php
https://sourceforge.net/p/freeglut/mailman/message/37622871/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-12-18 14:45:40 +01:00

34 lines
972 B
Makefile

################################################################################
#
# libfreeglut
#
################################################################################
LIBFREEGLUT_VERSION = 3.4.0
LIBFREEGLUT_SOURCE = freeglut-$(LIBFREEGLUT_VERSION).tar.gz
LIBFREEGLUT_SITE = https://github.com/FreeGLUTProject/freeglut/releases/download/v$(LIBFREEGLUT_VERSION)
LIBFREEGLUT_LICENSE = MIT
LIBFREEGLUT_LICENSE_FILES = COPYING
LIBFREEGLUT_INSTALL_STAGING = YES
LIBFREEGLUT_DEPENDENCIES = \
libgl \
libglu \
xlib_libXi \
xlib_libXrandr \
xlib_libXxf86vm
LIBFREEGLUT_CONF_OPTS = -DFREEGLUT_BUILD_DEMOS=OFF
# package depends on X.org which depends on !BR2_STATIC_LIBS
ifeq ($(BR2_SHARED_LIBS),y)
LIBFREEGLUT_CONF_OPTS += \
-DFREEGLUT_BUILD_SHARED_LIBS=ON \
-DFREEGLUT_BUILD_STATIC_LIBS=OFF
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
LIBFREEGLUT_CONF_OPTS += \
-DFREEGLUT_BUILD_SHARED_LIBS=ON \
-DFREEGLUT_BUILD_STATIC_LIBS=ON
endif
$(eval $(cmake-package))