void-packages/srcpkgs/loupe/template

26 lines
811 B
Bash
Raw Normal View History

2024-01-06 23:33:02 +01:00
# Template file for 'loupe'
pkgname=loupe
2024-04-04 17:38:28 +02:00
version=46.1
2024-01-06 23:33:02 +01:00
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 <chrysostom349@gmail.com>"
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"
2024-04-04 17:38:28 +02:00
checksum=1af380fff52bdf1cce17b66c279864fe11aa53291b73d449cbdf8d3e2a930352
2024-01-06 23:33:02 +01:00
post_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i src/meson.build \
-e "s%rust_target /%'${RUST_TARGET}' / &%"
fi
}