From c4760610366008ee80810d9828fb2766d8cde81f Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Sun, 21 Sep 2014 15:25:15 +0100 Subject: [PATCH] contrib: add (disabled) rules.mak for daala --- contrib/src/daala/rules.mak | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 contrib/src/daala/rules.mak diff --git a/contrib/src/daala/rules.mak b/contrib/src/daala/rules.mak new file mode 100644 index 0000000000..84fcb4fc75 --- /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 $@ -- 2.11.4.GIT