23 lines
721 B
Bash
23 lines
721 B
Bash
# Template file for 'Kooha'
|
|
pkgname=Kooha
|
|
version=2.0.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="rust"
|
|
hostmakedepends="pkg-config gettext glib-devel cargo"
|
|
makedepends="libglib-devel gtk4-devel libadwaita-devel rust-std"
|
|
short_desc="Simple screen recorder with a minimal interface"
|
|
maintainer="Unai Hernández Minaberry <unihernandez22@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/SeaDve/Kooha"
|
|
distfiles="https://github.com/SeaDve/Kooha/archive/v${version}.tar.gz"
|
|
checksum=984ee062fabfe6bbdf8024dd5e4d1c5ce2fafc3b75539f2ba52449bdd4cc3f98
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i build-aux/cargo.sh \
|
|
-e 's%"$CARGO_TARGET_DIR"/%&${RUST_TARGET}/%' \
|
|
-e '/CARGO_HOME/d'
|
|
fi
|
|
}
|