# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.utils import shell class Recipe(custom.GStreamer): name = 'gst-editing-services-1.0' licenses = [License.LGPLv2Plus] remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/gst-editing-services'} config_sh = 'sh ./autogen.sh --noconfigure && ./configure' configure_options = "--program-prefix= --disable-examples --enable-static " deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'gst-plugins-good-1.0', 'gst-validate'] files_bins = ['ges-launch-1.0'] files_devel = ['include/gstreamer-1.0/ges', 'lib/pkgconfig/gst-editing-services-1.0.pc'] files_libs = ['libges-1.0'] files_typelibs = ['GES-1.0'] files_plugins_ges = [ 'lib/gstreamer-1.0/libgstnle%(mext)s' ] files_plugins_ges_devel = ['lib/gstreamer-1.0/libgstnle.a', 'lib/gstreamer-1.0/libgstnle.la'] # files_python = ['site-packages/ges%(pext)s'] 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 --disable-docbook'