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

class Recipe(recipe.Recipe, custom.GStreamer):
    name = 'gst-rtsp-server-1.0'
    config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
    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' ]

    files_devel = ['include/gstreamer-1.0/gst/rtsp-server', 'lib/pkgconfig/gstreamer-rtsp-server-1.0.pc']
    files_libs = ['libgstrtspserver-1.0']
    files_typelibs = ['GstRtspServer-1.0']
    files_plugins_net = [ 'lib/gstreamer-1.0/libgstrtspclientsink%(mext)s' ]

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