summaryrefslogtreecommitdiff
path: root/recipes/gnonlin-1.0-static.recipe
blob: 03b92177724f59ac1f6ea364461352c34b8f6be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.utils import shell

class Recipe(custom.GStreamerStatic):
    name = 'gnonlin-1.0-static'
    version = '1.4'
    gstreamer_version = '1.0'
    licenses = [License.LGPLv2Plus]
    commit = 'origin/1.4'
    config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
    extra_configure_options = "--disable-examples "
    make_check = None
    deps = ['gstreamer-1.0', 'gst-plugins-base-1.0' ]

    files_plugins_editing_devel = ['libgnl']

    def prepare(self):
        self.append_env['CFLAGS'] = " -Wno-error "
        self.append_env['CXXFLAGS'] = " -Wno-error "
        self.append_env['CPPFLAGS'] = " -Wno-error "

        if self.config.target_platform != Platform.LINUX:
            self.configure_options += ' --disable-gtk-doc --disable-docbook'

        custom.GStreamerStatic.prepare(self)

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