Andreas Wacknitz
2024-03-17 4f58cd3e190b92c7e3e9c8271fe541f09e2d1f05
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2021 (c) Tim Mooney. All rights reserved.
#
BUILD_BITS= 64
BUILD_STYLE= meson
USE_DEFAULT_TEST_TRANSFORMS= yes
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=         dav1d
COMPONENT_VERSION=      1.4.1
COMPONENT_SUMMARY=      A fast, cross-platform AV1 decoder
COMPONENT_PROJECT_URL=  https://code.videolan.org/videolan/dav1d
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/-/archive/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_ARCHIVE_HASH= sha256:04da7689748a3501d00b6796b6de0596177019709ecc6095c667b7964895dd8c
COMPONENT_FMRI=         codec/dav1d
COMPONENT_CLASSIFICATION=System/Multimedia Libraries
COMPONENT_LICENSE=      BSD 2-Clause Simplified License
COMPONENT_LICENSE_FILE= COPYING
 
include $(WS_MAKE_RULES)/encumbered.mk
include $(WS_MAKE_RULES)/common.mk
 
# We need XPG6MODE for clock_gettime():
CFLAGS += $(XPG6MODE)
CONFIGURE_OPTIONS += -Denable_asm=true
 
# build requirement
REQUIRED_PACKAGES += developer/assembler/nasm
 
# Auto-generated dependencies
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math