[vlc-commits] contrib: add (disabled) rules.mak for daala
Tristan Matthews
git at videolan.org
Sun Sep 21 18:27:26 CEST 2014
vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Sun Sep 21 15:25:15 2014 +0100| [c4760610366008ee80810d9828fb2766d8cde81f] | committer: Tristan Matthews
contrib: add (disabled) rules.mak for daala
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4760610366008ee80810d9828fb2766d8cde81f
---
contrib/src/daala/rules.mak | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/contrib/src/daala/rules.mak b/contrib/src/daala/rules.mak
new file mode 100644
index 0000000..84fcb4f
--- /dev/null
+++ b/contrib/src/daala/rules.mak
@@ -0,0 +1,34 @@
+DAALA_VERSION := git
+DAALA_HASH := HEAD
+DAALA_GITURL := http://git.xiph.org/?p=daala.git;a=snapshot;h=$(DAALA_HASH);sf=tgz
+
+# Default disabled for now
+# PKGS += daala
+ifeq ($(call need_pkg,"daala"),)
+PKGS_FOUND += daala
+endif
+
+$(TARBALLS)/daala-git.tar.gz:
+ $(call download,$(DAALA_GITURL))
+
+.sum-daala: daala-$(DAALA_VERSION).tar.gz
+ $(warning $@ not implemented)
+ touch $@
+
+daala: daala-$(DAALA_VERSION).tar.gz .sum-daala
+ rm -Rf $@-git $@
+ mkdir -p $@-git
+ $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
+ $(MOVE)
+ mkdir -p $@/m4
+
+DAALACONF := $(HOSTCONF) \
+ --disable-player --disable-tools
+
+DEPS_daala = ogg $(DEPS_ogg)
+
+.daala: daala
+ $(RECONF)
+ cd $< && $(HOSTVARS) ./configure $(DAALACONF)
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list