summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2016-04-08 16:36:55 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-04-11 10:24:54 +0300
commit8361035b46bc892a24afd3a5e525d672894956f1 (patch)
treede7d0865221789a74c3192ea839437006bb8a814 /recipes
parent3c4969764d9dfa8d0f16fd78c7e1257bab2069a1 (diff)
libtheora: Do not build spec and doc
They fail to build with newer livetex. https://bugzilla.gnome.org/show_bug.cgi?id=764776
Diffstat (limited to 'recipes')
-rw-r--r--recipes/libtheora.recipe11
1 files changed, 4 insertions, 7 deletions
diff --git a/recipes/libtheora.recipe b/recipes/libtheora.recipe
index 9230c791..b6f92b11 100644
--- a/recipes/libtheora.recipe
+++ b/recipes/libtheora.recipe
@@ -15,23 +15,20 @@ class Recipe(recipe.Recipe):
'libtheora/0004-Use-our-automake-version-and-not-an-older-one.patch',
'libtheora/0005-Update-Makefile.in-too-to-avoid-needing-to-call-auto.patch',
'libtheora/0006-examples-Don-t-use-png_sizeof.patch']
+ configure_options = ' --disable-spec --disable-doc'
files_libs = ['libtheora', 'libtheoradec', 'libtheoraenc']
files_bins = ['dvconnect', 'encodedv', 'dubdv']
files_devel = ['include/theora', 'lib/pkgconfig/theora.pc',
'lib/pkgconfig/theoraenc.pc', 'lib/pkgconfig/theoradec.pc']
-
def prepare(self):
- if self.config.target_platform == Platform.WINDOWS:
- self.configure_options = ' --disable-spec --disable-doc'
- elif self.config.target_platform == Platform.ANDROID:
- self.configure_options = ' --disable-spec --disable-doc --disable-examples'
+ if self.config.target_platform == Platform.ANDROID:
+ self.configure_options += ' --disable-examples'
self.config_sh = 'sh autogen.sh'
elif self.config.target_platform == Platform.IOS:
- self.configure_options = ' --disable-spec --disable-doc'
self.patches += ['libtheora/0007-Don-t-use-fforce-addr.patch']
elif self.config.target_platform == Platform.DARWIN:
self.patches += ['libtheora/0007-Don-t-use-fforce-addr.patch']
elif self.config.target_arch != self.config.arch:
- self.configure_options = ' --disable-spec --disable-doc --disable-examples'
+ self.configure_options += ' --disable-examples'