27 lines
987 B
Bash
27 lines
987 B
Bash
# Template file for 'Kooha'
|
|
pkgname=Kooha
|
|
version=2.2.3
|
|
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 libglib-devel gtk4-devel pulseaudio-devel rust-std"
|
|
depends="gst-plugins-base1 gstreamer-vaapi gstreamer1 gstreamer1-pipewire
|
|
pipewire xdg-desktop-portal"
|
|
checkdepends="appstream-glib"
|
|
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/refs/tags/v${version}.tar.gz"
|
|
checksum=3fb2fea4e8aaceb24d6bae12bdd13bdc2f7d2d5665536fe8e57f7ca20e7c2591
|
|
make_check=no # Tests are broken, see https://github.com/SeaDve/Kooha/pull/206
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|