mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
12
package/dav1d/Config.in
Normal file
12
package/dav1d/Config.in
Normal file
@@ -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
|
||||
3
package/dav1d/dav1d.hash
Normal file
3
package/dav1d/dav1d.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 9eac4f50089f54a9f562827bda4a21187d68c01d8b20055eef1d7efca9f84cf8 dav1d-0.7.1.tar.bz2
|
||||
sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING
|
||||
31
package/dav1d/dav1d.mk
Normal file
31
package/dav1d/dav1d.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# dav1d
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DAV1D_VERSION = 0.7.1
|
||||
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