23 lines
697 B
Bash
23 lines
697 B
Bash
# Template file for 'snapshot'
|
|
pkgname=snapshot
|
|
version=46.3
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=rust
|
|
hostmakedepends="cargo desktop-file-utils gettext glib-devel
|
|
gtk-update-icon-cache pkg-config"
|
|
makedepends="libadwaita-devel rust-std"
|
|
short_desc="Take pictures and videos"
|
|
maintainer="chrysos349 <chrysostom349@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/snapshot"
|
|
distfiles="${GNOME_SITE}/snapshot/${version%.*}/snapshot-${version}.tar.xz"
|
|
checksum=45957a0415f454d63531491aa04795cee0ced4edddd5d8fa0d000f5ef0735b67
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|