# Template file for 'kdenetwork'
pkgname=kdenetwork
version=4.10.4
revision=2
short_desc="KDE network applications/libraries"
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=e681cd08ec512303b08fddb847f26b612c10dee51b6746b32be30c4bed71a9ba

build_style=cmake
configure_args="-DKDE4_BUILD_TESTS=OFF -DWITH_Xmms=OFF -DWITH_LibMeanwhile=OFF
 -DWITH_qq=OFF -DMOZPLUGIN_INSTALL_DIR=/usr/lib/mozilla/plugins/"

# XXX libgadu, libmsn, telepathy-qt.
hostmakedepends="cmake automoc4 pkg-config"
makedepends="openssl-devel qt-devel phonon-devel strigi-devel gpgme-devel
 soprano-devel kdelibs-devel>=${version} kdepimlibs-devel>=${version}
 nepomuk-core-devel>=${version} kde-workspace-devel>=${version} qimageblitz-devel
 libXtst-devel libXdamage-devel qca-devel v4l-utils-devel jasper-devel expat-devel
 sqlite-devel libmms-devel>=0.6.2 speex-devel libidn-devel giflib-devel libxslt-devel
 boost-devel libktorrent-devel libvncserver-devel libotr3-devel>=3.2.1_2 ppp-devel
 kde-baseapps-devel>=${version}"

kdenetwork-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
	}
}
	
kdenetwork_package() {
	depends="ppp"
	pkg_install() {
		vmove all
	}
}
