# vi:si:et:sw=4:sts=4:ts=4:syntax=python # -*- Mode: Python -*- class Package(custom.GStreamer, package.Package): name = 'gstreamer-1.0-codecs' shortdesc = 'GStreamer 1.0 codecs' longdesc = 'GStreamer 1.0 codecs' uuid = 'a2e545d5-7819-4636-9e86-3660542f08e5' deps = ['gstreamer-1.0-core', 'base-crypto'] files = ['flac:libs', 'libkate:libs', 'libdv:libs', 'libogg:libs', 'speex:libs', 'libtheora:libs', 'wavpack:libs', 'libvpx:libs', 'opus:libs', 'libvorbis:libs', 'openjpeg:libs', 'openh264:libs', 'spandsp:libs', 'sbc:libs', 'mpg123:libs', 'lame:libs', 'gst-plugins-base-1.0:plugins_codecs', 'gst-plugins-good-1.0:plugins_codecs', 'gst-plugins-bad-1.0:plugins_codecs', 'gst-plugins-ugly-1.0:plugins_codecs', ] files_devel = ['gst-plugins-base-1.0:plugins_codecs_devel', 'gst-plugins-good-1.0:plugins_codecs_devel', 'gst-plugins-bad-1.0:plugins_codecs_devel', 'gst-plugins-ugly-1.0:plugins_codecs_devel', 'gst-plugins-bad-1.0:codecs_devel'] platform_files = { Platform.ANDROID: ['tremor:libs'], Platform.IOS: ['tremor:libs'], } def prepare(self): if self.config.variants.rpi: self.files.append('gst-omx-1.0:plugins_codecs') self.files_devel.append('gst-omx-1.0:plugins_codecs_devel') if not self.config.variants.visualstudio: self.files += ['taglib:libs']