easyblock = 'ConfigureMake'

name = 'GStreamer'
version = '1.6.4'

homepage = 'http://gstreamer.freedesktop.org/'
description = """GStreamer is a library for constructing graphs of media-handling
 components. The applications it supports range from simple
 Ogg/Vorbis playback, audio/video streaming to complex audio
 (mixing) and video (non-linear editing) processing."""

toolchain = {'name': 'system', 'version': ''}

source_urls = ['http://gstreamer.freedesktop.org/src/gstreamer']
sources = [SOURCELOWER_TAR_XZ]

dependencies = [
    ('GLib', '2.52.0'),
    ('GObject-Introspection', '1.52.0'),
    ('zlib', '1.2.11'),
]

builddependencies = [
    ('Bison', '3.0.4'),
]

sanity_check_paths = {
    'files': [
        'bin/gst-%s-1.0' %
        x for x in [
            'inspect', 'typefind', 'launch']] + [
                'lib/libgst%s-1.0.%s' %
                (x, SHLIB_EXT) for x in [
                    'reamer', 'base', 'controller', 'check']], 'dirs': [
                        'include', 'share', 'libexec'], }

modextrapaths = {
    'GI_TYPELIB_PATH': 'share',
    'XDG_DATA_DIRS': 'share',
}

moduleclass = 'vis'
