pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / x11 / freeglut / Makefile
blob3a74ea4a9e5721328e0c6aa0f6d56bac3fb6b0bc
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015-2017 Aurelien Larcher
14 # Copyright 2023 Niklas Poslovski
17 BUILD_BITS = 64_and_32
18 BUILD_STYLE = cmake
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= freeglut
22 COMPONENT_VERSION= 3.4.0
23 COMPONENT_FMRI= x11/library/freeglut
24 COMPONENT_SUMMARY= \
25 freeglut - open-source alternative to the OpenGL Utility Toolkit (GLUT) library
26 COMPONENT_PROJECT_URL = https://freeglut.sourceforge.net/
27 COMPONENT_CLASSIFICATION= System/X11
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
30 COMPONENT_ARCHIVE_HASH= \
31 sha256:3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec
32 COMPONENT_ARCHIVE_URL= \
33 https://downloads.sourceforge.net/project/freeglut/freeglut/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
34 COMPONENT_LICENSE= MIT License
36 TEST_TARGET = $(NO_TESTS)
37 include $(WS_MAKE_RULES)/common.mk
39 PATH=$(PATH.gnu)
41 CMAKE_OPTIONS+= -DCMAKE_BUILD_TYPE=Release
42 CMAKE_OPTIONS+= -DFREEGLUT_BUILD_DEMOS=OFF
43 CMAKE_OPTIONS+= -DFREEGLUT_BUILD_STATIC_LIBS=OFF
45 CPPFLAGS += -D__posix__ -D__unix__
47 # Find issues with undefined symbols in build time
48 LD_OPTIONS += $(LD_Z_DEFS)
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += system/library
52 REQUIRED_PACKAGES += system/library/math
53 REQUIRED_PACKAGES += x11/library/libx11
54 REQUIRED_PACKAGES += x11/library/libxi
55 REQUIRED_PACKAGES += x11/library/libxrandr
56 REQUIRED_PACKAGES += x11/library/libxxf86vm