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


class Recipe(custom.GStreamerStatic):
    name = 'gst-rtsp-server-1.0-static'
    extra_configure_options = "--disable-examples --enable-static"
    remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/gst-rtsp-server'}
    deps = ['gstreamer-1.0', 'gst-plugins-base-1.0' ]
    use_system_libs = True

    files_plugins_net_devel = [ 'libgstrtspclientsink' ]

    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 '

        custom.GStreamerStatic.prepare(self)