# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=sushi pkgver=3.32.1 pkgrel=0 pkgdesc="A quick preview for Nautilus" url="https://gitlab.gnome.org/GNOME/sushi" arch="all !s390x" license="GPL-2.0-or-later" makedepends="meson clutter-dev clutter-gst-dev clutter-gtk-dev evince-dev freetype-dev gstreamer-dev gjs-dev gtk+3.0-dev gtksourceview-dev harfbuzz-dev gobject-introspection-dev webkit2gtk-dev libmusicbrainz-dev" subpackages="$pkgname-lang" source="https://download.gnome.org/sources/sushi/${pkgver%.*}/sushi-${pkgver}.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="db38b690591f7c7a5e55b7ad7a37022cd0624f48af6fe1c56ae05aa74598d767b61a1636d01ba207c399739c0cee6d266a52207a74f65f3e27216c5dfdd17909 sushi-3.32.1.tar.xz"