New package: loupe-46.0

This commit is contained in:
chrysos349 2024-01-07 01:33:02 +03:00 committed by oreo639
parent e73d2081c3
commit f95cb9b268

25
srcpkgs/loupe/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'loupe'
pkgname=loupe
version=46.0
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"
checksum=051aa45cf0ab362093fbf91863140be737db57bcb1f77bc1e00ab97255a252bd
post_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i src/meson.build \
-e "s%rust_target /%'${RUST_TARGET}' / &%"
fi
}