# Template file for 'libkipi'
# vim: set ts=4 sw=4 sts=4 et:

pkgname=libkipi
version=4.14.3
revision=1
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi"
license="GPL-2, LGPL-2"
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="qt-devel kdelibs-devel phonon-devel"
depends="hicolor-icon-theme"
short_desc="A C++ interface to use kipi-plugins"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=dcedbad556840e1ed3b35609a6f700917f76cc0a4f41ca499da4e5c8af49553a

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

