summaryrefslogtreecommitdiff
path: root/recipes/orbit2.recipe
blob: 6fb2fbd877ff2d39f50f32aebdc1e5008aabc20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- 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()