summaryrefslogtreecommitdiff
path: root/recipes/insanity-gst.recipe
blob: 3f5a399c6f57902bb433f4b5b3f0442ec093235f (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
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'insanity-gst'
    version = '0.0.1'
    # TODO: check license - no LICENSE or COPYING, some files state LGPLv2+,
    #       others LGPLv2.1+
    licenses = [License.LGPLv2_1Plus]
    config_sh = 'sh autogen.sh'
    configure_options = '--disable-introspection --disable-gtk-doc --program-prefix= '
    remotes = {'upstream': 'git://anongit.freedesktop.org/gstreamer/insanity-gst'}
    deps = ['insanity', 'gstreamer', 'gst-plugins-base', 'libsoup',
            'gtk-doc-lite']

    def prepare(self):
        if self.config.platform in [Platform.WINDOWS, Platform.DARWIN]:
            self.configure_options += ' --disable-gtk-doc'

    files_devel = ['include/insanity-gst-0.10', 'lib/pkgconfig/insanity-gst-0.10.pc']
    files_libs = ['libinsanity-gst-0.10']
    files_misc = [
        'libexec/insanity-1.0/tests/insanity-test-gst-decoder%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-demuxer%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-discoverer%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-dvd%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-generic-pipeline%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-hls%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-http%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-play%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-seek%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-stream-switch%(bext)s',
        'libexec/insanity-1.0/tests/insanity-test-gst-subtitles%(bext)s'
    ]