# Template file for 'kfilemetadata'
pkgname=kfilemetadata
version=4.14.3
revision=5
build_style=cmake
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF"
hostmakedepends="automoc4 pkg-config"
makedepends="zlib-devel libressl-devel qt-devel phonon-devel kdelibs-devel
 poppler-qt4-devel ffmpeg-devel taglib-devel exiv2-devel"
short_desc="A library for extracting file metadata"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1, LGPL-3"
homepage="https://projects.kde.org/projects/kde/kdelibs/kfilemetadata"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=3115e6ebd8b52ae9eb1016a3391b019c34fa443d6a5d9351550c5e0baf0d5371

kfilemetadata-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
	}
}
