summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-gl-1.0-static.recipe
blob: 3943a9c70a744b89a01fe5333d199f36c8150a10 (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
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.utils import shell

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

    files_plugins_devel = ['libgstopengl']

    def prepare(self):
        if self.config.target_platform != Platform.LINUX:
            self.configure_options += ' --disable-gtk-doc'

        super(Recipe, self).prepare()

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