blob: f8f817867618efb5df17a1a872ee1cce54236932 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# -*- 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 = '4cf2e2d8204e54ba8af9519a8b9b7ffa6e951a7087afa0dfe83c125d49bbb5fb'
deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'ffmpeg']
files_plugins_codecs_restricted = ['%(libdir)s/gstreamer-1.0/libgstlibav%(mext)s']
files_plugins_codecs_restricted_devel = [
'%(libdir)s/gstreamer-1.0/libgstlibav.a', '%(libdir)s/gstreamer-1.0/libgstlibav.la',
]
def prepare(self):
if not self.using_msvc():
self.append_env('CFLAGS', '-Wno-deprecated-declarations')
if self.config.variants.nodebug:
self.append_env('CFLAGS', '-DGST_LEVEL_MAX=GST_LEVEL_FIXME')
|