void-packages/srcpkgs/akonadi/template

38 lines
1.0 KiB
Plaintext

# Template file for 'akonadi'
pkgname=akonadi
version=1.9.2
revision=3
short_desc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://community.kde.org/KDE_PIM/Akonadi"
distfiles="http://download.kde.org/stable/${pkgname}/src/${pkgname}-${version}.tar.bz2"
checksum=e712f3ee59731d613935df78df1cd65f80680d86d1f6642ff118061cd461bfd9
build_style=cmake
configure_args="-DAKONADI_BUILD_TESTS=OFF -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE
-DDATABASE_BACKEND=SQLITE"
# XXX mysql/pgsql backends.
hostmakedepends="cmake automoc4 pkg-config"
makedepends="shared-mime-info sqlite-devel boost-devel>=1.53 qt-devel
phonon-devel soprano-devel>=2.9.2_4"
akonadi-devel_package() {
short_desc+=" - development files"
depends="qt-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
akonadi_package() {
depends="shared-mime-info"
pkg_install() {
vmove all
}
}