28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
# Template file for 'Kooha'
|
|
pkgname=Kooha
|
|
version=2.3.0
|
|
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"
|
|
changelog="https://github.com/SeaDve/Kooha/releases"
|
|
distfiles="https://github.com/SeaDve/Kooha/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=a1aec108b44483664a6c680c5351c32de98862f5df4503a915d5f23e8ae24636
|
|
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
|
|
}
|