Andreas Wacknitz
2024-03-17 4f58cd3e190b92c7e3e9c8271fe541f09e2d1f05
commit | author | age
b69690 1 #
TM 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.
5 #
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.
9 #
10
11 #
12 # Copyright 2021 (c) Tim Mooney. All rights reserved.
13 #
94f305 14 BUILD_BITS= 64
AW 15 BUILD_STYLE= meson
51ecb2 16 USE_DEFAULT_TEST_TRANSFORMS= yes
b69690 17 include ../../../make-rules/shared-macros.mk
TM 18
d103eb 19 COMPONENT_NAME=         dav1d
4f58cd 20 COMPONENT_VERSION=      1.4.1
d103eb 21 COMPONENT_SUMMARY=      A fast, cross-platform AV1 decoder
AL 22 COMPONENT_PROJECT_URL=  https://code.videolan.org/videolan/dav1d
23 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
ac7a44 25 COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/-/archive/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
4f58cd 26 COMPONENT_ARCHIVE_HASH= sha256:04da7689748a3501d00b6796b6de0596177019709ecc6095c667b7964895dd8c
94f305 27 COMPONENT_FMRI=         codec/dav1d
AW 28 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
d103eb 29 COMPONENT_LICENSE=      BSD 2-Clause Simplified License
94f305 30 COMPONENT_LICENSE_FILE= COPYING
b69690 31
TM 32 include $(WS_MAKE_RULES)/encumbered.mk
33 include $(WS_MAKE_RULES)/common.mk
34
94f305 35 # We need XPG6MODE for clock_gettime():
51ecb2 36 CFLAGS += $(XPG6MODE)
b69690 37 CONFIGURE_OPTIONS += -Denable_asm=true
TM 38
39 # build requirement
40 REQUIRED_PACKAGES += developer/assembler/nasm
41
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES += system/library
44 REQUIRED_PACKAGES += system/library/math