# Description: open-source multimedia framework
# URL: https://gstreamer.freedesktop.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gobject-introspection libcap

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

build() {
  meson setup build $name-$version \
    --prefix=/usr \
    --libexecdir=/usr/lib \
    -D buildtype=plain \
    -D nls=disabled \
    -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
}
