aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/gnome-tour/template
blob: 181745c9485b0161da6992235ec50eaa63ab3d95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Template file for 'gnome-tour'
pkgname=gnome-tour
version=46.0
revision=1
build_style=meson
build_helper=rust
hostmakedepends="pkg-config cargo glib-devel gettext
 desktop-file-utils gtk-update-icon-cache"
makedepends="gtk4-devel libadwaita-devel libglib-devel rust-std"
short_desc="GNOME Tour & Greeter"
maintainer="oreo639 <oreo6391@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/gnome-tour/"
changelog="https://gitlab.gnome.org/GNOME/gnome-tour/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gnome-tour/${version%.*}/gnome-tour-${version}.tar.xz"
checksum=f32652aa9d7ef0643760ce63932082cfd3641e7733b76c429b78d09783b7c46a

post_patch() {
	[ -z "$CROSS_BUILD" ] && return 0
	vsed -i src/meson.build \
		 -e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
}