# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.utils import shell class Recipe(custom.GStreamer): name = 'gst-validate' remotes = {'origin': 'https://anongit.freedesktop.org/git/gstreamer/gst-devtools'} srcdir = 'validate' config_sh = 'sh ./autogen.sh --noconfigure && ./configure --enable-static --program-transform-name= ' deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'json-glib'] files_bins = ['gst-validate-1.0', 'gst-validate-transcoding-1.0', 'gst-validate-media-check-1.0', 'gst-validate-rtsp-server-1.0'] files_libs = ['libgstvalidate-1.0'] files_devel = ["include/gstreamer-1.0/gst/validate/*.h" "lib/pkgconfig/gst-validate-1.0.pc"] files_validate = ["lib/gst-validate-launcher/", 'bin/gst-validate-launcher', "share/gstreamer-1.0/validate/scenarios/*.scenario" ] files_gst_validate_plugins = ['lib/gstreamer-1.0/validate/libgstvalidatefaultinjection%(mext)s'] files_typelibs = [ 'GstValidate-1.0' ] def prepare(self): if self.config.target_platform == Platform.LINUX: self.files_libs.append("libgstvalidate-default-overrides-1.0")