# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): name = 'libtheora' version = '1.1.1' licenses = [License.BSD] deps = ['libogg', 'libvorbis'] allow_parallel_build = False 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' self.config_sh = 'sh autogen.sh' elif self.config.target_platform == Platform.IOS: self.configure_options = ' --disable-spec --disable-doc'