mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: snapshot-45.2
This commit is contained in:
parent
bb06934e8c
commit
207971d3b5
1 changed files with 22 additions and 0 deletions
22
srcpkgs/snapshot/template
Normal file
22
srcpkgs/snapshot/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'snapshot'
|
||||||
|
pkgname=snapshot
|
||||||
|
version=45.2
|
||||||
|
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=89077817fc735cc8e89db51628f52ea8ac66c194dfc6a7a42e003c4c29c4dd3e
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
vsed -i src/meson.build \
|
||||||
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue