# Description: A thin layer of graphic data types
# URL: https://ebassi.github.io/graphene/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gobject-introspection

name=graphene
version=1.10.8
release=2
source=(https://github.com/ebassi/graphene/archive/$version/$name-$version.tar.gz)

build() {
  meson setup build $name-$version \
    --prefix=/usr \
    --libexecdir=/usr/lib/$name \
    --wrap-mode nodownload \
    -D b_lto=true \
    -D b_pie=true \
    -D installed_tests=false

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