summaryrefslogtreecommitdiff
path: root/recipes/gst-rtsp-server-1.0.recipe
blob: 363fc09df54481f6c5937367beb9f185e189d681 (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(recipe.Recipe):
    name = 'gst-rtsp-server-1.0'
    version = '1.9'
    licenses = [License.LGPLv2Plus]
    config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
    configure_options = "--disable-examples --enable-static "
    remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/gst-rtsp-server'}
    commit = 'origin/master'
    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 "