# Template file for 'phonon-qt5-backend-vlc'
pkgname=phonon-qt5-backend-vlc
version=0.9.1
revision=2
wrksrc=${pkgname/-qt5/}-${version}
lib32disabled=yes
build_style=cmake
configure_args="-DPHONON_BUILD_PHONON4QT5=ON"
hostmakedepends="pkg-config extra-cmake-modules"
makedepends="qt5-devel phonon-qt5-devel vlc-devel"
provides="phonon-qt5-backend-0_1"
replaces="phonon-qt5-backend>=0"
short_desc="Phonon VLC backend for Qt5"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1-only"
homepage="http://phonon.kde.org/"
distfiles="${KDE_SITE}/phonon/${pkgname/-qt5/}/${version}/${pkgname/-qt5/}-${version}.tar.xz"
checksum=e698729ba8487299105309623722344f2cd84c46482516d51cd6609fac297313

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-devel phonon-qt5-devel"
fi
