# # 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