snapshot: update to 48.0.1

This commit is contained in:
chrysos349 2025-03-28 12:49:01 +03:00 committed by oreo639
parent 721e918718
commit dcbf947cdf

View file

@ -1,11 +1,11 @@
# Template file for 'snapshot'
pkgname=snapshot
version=47.1
version=48.0.1
revision=1
build_style=meson
build_helper=rust
hostmakedepends="cargo desktop-file-utils gettext glib-devel
gtk-update-icon-cache pkg-config"
gtk4-update-icon-cache pkg-config"
makedepends="libadwaita-devel libseccomp-devel rust-std"
depends="gst-plugins-rs1"
short_desc="Take pictures and videos"
@ -13,12 +13,12 @@ maintainer="chrysos349 <chrysostom349@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/snapshot"
changelog="https://gitlab.gnome.org/GNOME/snapshot/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/snapshot/${version%.*}/snapshot-${version}.tar.xz"
checksum=e4b162679af24c7e96ee6e22b47d5ff0da96e0a0f616d13aeb1207c609f89483
distfiles="${GNOME_SITE}/snapshot/${version%%.*}/snapshot-${version}.tar.xz"
checksum=393176859a20b7d235dfc303031ba20c686441106988dc911dd91b7b6d66e1fd
post_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i src/meson.build \
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
-e "s%rust_target /%'${RUST_TARGET}' / &%"
fi
}