# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=libdazzle pkgver=3.32.2 pkgrel=0 pkgdesc="Library to delight your users with fancy features" url="https://gitlab.gnome.org/GNOME/libdazzle" arch="all" license="GPL-3.0-or-later" makedepends="gtk+3.0-dev vala gobject-introspection-dev gtk-doc meson" checkdepends="xvfb-run" subpackages="$pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/libdazzle/${pkgver%.*}/libdazzle-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --buildtype=release \ -Denable_gtk_doc=true \ . output ninja -C output } check() { xvfb-run ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="06399839ea8fb18f8a538f413eb01524e6633e1fe56422ecf44453d319edf8baf9e63467dac19b29cedf13e399bff93a400207b3d5fff514dc83882bb62e435e libdazzle-3.32.2.tar.xz"