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.
12 # Copyright 2021 (c) Tim Mooney. All rights reserved.
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 1.5.0
21 COMPONENT_SUMMARY
= A fast
, cross-platform AV1 decoder
22 COMPONENT_PROJECT_URL
= https
://code.videolan.org
/videolan
/dav1d
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/-/archive
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
26 COMPONENT_ARCHIVE_HASH
= sha256
:78b15d9954b513ea92d27f39362535ded2243e1b0924fde39f37a31ebed5f76b
27 COMPONENT_FMRI
= codec
/dav1d
28 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
29 COMPONENT_LICENSE
= BSD
2-Clause Simplified License
30 COMPONENT_LICENSE_FILE
= COPYING
32 include $(WS_MAKE_RULES
)/encumbered.mk
33 include $(WS_MAKE_RULES
)/common.mk
35 # We need XPG6MODE for clock_gettime():
37 CONFIGURE_OPTIONS
+= -Denable_asm
=true
40 REQUIRED_PACKAGES
+= developer
/assembler
/nasm
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES
+= system
/library
44 REQUIRED_PACKAGES
+= system
/library
/math