# Template file for 'libkexiv2'
pkgname=libkexiv2
version=4.14.3
revision=3
build_style=cmake
hostmakedepends="automoc4 pkg-config"
makedepends="qt-devel phonon-devel exiv2-devel kdelibs-devel"
short_desc="A library to manipulate pictures metadata"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2, FDL"
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=c487078cc7349768dc76f0eabd98e546762fdd3fda9da088fbfa74785daf0efd

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