# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.utils import shell class Recipe(recipe.Recipe): name = 'orbit2' version = '2.14.19' licenses = [License.LGPL] stype = SourceType.TARBALL url = 'http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-2.14.19.tar.bz2' append_env = {'CFLAGS': '-Wno-error'} autoreconf = True tarball_dirname = 'ORBit2-%(version)s' deps = ['glib', 'libIDL'] def configure(self): shell.replace(os.path.join(self.build_dir, 'configure.in'), { '-DG_DISABLE_DEPRECATED': ''}) shell.replace(os.path.join(self.build_dir, 'linc2', 'src', 'Makefile.am'), {'\\\n\t-DG_DISABLE_DEPRECATED': ''}) super(recipe.Recipe, self).configure()