# Template file for 'kactivities'
pkgname=kactivities
version=4.10.5
revision=1
short_desc="KDE API for using and interacting with the Activity Manager"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="https://projects.kde.org/projects/kde/kactivities"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=4fc0d2a2e216d5aaa438c5d3685f9cb1e09bcc76486ca3bfb84e6e06f860cb69

build_style=cmake
configure_args="-DKDE4_BUILD_TESTS=OFF"

hostmakedepends="cmake automoc4 pkg-config"
makedepends="MesaLib-devel qt-devel phonon-devel kdelibs-devel>=${version}
 nepomuk-core-devel>=${version} soprano-devel openssl-devel"

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

kactivities_package() {
	pkg_install() {
		vmove all
	}
}