# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(custom.GStreamerStatic): name = 'gst-plugins-base-static' version = '0.10.36' licenses = [License.LGPLv2Plus] extra_configure_options = "--disable-gst_v4l --disable-gnome_vfs" deps = ['glib', 'gstreamer', 'libogg', 'pango', 'libtheora', 'libvisual', 'libvorbis', 'zlib', 'orc'] platform_deps = { Platform.LINUX: [ 'cdparanoia' ], Platform.ANDROID: [ 'tremor' ], Platform.IOS: [ 'tremor' ] } use_system_libs = True files_plugins_core_devel = [ 'libgstadder', 'libgstapp', 'libgstaudioconvert', 'libgstaudiorate', 'libgstaudioresample', 'libgstaudiotestsrc', 'libgstffmpegcolorspace', 'libgstgdp', 'libgstgio', 'libgstpango', 'libgsttypefindfunctions', 'libgstvideorate', 'libgstvideoscale', 'libgstvideotestsrc', 'libgstvolume', ] files_plugins_playback_devel = [ 'libgstdecodebin2', 'libgstplaybin', ] files_plugins_encoding_devel = [ 'libgstencodebin', ] files_plugins_codecs_devel = [ 'libgstsubparse', 'libgstogg', 'libgsttheora', 'libgstvorbis', ] files_plugins_vis_devel = [ 'libgstlibvisual', ] platform_files_plugins_codecs_devel = { Platform.ANDROID: [ 'libgstivorbisdec', ], Platform.IOS: [ 'libgstivorbisdec', ] } platform_files_plugins_sys_devel = { Platform.LINUX: [ 'libgstalsa', 'libgstximagesink', 'libgstxvimagesink', 'libgstcdparanoia', ] } platform_files_plugins_net_devel = { Platform.LINUX: [ 'libgsttcp', ], Platform.ANDROID: [ 'libgsttcp', ], Platform.DARWIN: [ 'libgsttcp', ], Platform.IOS: [ 'libgsttcp', ] } def prepare(self): if self.config.target_platform in [Platform.ANDROID, Platform.IOS]: self.configure_options += ' --disable-alsa --disable-x' if self.config.variants.nodebug: self.configure_options += ' --disable-gst-debug' custom.GStreamerStatic.prepare(self)