mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-14 21:27:01 +02:00
24 lines
808 B
Bash
24 lines
808 B
Bash
# Template file for 'snapshot'
|
|
pkgname=snapshot
|
|
version=47.1
|
|
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 libseccomp-devel rust-std"
|
|
depends="gst-plugins-rs1"
|
|
short_desc="Take pictures and videos"
|
|
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
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|