# Description: Desktop notification library
# URL: https://gitlab.gnome.org/GNOME/libnotify
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gtk3

name=libnotify
version=0.8.8
release=1
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
  meson setup build $name-$version \
    --prefix /usr \
    --wrap-mode nodownload \
    -D b_pie=true \
    -D tests=false \
    -D introspection=auto \
    -D man=false \
    -D gtk_doc=false \
    -D docbook_docs=disabled

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