# Template file for 'libkdcraw'
pkgname=libkdcraw
version=4.14.3
revision=1
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="libressl-devel boost-devel qt-devel phonon-devel kdelibs-devel libraw-devel"
depends="hicolor-icon-theme"
short_desc="A C++ interface used to decode RAW picture"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL, LGPL, FDL"
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=78c851dba252224bf30012d2f6a79f3c846103b7ce6770d939ac2b8530cf4a4f

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