pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / x11 / spirv-tools / Makefile
blobebd017b9666edd31bb015a76c1463a90b8ec57f8
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
14 BUILD_STYLE= cmake
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= spirv-tools
18 COMPONENT_VERSION= 2024.2
19 COMPONENT_SUMMARY= API and commands for processing SPIR-V modules
20 COMPONENT_PROJECT_URL= https://www.khronos.org/spir/
21 COMPONENT_SRC= SPIRV-Tools-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= v$(COMPONENT_VERSION).tar.gz
23 COMPONENT_ARCHIVE_URL= https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/$(COMPONENT_ARCHIVE)
24 COMPONENT_ARCHIVE_HASH= sha256:58c5f4e6961c3d4936f7dbcd7f0b495c830b96972ee731452eaa9ade873f0095
25 COMPONENT_FMRI= x11/library/$(COMPONENT_NAME)
26 COMPONENT_CLASSIFICATION= System/X11
27 COMPONENT_LICENSE= Apache-2.0
28 COMPONENT_LICENSE_FILE= LICENSE
30 include $(WS_MAKE_RULES)/common.mk
32 CMAKE_OPTIONS += -DCMAKE_INSTALL_PREFIX=$(USRDIR)
33 CMAKE_OPTIONS += -DCMAKE_INSTALL_LIBDIR=lib/amd64
34 CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=none
35 CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON
36 CMAKE_OPTIONS += -DSPIRV_TOOLS_BUILD_STATIC=OFF
37 CMAKE_OPTIONS += -DSPIRV-Headers_SOURCE_DIR=/usr
39 COMPONENT_TEST_TRANSFORMS += '-e "s/[0-9. ]*sec//g"'
41 # Build dependencies
42 REQUIRED_PACKAGES += x11/library/spirv-headers
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
46 REQUIRED_PACKAGES += SUNWcs
47 REQUIRED_PACKAGES += system/library
48 REQUIRED_PACKAGES += system/library/math