diff options
author | Andoni Morales <ylatuya@gmail.com> | 2014-01-17 18:14:42 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2014-01-30 12:32:11 +0100 |
commit | cb7a4dfd1289ee5bf71c40e6a7fb5c6efd7eb9c4 (patch) | |
tree | 2ae409a5cedb5b53d0a680beea589ec09d6dc9f5 /recipes/libdv.recipe | |
parent | 0093d0b7be81435ae705742033a5362437373bcb (diff) |
variants: add new variants to customize builds even more
diabled for ios and android:
gtk, python, clutter
enabled for linux:
x11, alsa, pulse, cdparanoia, v4l2
Diffstat (limited to 'recipes/libdv.recipe')
-rw-r--r-- | recipes/libdv.recipe | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes/libdv.recipe b/recipes/libdv.recipe index 93bd6db5..c3e610e4 100644 --- a/recipes/libdv.recipe +++ b/recipes/libdv.recipe @@ -11,17 +11,17 @@ class Recipe(recipe.Recipe): files_devel = ['include/libdv', 'lib/pkgconfig/libdv.pc'] def prepare(self): + if self.config.variants.nox11: + self.configure_options += ' --disable-xv --without-x' if self.config.target_platform == Platform.WINDOWS: - self.configure_options = ' --disable-asm --disable-xv --without-x' + self.configure_options += ' --disable-asm' self.append_env = {'LDFLAGS': '-lpthread'} - if self.config.target_platform == Platform.DARWIN: - self.configure_options += ' --disable-asm --disable-xv --without-x' - if self.config.target_platform == Platform.ANDROID: - self.configure_options = ' --disable-xv --without-x' + elif self.config.target_platform == Platform.DARWIN: + self.configure_options += ' --disable-asm' + elif self.config.target_platform == Platform.ANDROID: if self.config.target_arch == Architecture.X86: self.configure_options += ' --disable-asm' self.autoreconf = True - if self.config.target_platform == Platform.IOS: - self.configure_options = ' --disable-xv --without-x' + elif self.config.target_platform == Platform.IOS: if self.config.target_arch == Architecture.X86: self.configure_options += ' --disable-asm' |