commit 6c5b89a42b2674cd491ffc0820a01cd8e435498a Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 30 09:52:22 2022 +0000 kooha: initial commit, version 2.2.2 diff --git a/kooha/.footprint b/kooha/.footprint new file mode 100644 index 000000000..9d3153e56 --- /dev/null +++ b/kooha/.footprint @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/kooha +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/io.github.seadve.Kooha.desktop +drwxr-xr-x root/root usr/share/glib-2.0/ +drwxr-xr-x root/root usr/share/glib-2.0/schemas/ +-rw-r--r-- root/root usr/share/glib-2.0/schemas/io.github.seadve.Kooha.gschema.xml +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/io.github.seadve.Kooha.svg +drwxr-xr-x root/root usr/share/icons/hicolor/symbolic/ +drwxr-xr-x root/root usr/share/icons/hicolor/symbolic/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/symbolic/apps/io.github.seadve.Kooha-symbolic.svg +drwxr-xr-x root/root usr/share/kooha/ +-rw-r--r-- root/root usr/share/kooha/resources.gresource +drwxr-xr-x root/root usr/share/metainfo/ +-rw-r--r-- root/root usr/share/metainfo/io.github.seadve.Kooha.metainfo.xml diff --git a/kooha/.signature b/kooha/.signature new file mode 100644 index 000000000..0952f7f86 --- /dev/null +++ b/kooha/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF332DdXUBiFQmybhhw+EsSzmkgdofQQ1cxwB/EuAsa2vNPkoHaHxDqWw19Bnh0kmwnb+AlID0LU8l3bZNiVSRwwk= +SHA256 (Pkgfile) = a848b51e7ecb0b6e21192ebb63ea493514f117b59b5909761e82aa265c12c376 +SHA256 (.footprint) = 2f016e293656abc49402c34bd50303caf21938fdf8f661fbb66063667019f99f +SHA256 (kooha-2.2.2.tar.gz) = 6336d09344ac1da94f92db4b9c6445e73da95cac1d6a9f77a644d2e0e38b70f1 diff --git a/kooha/Pkgfile b/kooha/Pkgfile new file mode 100644 index 000000000..35825e552 --- /dev/null +++ b/kooha/Pkgfile @@ -0,0 +1,31 @@ +# Description: Elegantly record your screen +# URL: https://github.com/SeaDve/Kooha/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: appstream-glib desktop-file-utils libadwaita pulseaudio python3-gobject + +name=kooha +version=2.2.2 +release=1 +source=(https://github.com/SeaDve/Kooha/archive/v$version/$name-$version.tar.gz) + +build() { + 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) + + #export RUSTUP_TOOLCHAIN=stable + #export CARGO_TARGET_DIR=target + + prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache + mkdir "$PKGMK_SOURCE_DIR/rust" || true + export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" + + meson setup Kooha-$version build \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true + meson compile -C build + DESTDIR=$PKG meson install -C build + + rm -r $PKG/usr/share/locale +} diff --git a/kooha/post-install b/kooha/post-install new file mode 100644 index 000000000..f3243c3be --- /dev/null +++ b/kooha/post-install @@ -0,0 +1,3 @@ +#!/bin/sh +glib-compile-schemas /usr/share/glib-2.0/schemas +prt-get isinst desktop-file-utils && /usr/bin/update-desktop-database