# Template file for 'nepomuk-core'
pkgname=nepomuk-core
version=4.10.4
revision=2
short_desc="Networked Environment for Personalized, Ontology-based Management of Unified Knowledge"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="https://projects.kde.org/projects/kde/kdelibs/nepomuk-core"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=63e3570fefa49ded6d27951bbd61b2baa01e750e9b1c595b645959ee7edc4e93

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

hostmakedepends="cmake automoc4 pkg-config"
makedepends="qt-devel phonon-devel soprano-devel>=2.9.2_4 poppler-qt4-devel
 ffmpeg-devel taglib-devel exiv2-devel kdelibs-devel>=${version}"

nepomuk-core-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
	}
}

nepomuk-core_package() {
	depends="redland-storage-virtuoso"
	pkg_install() {
		vmove all
	}
}
