# Template file for 'phonon'
pkgname=phonon-qt5
version=4.8.3
revision=3
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DPHONON_BUILD_PHONON4QT5=ON -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON"
hostmakedepends="cmake automoc4"
makedepends="glib-devel qt5-devel pulseaudio-devel libqzeitgeist-devel"
short_desc="The multimedia framework for KDE"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://phonon.kde.org/"
distfiles="http://download.kde.org/stable/${pkgname%-*}/${version}/src/${pkgname%-*}-${version}.tar.xz"
checksum=a1149c961ca1570968d070bbd23671e614aa506f847ca93748960e309f85da16

phonon-qt5-devel_package() {
	depends="qt5-devel ${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/pkgconfig
		vmove usr/share/phonon4qt5
	}
}
