void-packages/srcpkgs/sushi/template

30 lines
989 B
Bash

# Template file for 'sushi'
pkgname=sushi
version=46.0
revision=1
build_helper="gir"
build_style=meson
hostmakedepends="glib-devel gettext pkg-config
$(vopt_if gir 'gobject-introspection') gjs gstreamer1"
makedepends="clutter-gst3-devel clutter-gtk-devel evince-devel gjs-devel
gtksourceview4-devel libsoup3-devel libwebkit2gtk41-devel"
depends="evince nautilus"
short_desc="Quick image previewer over DBus for Nautilus"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/sushi"
#changelog="https://gitlab.gnome.org/GNOME/sushi/-/raw/master/NEWS"
changelog="https://gitlab.gnome.org/GNOME/sushi/-/raw/gnome-46/NEWS"
distfiles="${GNOME_SITE}/sushi/${version%.*}/sushi-${version}.tar.xz"
checksum=96085baaa430ab2142c606aab5c47e2fbb2fd3eb70a352137e65c59a58a0f2c6
lib32disabled=yes
build_options="gir"
build_options_default="gir"
pre_build() {
if [ "$CROSS_BUILD" ]; then
export GST_PLUGIN_SCANNER="/usr/bin/false"
fi
}