contrib: theora: do not run autoreconf
[vlc/gmpfix.git] / contrib / src / theora / rules.mak
blob40247882c4d4975a396b85e7b82a6cb4bbcacf3a
1 # Theora
3 THEORA_VERSION := 1.1.1
4 THEORA_URL := http://downloads.xiph.org/releases/theora/libtheora-$(THEORA_VERSION).tar.xz
5 #THEORA_URL := $(CONTRIB_VIDEOLAN)/libtheora-$(THEORA_VERSION).tar.xz
7 PKGS += theora
8 ifeq ($(call need_pkg,"theora >= 1.0"),)
9 PKGS_FOUND += theora
10 endif
12 $(TARBALLS)/libtheora-$(THEORA_VERSION).tar.xz:
13 $(call download,$(THEORA_URL))
15 .sum-theora: libtheora-$(THEORA_VERSION).tar.xz
17 libtheora: libtheora-$(THEORA_VERSION).tar.xz .sum-theora
18 $(UNPACK)
19 $(UPDATE_AUTOCONFIG)
20 $(MOVE)
22 THEORACONF := $(HOSTCONF) \
23 --disable-spec \
24 --disable-sdltest \
25 --disable-oggtest \
26 --disable-vorbistest \
27 --disable-examples
29 ifndef BUILD_ENCODERS
30 THEORACONF += --disable-encode
31 endif
32 ifndef HAVE_FPU
33 THEORACONF += --disable-float
34 endif
35 ifdef HAVE_MACOSX64
36 THEORACONF += --disable-asm
37 endif
38 ifdef HAVE_IOS
39 THEORACONF += --disable-asm
40 endif
41 ifdef HAVE_WIN64
42 THEORACONF += --disable-asm
43 endif
45 DEPS_theora = ogg $(DEPS_ogg)
47 .theora: libtheora
48 cd $< && $(HOSTVARS) ./configure $(THEORACONF)
49 cd $< && $(MAKE) install
50 touch $@