2021-09-06 18:09:26 +00:00
|
|
|
# Template file for 'Kooha'
|
|
|
|
pkgname=Kooha
|
2022-02-12 21:20:59 +00:00
|
|
|
version=2.0.1
|
2021-09-06 18:09:26 +00:00
|
|
|
revision=1
|
|
|
|
build_style=meson
|
2022-02-12 21:20:59 +00:00
|
|
|
build_helper="rust"
|
|
|
|
hostmakedepends="pkg-config gettext glib-devel cargo"
|
|
|
|
makedepends="libglib-devel gtk4-devel libadwaita-devel rust-std"
|
2021-09-06 18:09:26 +00:00
|
|
|
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"
|
2022-02-12 21:20:59 +00:00
|
|
|
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
|
|
|
|
}
|