# Template file for 'vokoscreenNG'
pkgname=vokoscreenNG
version=4.2.0
revision=1
build_style=qmake
build_wrksrc="src"
hostmakedepends="pkg-config qt6-base-devel qt6-tools-devel"
makedepends="alsa-lib-devel libX11-devel libXrandr-devel pipewire-devel
 pulseaudio-devel gst-plugins-base1-devel qt6-multimedia-devel
 xdg-desktop-portal gstreamer1-devel"
depends="ffmpeg6 gstreamer1-pipewire gst-plugins-ugly1 gst-plugins-good1"
short_desc="Easy to use screencast creator"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html"
distfiles="https://github.com/vkohaupt/vokoscreenNG/archive/${version}.tar.gz"
checksum=5f74fc575ae18e8e62f13f891d79c1c720077f6b630085a02f7576c223cb431c

post_install() {
	vbin vokoscreenNG
	vinstall applications/vokoscreenNG.desktop 644 usr/share/applications
	vinstall applications/vokoscreenNG.png 644 usr/share/pixmaps
}

vokoscreen_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" (transitional dummy package)"
	build_style=meta
}
