2024-01-06 23:33:02 +01:00
|
|
|
# Template file for 'loupe'
|
|
|
|
pkgname=loupe
|
2024-04-10 14:14:08 +02:00
|
|
|
version=46.2
|
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-10 14:14:08 +02:00
|
|
|
checksum=3a15a3f9cf8f889a7e642e3902299f79218a9001c08c56374e05914ffef5ab30
|
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
|
|
|
|
}
|