Commit d8388be5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contribs: add libtheora

parent 2cacff0d
032fb60f10ac0074ec87d5f8c586702309edc50dc0d2842d2f9b9c46ebd1500acc399e9309f858f318fff5b8fbe953234db3afb54ed74a03d0f2c6ee8c3ed481 libtheora-1.1.1.tar.xz
--- libtheora/tests/comment.c 2008-04-16 22:25:49.000000000 +0200
+++ libtheora.old/tests/comment.c 2008-05-14 19:25:34.000000000 +0200
@@ -15,11 +15,11 @@
********************************************************************/
-#include <theora/theoradec.h>
-
#include <string.h>
#include "tests.h"
+#include <theora/theoradec.h>
+
#define ARTIST1 "Bug-eyed Fish"
#define ARTIST2 "VJ Fugu"
#define COPYRIGHT "Copyright (C) 2005. Some Rights Reserved."
# Theora
THEORA_VERSION := 1.1.1
THEORA_URL := http://downloads.xiph.org/releases/theora/libtheora-$(THEORA_VERSION).tar.xz
#THEORA_URL := $(CONTRIB_VIDEOLAN)/libtheora-$(THEORA_VERSION).tar.xz
PKGS += theora
$(TARBALLS)/libtheora-$(THEORA_VERSION).tar.xz:
$(DOWNLOAD) $(THEORA_URL)
.sum-theora: $(TARBALLS)/libtheora-$(THEORA_VERSION).tar.xz
$(CHECK_SHA512)
touch $@
libtheora: $(TARBALLS)/libtheora-$(THEORA_VERSION).tar.xz .sum-theora
$(UNPACK_XZ)
(cd $@-$(THEORA_VERSION) && patch -p1) < $(SRC)/theora/libtheora-includes.patch
ifdef HAVE_WIN64
cd $@ && autoreconf -fi -I m4
endif
mv $@-$(THEORA_VERSION) $@
touch $@
THEORACONF := $(HOSTCONF) \
--disable-spec \
--disable-sdltest \
--disable-oggtest \
--disable-vorbistest \
--disable-examples
ifndef BUILD_ENCODERS
THEORACONF += --disable-encode
endif
ifndef HAVE_FPU
THEORACONF += --disable-float
endif
ifdef HAVE_MACOSX64
THEORACONF += --disable-asm
endif
ifdef HAVE_WIN64
THEORACONF += --disable-asm
endif
.theora: libtheora .ogg
ifdef HAVE_WIN32
cd $<; $(HOSTVARS) ./autogen.sh $(THEORACONF)
endif
test -f $</config.status || \
(cd $< && $(HOSTVARGS) ./configure $(THEORACONF))
cd $< && $(MAKE) 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