[vlc-commits] contrib: add dav1d AV1 decoder
Steve Lhomme
git at videolan.org
Fri Nov 9 12:08:27 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Sep 25 13:47:46 2018 +0200| [3f8eb17e49a6ca9c07a32d39abfff3700afb41d4] | committer: Steve Lhomme
contrib: add dav1d AV1 decoder
from git source
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f8eb17e49a6ca9c07a32d39abfff3700afb41d4
---
contrib/src/dav1d/rules.mak | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/contrib/src/dav1d/rules.mak b/contrib/src/dav1d/rules.mak
new file mode 100644
index 0000000000..007664ce68
--- /dev/null
+++ b/contrib/src/dav1d/rules.mak
@@ -0,0 +1,27 @@
+# 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 $@
More information about the vlc-commits
mailing list