# Template file for 'qmmp'
pkgname=qmmp
version=1.2.4
revision=1
build_style=cmake
configure_args="-DUSE_HAL:BOOL=FALSE -DQMMP_DEFAULT_UI:STRING=simple"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
# XXX projectm, wildmidi
makedepends="enca-devel faad2-devel ffmpeg-devel jack-devel libarchive-devel
 libbs2b-devel libcdio-paranoia-devel libcurl-devel libgme-devel libmad-devel
 libmms-devel libmodplug-devel libmpcdec-devel libsamplerate-devel
 libshout-devel libsidplayfp-devel libsoxr-devel opusfile-devel pulseaudio-devel
 qt5-multimedia-devel qt5-tools-devel qt5-x11extras-devel taglib-devel
 wavpack-devel"
short_desc="Audio player based on the Qt5 libraries"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3.0-or-newer"
homepage="http://qmmp.ylsoftware.com"
distfiles="http://qmmp.ylsoftware.com/files/${pkgname}-${version}.tar.bz2"
checksum=224904f073e3921a080dca008e6c99e3d606f5442d1df08835cba000a069ae66

qmmp-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
	}
}
