# Template file for 'QMPlay2'
pkgname=QMPlay2
version=18.07.03
revision=1
wrksrc="${pkgname}-src-${version}"
build_style=cmake
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
makedepends="alsa-lib-devel ffmpeg-devel libass-devel libcdio-devel libgme-devel
 libsidplayfp-devel libva-glx-devel libXv-devel pulseaudio-devel
 qt5-svg-devel qt5-tools-devel qt5-x11extras-devel taglib-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"
distfiles="https://github.com/zaps166/QMPlay2/releases/download/${version}/QMPlay2-src-${version}.tar.xz"
checksum=78cdadea21728f7a902ae240aae15481bcad2b9f34598c20ee7711feeff79122

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