fd5a01eee3
cpe:2.3🅰️videolan:dav1d is a valid identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=dav1d Signed-off-by: Clément Ramirez <clement.ramirez@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
871 B
Makefile
33 lines
871 B
Makefile
################################################################################
|
|
#
|
|
# dav1d
|
|
#
|
|
################################################################################
|
|
|
|
DAV1D_VERSION = 1.2.1
|
|
DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz
|
|
DAV1D_SITE = https://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION)
|
|
DAV1D_LICENSE = BSD-2-Clause
|
|
DAV1D_LICENSE_FILES = COPYING
|
|
DAV1D_CPE_ID_VENDOR = videolan
|
|
DAV1D_INSTALL_STAGING = YES
|
|
DAV1D_CONF_OPTS = \
|
|
-Denable_tests=false \
|
|
-Denable_tools=false
|
|
|
|
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
|
DAV1D_DEPENDENCIES += host-nasm
|
|
endif
|
|
|
|
# ARM assembly requires v6+ ISA
|
|
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y)
|
|
DAV1D_CONF_OPTS += -Denable_asm=false
|
|
endif
|
|
|
|
# Uses __atomic_fetch_add_4
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
DAV1D_LDFLAGS += $(TARGET_LDFLAGS) -latomic
|
|
endif
|
|
|
|
$(eval $(meson-package))
|