# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): name = 'orc' version = '0.4.26' remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/orc'} commit = 'origin/master' licenses = [License.BSD_like] autoreconf = True configure_options = '--enable-static' files_libs = ['liborc-0.4'] files_devel = ['include/orc-0.4', 'lib/pkgconfig/orc-0.4.pc', 'share/aclocal/orc.m4', 'bin/orcc%(bext)s'] def prepare(self): # Don't build testing helper library on ios if self.config.target_platform in [Platform.IOS]: self.configure_options += ' --disable-tests ' else: self.files_libs.append('liborc-test-0.4') self.files_devel.append('bin/orc-bugreport%(bext)s') self.append_env['CFLAGS'] = " -Wno-error " self.append_env['CXXFLAGS'] = " -Wno-error " self.append_env['CPPFLAGS'] = " -Wno-error "