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

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