# Template file for 'kdevplatform'
pkgname=kdevplatform
version=1.7.3
revision=2

build_style=cmake
configure_args="-Wno-dev"

hostmakedepends="qt-qmake automoc4 perl"
makedepends="kdelibs-devel qt-devel qt-webkit-devel libressl-devel phonon-devel
 grantlee-devel boost-devel subversion-devel apr-util-devel qjson-devel"

short_desc="Libraries for use by KDE development tools"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2"
homepage="https://www.kdevelop.org/"
distfiles="http://download.kde.org/stable/kdevelop/4.7.3/src/${pkgname}-${version}.tar.bz2"
checksum=195134bde11672de38838f4b341ed28c58042374ca12beedacca9d30e6ab4a2b

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