27 lines
987 B
Bash
27 lines
987 B
Bash
# Template file for 'Kooha'
|
|
pkgname=Kooha
|
|
version=2.2.4
|
|
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=f5109ec1bf534fd7bf9387795ade5b2c5faf9c08f8bd72776e4931993b4fbca4
|
|
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
|
|
}
|