# Description: A middleware layer between C libraries (using GObject) and language bindings.
# URL: https://live.gnome.org/GObjectIntrospection
# Maintainer: Danny Rawlins, crux at romster dot me
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Packager: Matt Housh, jaeger at morpheus dot net
# Depends on: python glib

name=gobject-introspection
version=1.70.0
release=1
source=(http://ftp.gnome.org/pub/GNOME/sources/$name/${version::4}/$name-$version.tar.xz)

build() {
  cd $name-$version

  meson build \
        --prefix /usr \
        -D cairo=disabled \
        -D doctool=disabled

  ninja -C build -j ${JOBS:-1}
  DESTDIR="$PKG" ninja -C build install
}