initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_DAV1D
|
||||
bool "dav1d"
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pthread
|
||||
help
|
||||
dav1d is a new AV1 cross-platform decoder, open-source, and
|
||||
focused on speed and correctness.
|
||||
|
||||
https://code.videolan.org/videolan/dav1d
|
||||
|
||||
comment "dav1d needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 0d198c4fe63fe7f0395b1b17de75b21c8c4508cd3204996229355759efa30ef8 dav1d-0.9.2.tar.bz2
|
||||
sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# dav1d
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DAV1D_VERSION = 0.9.2
|
||||
DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.bz2
|
||||
DAV1D_SITE = https://code.videolan.org/videolan/dav1d/-/archive/$(DAV1D_VERSION)
|
||||
DAV1D_LICENSE = BSD-2-Clause
|
||||
DAV1D_LICENSE_FILES = COPYING
|
||||
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 += -latomic
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user