# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=sushi pkgver=3.34.0 pkgrel=2 pkgdesc="A quick preview for Nautilus" url="https://gitlab.gnome.org/GNOME/sushi" arch="all !s390x !mips !mips64" 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 gtksourceview4-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=plain \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="bde009b30106bf31199c8c3b040743de5f5c782fd540612a34055bef9a22f9a08c4ed0ae7c5fc3cbfdc67a5d12f28bc70ca5135ba227403e8d127295a1253d18 sushi-3.34.0.tar.xz"