# Template file for 'kdeplasma-addons'
pkgname=kdeplasma-addons
version=4.12.2
revision=1
short_desc="KDE Plasma Add-ons"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="http://www.kde.org"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=1d547d1a203f3e025241e1a57b2cf0a2239b2ed08ffb72700c1b28d0ce86dab8

build_style=cmake
configure_args="-DKDE4_BUILD_TESTS=OFF -DSYSCONF_INSTALL_DIR=/etc"

# XXX scim, marble.
hostmakedepends="cmake automoc4 pkg-config"
makedepends="openssl-devel qt-devel phonon-devel strigi-devel qoauth-devel
 soprano-devel kdelibs-devel>=${version} kdepimlibs-devel>=${version}
 nepomuk-core-devel>=${version} qimageblitz-devel boost-devel qjson-devel
 kde-workspace-devel>=4.11.6 libkexiv2-devel>=${version} libdbusmenu-qt-devel
 libXtst-devel attica-devel libXrender-devel eigen2 glib-devel ibus-devel"

kdeplasma-addons-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/share/apps/cmake
	}
}
