# Template file for 'snapshot' pkgname=snapshot version=46.2 revision=1 build_style=meson build_helper=rust hostmakedepends="cargo desktop-file-utils gettext glib-devel gtk-update-icon-cache pkg-config" makedepends="libadwaita-devel rust-std" short_desc="Take pictures and videos" maintainer="chrysos349 " license="GPL-3.0-or-later" homepage="https://gitlab.gnome.org/GNOME/snapshot" distfiles="${GNOME_SITE}/snapshot/${version%.*}/snapshot-${version}.tar.xz" checksum=11fe79a12bb34051e2a279da8c1f454587d011a14fc24237e454c64f44bacf4d post_patch() { if [ "$CROSS_BUILD" ]; then vsed -i src/meson.build \ -e "s%rust_target /%'${RUST_TARGET}' / rust_target /%" fi }