# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(custom.GStreamerStatic): name = 'gst-plugins-good-1.0-static' version = '1.2' gstreamer_version = '1.0' licenses = [License.LGPLv2Plus] extra_configure_options = '--enable-static --disable-oss4 --disable-oss --disable-dv1394 --disable-aalib --disable-libcaca --disable-jack --disable-shout2' commit = 'origin/1.2' deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'jpeg', 'libpng', 'speex', 'gdk-pixbuf', 'libsoup', 'orc', 'wavpack', 'flac', 'taglib', 'bzip2', 'zlib', 'libvpx', 'libdv', 'cairo'] files_plugins_core_devel = [ 'libgstautodetect', 'libgstvideofilter', ] files_plugins_effects_devel = [ 'libgstalpha', 'libgstalphacolor', 'libgstaudiofx', 'libgstcairo', 'libgstcutter', 'libgstdebug', 'libgstdeinterlace', 'libgstdtmf', 'libgsteffectv', 'libgstequalizer', 'libgstgdkpixbuf', 'libgstimagefreeze', 'libgstinterleave', 'libgstlevel', 'libgstmultifile', 'libgstreplaygain', 'libgstshapewipe', 'libgstsmpte', 'libgstspectrum', 'libgstvideobox', 'libgstvideocrop', 'libgstvideomixer', ] files_plugins_codecs_devel = [ 'libgstalaw', 'libgstapetag', 'libgstaudioparsers', 'libgstauparse', 'libgstavi', 'libgstdv', 'libgstflac', 'libgstflv', 'libgstflxdec', 'libgsticydemux', 'libgstid3demux', 'libgstisomp4', 'libgstjpeg', 'libgstmatroska', 'libgstmulaw', 'libgstmultipart', 'libgstpng', 'libgstspeex', 'libgsttaglib', 'libgstvpx', 'libgstwavenc', 'libgstwavpack', 'libgstwavparse', 'libgsty4menc', ] files_plugins_net_devel = [ 'libgstrtsp', 'libgstrtp', 'libgstrtpmanager', 'libgstsouphttpsrc', 'libgstudp', ] files_plugins_vis_devel = [ 'libgstgoom', 'libgstgoom2k1', ] platform_files_plugins_capture_devel = { Platform.LINUX: [ 'libgstvideo4linux2', 'libgstximagesrc', ] } platform_files_plugins_sys_devel = { Platform.WINDOWS: [ 'libgstdirectsoundsink', ], Platform.LINUX: [ 'libgstpulse', ], Platform.DARWIN: [ 'libgstosxaudio', 'libgstosxvideosink', ], Platform.IOS: [ 'libgstosxaudio' ] } def prepare(self): self.append_env['CFLAGS'] = " -Wno-error " self.append_env['CXXFLAGS'] = " -Wno-error " self.append_env['CPPFLAGS'] = " -Wno-error " if self.config.target_platform != Platform.LINUX: self.configure_options += '--disable-gtk-doc ' if self.config.target_platform == Platform.WINDOWS: self.configure_options += '--disable-aalib --disable-esd ' if self.config.target_platform in [Platform.ANDROID, Platform.IOS]: self.configure_options += '--disable-pulse --disable-x' if self.config.target_platform == Platform.LINUX: self.use_system_libs = True if self.config.variants.nodebug: self.configure_options += ' --disable-gst-debug' custom.GStreamerStatic.prepare(self) self.remotes['origin'] = ('%s/%s' % ('git://anongit.freedesktop.org/gstreamer', 'gst-plugins-good')) self.remotes['upstream'] = self.remotes['origin']