summaryrefslogtreecommitdiff
path: root/recipes/orc.recipe
blob: 7b4a7f61e50053863fcd1142a55d0b8cf4fce305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'orc'
    version = '0.4.22'
    commit = 'origin/master'
    licenses = [License.BSD_like]
    autoreconf = True
    configure_options = '--enable-static'

    files_libs = ['liborc-0.4', 'liborc-test-0.4']
    files_devel = ['include/orc-0.4', 'lib/pkgconfig/orc-0.4.pc',
        'bin/orc-bugreport%(bext)s', 'share/aclocal/orc.m4',
        'bin/orcc%(bext)s']

    def prepare(self):
        self.remotes['origin'] = ('%s/%s' % ('git://anongit.freedesktop.org/gstreamer', 'orc'))
        self.remotes['upstream'] = self.remotes['origin']

        self.append_env['CFLAGS'] = " -Wno-error "
        self.append_env['CXXFLAGS'] = " -Wno-error "
        self.append_env['CPPFLAGS'] = " -Wno-error "