Commit 3f8eb17e authored by Steve Lhomme's avatar Steve Lhomme

contrib: add dav1d AV1 decoder

from git source
parent 262c8ff0
# libdav1d
DAV1D_HASH := aa5f55b2468f937cd36ceb1f0595f9c0915c5997
DAV1D_VERSION := git-$(DAV1D_HASH)
DAV1D_GITURL := https://code.videolan.org/videolan/dav1d.git
PKGS += dav1d
ifeq ($(call need_pkg,"dav1d"),)
PKGS_FOUND += dav1d
endif
$(TARBALLS)/dav1d-$(DAV1D_VERSION).tar.xz:
$(call download_git,$(DAV1D_GITURL),,$(DAV1D_HASH))
.sum-dav1d: dav1d-$(DAV1D_VERSION).tar.xz
$(call check_githash,$(DAV1D_HASH))
touch $@
dav1d: dav1d-$(DAV1D_VERSION).tar.xz .sum-dav1d
$(UNPACK)
$(MOVE)
.dav1d: dav1d crossfile.meson
cd $< && rm -rf ./build
cd $< && $(HOSTVARS_MESON) $(MESON) -D build_tests=false -D build_tools=false build
cd $< && cd build && ninja install
touch $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment