component(developer/golang-123): Add Component
[oi-userland.git] / components / encumbered / dav1d / Makefile
blobc18111a3b0b6ca1e2b90ecb07760b477be6ba8a5
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.
15 BUILD_STYLE= meson
16 USE_DEFAULT_TEST_TRANSFORMS= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= dav1d
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():
36 CFLAGS += $(XPG6MODE)
37 CONFIGURE_OPTIONS += -Denable_asm=true
39 # build requirement
40 REQUIRED_PACKAGES += developer/assembler/nasm
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES += system/library
44 REQUIRED_PACKAGES += system/library/math