[vlc-commits] contrib: dav1d: use the official 0.1.0

Steve Lhomme git at videolan.org
Tue Dec 18 18:14:41 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Dec 13 10:34:23 2018 +0100| [7fecfc7774fb7b9794cada868f4f7125f5d6d31f] | committer: Hugo Beauzée-Luyssen

contrib: dav1d: use the official 0.1.0

(cherry picked from commit 500fe27a07cd2870d4cc5b40855c0743f765f74e)
(cherry picked from commit aa786e16771c8e8217d1eb1f290c91960ca42926)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=7fecfc7774fb7b9794cada868f4f7125f5d6d31f
---

 contrib/src/dav1d/SHA512SUMS |  1 +
 contrib/src/dav1d/rules.mak  | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/contrib/src/dav1d/SHA512SUMS b/contrib/src/dav1d/SHA512SUMS
new file mode 100644
index 0000000000..ba97324144
--- /dev/null
+++ b/contrib/src/dav1d/SHA512SUMS
@@ -0,0 +1 @@
+0da596ec7f487bcbfb3a5934aceb405c228bd8efe201e9495f00f261c91aec1d9bdd6e46932c44aabfd16fc4cc0c0db1dea1d8174107164cfe88b120c7facf2a  dav1d-0.1.0.tar.xz
diff --git a/contrib/src/dav1d/rules.mak b/contrib/src/dav1d/rules.mak
new file mode 100644
index 0000000000..54c864aa86
--- /dev/null
+++ b/contrib/src/dav1d/rules.mak
@@ -0,0 +1,33 @@
+# libdav1d
+
+DAV1D_VERSION := 0.1.0
+DAV1D_URL := $(VIDEOLAN)/dav1d/$(DAV1D_VERSION)/dav1d-$(DAV1D_VERSION).tar.xz
+#~ DAV1D_HASH := 8c95771dfa7a0bdb542eef8924bd0d3009e5efff
+#~ 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
+
+DAV1D_CONF = -D build_tests=false -D build_tools=false
+ifdef HAVE_WIN32
+DAV1D_CONF += -D win32_ver=false
+endif
+
+$(TARBALLS)/dav1d-$(DAV1D_VERSION).tar.xz:
+	$(call download_pkg,$(DAV1D_URL),dav1d)
+	#~ $(call download_git,$(DAV1D_URL),,$(DAV1D_HASH))
+
+.sum-dav1d: dav1d-$(DAV1D_VERSION).tar.xz
+
+dav1d: dav1d-$(DAV1D_VERSION).tar.xz .sum-dav1d
+	$(UNPACK)
+	$(MOVE)
+
+.dav1d: dav1d crossfile.meson
+	cd $< && rm -rf ./build
+	cd $< && $(HOSTVARS_MESON) $(MESON) $(DAV1D_CONF) build
+	cd $< && cd build && ninja install
+	touch $@



More information about the vlc-commits mailing list