{% set version = "1.12.4" %}
{% set sha256 = "5a8704aa4c2eeb04da192c4a9942f94f860ac1a585de90d9f914bac26a970674" %}

package:
  name: gstreamer
  version: {{ version }}

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

build:
  skip: true  # [not linux]
  number: 0
  run_exports:
    # remove symbols at .90 patch releases just before minor versions?
    #    https://abi-laboratory.pro/tracker/timeline/gstreamer/
    - {{ pin_subpackage('gstreamer', max_pin='x.x') }}

requirements:
  build:
    - {{ compiler('c') }}
    - bison
    - flex
    - m4
    - perl
  host:
    - glib
    - xz

test:
  commands:
    - gst-inspect-1.0 --version
    - gst-launch-1.0  --version
    - gst-stats-1.0 --version
    - gst-typefind-1.0 --version

about:
  home: http://gstreamer.freedesktop.org/
  license: LGPL 2
  summary: "Library for constructing graphs of media-handling components"
  description:
  doc_url: https://gstreamer.freedesktop.org/documentation/
  dev_url: https://cgit.freedesktop.org/gstreamer/gstreamer/tree/
  doc_source_url: https://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs

extra:
  recipe-maintainers:
    - ccordoba12
    - mingwandroid
