# Template file for 'QMPlay2'
pkgname=QMPlay2
version=26.08.02
revision=1
build_style=cmake
hostmakedepends="pkg-config qt6-base qt6-tools shaderc"
makedepends="alsa-lib-devel ffmpeg6-devel libass-devel libcdio-devel
 libgme-devel libsidplayfp-devel libva-glx-devel libXv-devel
 pulseaudio-devel qt6-svg-devel qt6-tools-devel taglib-devel
 libcdio-paranoia-devel qt6-declarative-devel qt6-qt5compat-devel"
short_desc="Video and audio player which can play most formats and codecs"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="LGPL-3.0-only"
homepage="http://zaps166.sourceforge.net/?app=QMPlay2"
changelog="https://raw.githubusercontent.com/zaps166/QMPlay2/master/ChangeLog"
distfiles="https://github.com/zaps166/QMPlay2/releases/download/${version}/QMPlay2-src-${version}.tar.xz"
checksum=26ed1b33e38cc39635d363e2860a36dbc8b97b5e35f4b4dc7dffd6192fecf498

QMPlay2-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
	}
}
