# Contributor: Leo # Maintainer: Natanael Copa pkgname=libnotify pkgver=0.7.9 pkgrel=1 pkgdesc="Desktop notification library" url="https://developer.gnome.org/notification-spec/" arch="all" options="!check" # No tests defined when building with meson. license="LGPL-2.1-or-later" makedepends="meson gdk-pixbuf-dev dbus-dev gtk+3.0-dev gobject-introspection-dev" subpackages="$pkgname-dev" source="https://download.gnome.org/sources/libnotify/${pkgver%.*}/libnotify-$pkgver.tar.xz" build() { abuild-meson \ -Dtests=true \ -Dintrospection=enabled \ -Dgtk_doc=false \ -Dman=false \ output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="8a842b50777279efdb7d96a836a546c47decad158a4f03f7ffc818860d1f6276a657619e4f4a19a4e2f5ad55e0371c793420d50d802983700e8c342273b73874 libnotify-0.7.9.tar.xz"