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
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 2017 Gary Mills
14 # Copyright 2017 Alexander Pyhalov
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= openal
22 COMPONENT_VERSION
= 1.17.0
23 COMPONENT_SUMMARY
= OpenAL is a cross-platform
3D audio API
24 COMPONENT_PROJECT_URL
= https
://openal-soft.org
/
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-soft-
$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= sha256
:ca1900969b53f0526b45dbd32ec444bd246186e638c5b7be48834cefbc23dfc1
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/kcat
/openal-soft
/archive
/refs
/tags/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= library
/audio
/openal
30 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
31 COMPONENT_LICENSE
= LGPLv2
32 COMPONENT_LICENSE_FILE
= COPYING
34 #TEST_TARGET= $(NO_TESTS)
35 include $(WS_MAKE_RULES
)/common.mk
37 COMPONENT_POST_UNPACK_ACTION
= \
38 $(MV
) $(COMPONENT_NAME
)-soft-
$(COMPONENT_SRC
) $(COMPONENT_SRC
)
40 # This is needed to be able to use scandir():
41 CFLAGS
+= $(CPP_XPG6MODE
)
43 CMAKE_OPTIONS
+= -DEXAMPLES
:INTERNAL
=OFF
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES
+= library
/audio
/sdl-sound
47 REQUIRED_PACKAGES
+= library
/sdl2
48 REQUIRED_PACKAGES
+= system
/library
49 REQUIRED_PACKAGES
+= system
/library
/math