{% set version = "1.8.0" %}
{% set sha256 = "abc0acc1d15b4b9c97c65cd9689bd6400081853b9980ea428d3c8572dd791522" %}

package:
  name: gst-plugins-base
  version: {{ version }}

source:
  fn: gst-plugins-base-{{ version }}.tar.xz
  url: https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-{{ version }}.tar.xz
  sha256: {{ sha256 }}

build:
  skip: true  # [win or osx]
  number: 0

requirements:
  build:
    - gstreamer 1.8.*
    - m4
    - perl
    - xz 5.2.*
  run:
    - gstreamer 1.8.*

test:
  commands:
    - test -f $PREFIX/lib/libgstallocators-1.0.so
    - test -f $PREFIX/lib/libgstapp-1.0.so
    - test -f $PREFIX/lib/libgstaudio-1.0.so
    - test -f $PREFIX/lib/libgstfft-1.0.so
    - test -f $PREFIX/lib/libgstpbutils-1.0.so
    - test -f $PREFIX/lib/libgstriff-1.0.so
    - test -f $PREFIX/lib/libgstrtp-1.0.so
    - test -f $PREFIX/lib/libgstrtsp-1.0.so
    - test -f $PREFIX/lib/libgstsdp-1.0.so
    - test -f $PREFIX/lib/libgsttag-1.0.so
    - test -f $PREFIX/lib/libgstvideo-1.0.so

about:
    home: http://gstreamer.freedesktop.org/
    license: GPL2
    license_file: COPYING
    summary: "GStreamer Base Plug-ins"

extra:
  recipe-maintainers:
    - ccordoba12
    - mingwandroid
