# Description: Gstreamer libav Plugin.
# URL: https://gstreamer.freedesktop.org/modules/gst-libav.html
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: ffmpeg gst-plugins-base

name=gst-libav
version=1.24.2
release=1
source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz)

build() {
  meson build $name-$version \
    --prefix /usr \
    --libexecdir=/usr/lib \
    -D buildtype=plain \
    -D package-name="GStreamer (CRUX Linux)" \
    -D package-origin="https://crux.nu/"

  meson compile -C build -j ${JOBS:-1}
  DESTDIR=$PKG meson install -C build
}
