# Template file for 'nepomuk-core'
pkgname=nepomuk-core
version=4.11.1
revision=1
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=1ed245662b7224f147097d38dc50dd900897ff3e650c08ddd6abee0f3eb1ec60

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

hostmakedepends="cmake automoc4 pkg-config"
makedepends="openssl-devel qt-devel phonon-devel soprano-devel>=2.9.2_4
 poppler-qt4-devel ffmpeg-devel>=1.2 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() {
	pkg_install() {
		vmove all
	}
}