3 THEORA_VERSION
:= 1.1.1
4 THEORA_URL
:= http
://downloads.xiph.org
/releases
/theora
/libtheora-
$(THEORA_VERSION
).
tar.xz
7 ifeq ($(call need_pkg
,"theora >= 1.0"),)
11 $(TARBALLS
)/libtheora-
$(THEORA_VERSION
).
tar.xz
:
12 $(call download_pkg
,$(THEORA_URL
),theora
)
14 .sum-theora
: libtheora-
$(THEORA_VERSION
).
tar.xz
16 libtheora
: libtheora-
$(THEORA_VERSION
).
tar.xz .sum-theora
18 $(APPLY
) $(SRC
)/theora
/libtheora-compiler-differentiation.patch
19 $(APPLY
) $(SRC
)/theora
/libtheora-no-forceaddr.patch
20 # Disable the generation of documentation. In 1.2.x it can be replaced by
21 # a --disable-doc parameter.
22 sed
-i.orig
"/^SUBDIRS =/s/doc//g" "$(UNPACK_DIR)/Makefile.am" "$(UNPACK_DIR)/Makefile.in"
26 THEORACONF
:= $(HOSTCONF
) \
30 --disable-vorbistest \
34 THEORACONF
+= --disable-encode
37 THEORACONF
+= --disable-float
40 THEORACONF
+= --disable-asm
43 THEORACONF
+= --disable-asm
47 THEORACONF
+= --disable-asm
51 DEPS_theora
= ogg
$(DEPS_ogg
)
54 cd
$< && $(HOSTVARS
) .
/configure
$(THEORACONF
)
55 cd
$< && $(MAKE
) install