package/dav1d: new package
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
a3192ad33c
commit
8d66bc940d
|
@ -294,6 +294,7 @@ F: package/bcg729/
|
|||
F: package/bluez-tools/
|
||||
F: package/boinc/
|
||||
F: package/clamav/
|
||||
F: package/dav1d/
|
||||
F: package/dovecot/
|
||||
F: package/dovecot-pigeonhole/
|
||||
F: package/dtv-scan-tables/
|
||||
|
|
|
@ -1504,6 +1504,7 @@ endmenu
|
|||
|
||||
menu "Multimedia"
|
||||
source "package/bitstream/Config.in"
|
||||
source "package/dav1d/Config.in"
|
||||
source "package/kvazaar/Config.in"
|
||||
source "package/libaacs/Config.in"
|
||||
source "package/libamcodec/Config.in"
|
||||
|
|
11
package/dav1d/Config.in
Normal file
11
package/dav1d/Config.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
config BR2_PACKAGE_DAV1D
|
||||
bool "dav1d"
|
||||
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"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
3
package/dav1d/dav1d.hash
Normal file
3
package/dav1d/dav1d.hash
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Locally computed
|
||||
sha256 18bf96c5168b8c704422387620fefaa953e8dbd4eacb0f0796c03d6e741f8924 dav1d-0.4.0.tar.bz2
|
||||
sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING
|
28
package/dav1d/dav1d.mk
Normal file
28
package/dav1d/dav1d.mk
Normal file
|
@ -0,0 +1,28 @@
|
|||
################################################################################
|
||||
#
|
||||
# dav1d
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DAV1D_VERSION = 0.4.0
|
||||
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
|
||||
|
||||
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))
|
Loading…
Reference in a new issue