Kooha: update to 2.0.1.

This commit is contained in:
Michal Vasilek 2022-02-12 22:20:59 +01:00 committed by Echo
parent d41e5ba5c9
commit 7f2e034af7
2 changed files with 24 additions and 4 deletions

View file

@ -0,0 +1,11 @@
--- a/meson.build
+++ b/meson.build
@@ -14,7 +14,7 @@
dependency('glib-2.0', version: '>= 2.66')
dependency('gio-2.0', version: '>= 2.66')
dependency('gtk4', version: '>= 4.0.0')
-dependency('libadwaita-1', version: '>= 1.0.0-alpha.1')
+dependency('libadwaita-1', version: '>= 1.0.0')
glib_compile_resources = find_program('glib-compile-resources', required: true)
glib_compile_schemas = find_program('glib-compile-schemas', required: true)

View file

@ -1,13 +1,22 @@
# Template file for 'Kooha'
pkgname=Kooha
version=1.2.1
version=2.0.1
revision=1
build_style=meson
hostmakedepends="pkg-config gettext glib-devel"
depends="gstreamer1 python3-gobject gstreamer1-pipewire pipewire gtk4 libadwaita"
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=1aea99804489363e3708559e45e6ad0583a092430fb7c446240e74f2d9bb19eb
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
}