# Template file for 'loupe' pkgname=loupe version=46.2 revision=1 build_style=meson build_helper=rust hostmakedepends="cargo desktop-file-utils gettext gtk4-update-icon-cache itstool pkg-config" makedepends="lcms2-devel libadwaita-devel libgweather-devel libseccomp-devel rust-std" depends="glycin-loaders" short_desc="Simple image viewer for GNOME" maintainer="chrysos349 " license="GPL-3.0-or-later" homepage="https://gitlab.gnome.org/GNOME/loupe" changelog="https://gitlab.gnome.org/GNOME/loupe/-/raw/main/NEWS" distfiles="${GNOME_SITE}/loupe/${version%.*}/loupe-${version}.tar.xz" checksum=3a15a3f9cf8f889a7e642e3902299f79218a9001c08c56374e05914ffef5ab30 post_patch() { if [ "$CROSS_BUILD" ]; then vsed -i src/meson.build \ -e "s%rust_target /%'${RUST_TARGET}' / &%" fi }