summaryrefslogtreecommitdiff
path: root/recipes/gstreamer-static.recipe
blob: 1919db44eaca29a89ab7b31a33e00b0c8084c9de (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 = 'gstreamer-static'
    version = '0.10.36'
    gstreamer_version = '0.10'
    licenses = [License.LGPLv2_1Plus]
    deps = ['glib', 'libxml2', 'gtk-doc-lite']
    # Static build will always fail on make check
    make_check = None

    files_plugins_core_devel = ['libgstcoreelements', 'libgstcoreindexers']

    def prepare(self):
        if self.config.target_platform != Platform.LINUX:
            self.configure_options += ' --disable-docbook'
        if self.config.target_platform == Platform.ANDROID:
            self.make = '%s libcheckinternal_la_LIBADD=""' % self.make
        if self.config.variants.nodebug:
            self.configure_options += ' --disable-gst-debug'
        custom.GStreamerStatic.prepare(self)