summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-ugly-static.recipe
blob: 3f1c2ff7e82c7d695b9ee2060dde6e18af4c6b2e (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
26
27
28
29
30
31
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(custom.GStreamerStatic):
    name = 'gst-plugins-ugly-static'
    version = '0.10.19'
    licenses = [License.LGPLv2Plus]
    extra_configure_options = " --disable-iec958 --disable-mpegstream --disable-cdio --disable-lame --disable-sidplay --disable-twolame --disable-x264"
    deps = ['gstreamer', 'gst-plugins-base', 'a52dec', 'opencore-amr',
            'libdvdread', 'libmpeg2', 'libmad']

    files_plugins_codecs_restricted_devel = [
             'libgsta52dec',
             'libgstamrnb',
             'libgstamrwbdec',
             'libgstasf',
             'libgstmad',
             'libgstmpeg2dec',
             'libgstmpegaudioparse',
             'libgstrmdemux',
    ]

    files_plugins_dvd_devel = [
             'libgstdvdlpcmdec',
             'libgstdvdread',
    ]

    def prepare(self):
        if self.config.variants.nodebug:
            self.configure_options += ' --disable-gst-debug'
        super(Recipe, self).prepare()