kooha: initial commit, version 2.2.2

This commit is contained in:
Tim Biermann 2022-10-30 09:52:22 +00:00
parent d5bd8b5c42
commit 6c5b89a42b
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 60 additions and 0 deletions

21
kooha/.footprint Normal file
View File

@ -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

5
kooha/.signature Normal file
View File

@ -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

31
kooha/Pkgfile Normal file
View File

@ -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
}

3
kooha/post-install Normal file
View File

@ -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