blob: 13a3e7091476e21fbb97e2142b23a129499125d4 (
plain)
1 # Description: Elegantly record your screen
2 # URL: https://github.com/SeaDve/Kooha/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: appstream-glib desktop-file-utils libadwaita pulseaudio python3-gobject
5
6 name=kooha
7 version=2.2.3
8 release=1
9 source=(https://github.com/SeaDve/Kooha/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12 ls /usr/include/gtk-4.0/gdk/wayland/gdkwayland.h || (printf '\e[1;31m%-6s\e[m\n' "gtk4 is missing wayland libraries, rebuild mesa, then gtk4 to install $name" ; exit 1)
13
14 #export RUSTUP_TOOLCHAIN=stable
15 #export CARGO_TARGET_DIR=target
16
17 prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
18 mkdir "$PKGMK_SOURCE_DIR/rust" || true
19 export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
20
21 meson setup Kooha-$version build \
22 --prefix=/usr \
23 --buildtype=plain \
24 --wrap-mode nodownload \
25 -D b_lto=true \
26 -D b_pie=true
27 meson compile -C build
28 DESTDIR=$PKG meson install -C build
29
30 rm -r $PKG/usr/share/locale
31 }
|