summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-ugly.recipe
blob: 45a332be7f594728489556b6cf83bbf5ec7078bd (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
32
33
34
35
36
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'gst-plugins-ugly'
    version = '0.10.19'
    # FIXME - set licenses
    licenses = []
    config_sh = 'sh autogen.sh'
    configure_options = '--disable-introspection --disable-examples --disable-iec958 --disable-mpegstream --disable-cdio --disable-lame --disable-sidplay --disable-twolame --disable-x264 '
    remotes = {'upstream': 'git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly'}
    deps = ['gstreamer', 'gst-plugins-base', 'a52dec', 'opencore-amr',
            'libdvdread', 'libmpeg2', 'libmad']

    files_codecs = [
             'lib/gstreamer-0.10/libgsta52dec%(mext)s',
             'lib/gstreamer-0.10/libgstamrnb%(mext)s',
             'lib/gstreamer-0.10/libgstamrwbdec%(mext)s',
             'lib/gstreamer-0.10/libgstasf%(mext)s',
             'lib/gstreamer-0.10/libgstdvdsub%(mext)s',
             'lib/gstreamer-0.10/libgstmad%(mext)s',
             'lib/gstreamer-0.10/libgstmpeg2dec%(mext)s',
             'lib/gstreamer-0.10/libgstmpegaudioparse%(mext)s',
             'lib/gstreamer-0.10/libgstrmdemux%(mext)s',
    ]

    files_dvd = [
             'lib/gstreamer-0.10/libgstdvdlpcmdec%(mext)s',
             'lib/gstreamer-0.10/libgstdvdread%(mext)s',
    ]

    files_lang = ['gst-plugins-ugly-0.10']

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