summaryrefslogtreecommitdiff
path: root/recipes/gst-libav-1.0.recipe
blob: b86a8855443ce69648da12b6837e6c50f4cbaa44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(custom.GStreamer):
    name = 'gst-libav-1.0'
    licenses = [License.LGPLv2Plus]
    btype = BuildType.MESON
    tarball_checksum = '7a36c466a0942667f5be5d427d0840d1b81c187a4b93a73dcf10e53bf9cf196c'
    deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'ffmpeg']

    files_plugins_codecs_restricted = ['lib/gstreamer-1.0/libgstlibav%(mext)s']
    files_plugins_codecs_restricted_devel = [
        'lib/gstreamer-1.0/libgstlibav.a', 'lib/gstreamer-1.0/libgstlibav.la',
    ]

    def prepare(self):
        if self.config.variants.nodebug:
            self.append_env('CFLAGS', '-DGST_LEVEL_MAX=GST_LEVEL_FIXME')