2018-01-08 21:05:56 +01:00
|
|
|
# Template file for 'akonadi5'
|
|
|
|
pkgname=akonadi5
|
2018-12-13 21:43:27 +01:00
|
|
|
version=18.12.0
|
2018-01-08 21:05:56 +01:00
|
|
|
revision=1
|
2018-12-13 21:43:27 +01:00
|
|
|
wrksrc="akonadi-${version}"
|
2018-01-08 21:05:56 +01:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python
|
|
|
|
shared-mime-info libxslt pkg-config"
|
|
|
|
makedepends="qt5-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
|
|
|
|
qt5-plugin-sqlite qt5-plugin-tds kcompletion-devel kconfigwidgets-devel
|
|
|
|
kdbusaddons-devel kiconthemes-devel kitemmodels-devel kio-devel sqlite-devel
|
|
|
|
qt5-tools-devel"
|
|
|
|
depends="shared-mime-info"
|
|
|
|
short_desc="PIM layer providing an asynchronous API to access PIM data"
|
|
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
2018-07-12 21:20:29 +02:00
|
|
|
license="LGPL-2.1-or-later"
|
2018-01-08 21:05:56 +01:00
|
|
|
homepage="https://community.kde.org/KDE_PIM/Akonadi"
|
2018-07-12 21:20:29 +02:00
|
|
|
distfiles="${KDE_SITE}/applications/${version}/src/akonadi-${version}.tar.xz"
|
2018-12-13 21:43:27 +01:00
|
|
|
checksum=0860b4a3e2a091658b93a032cbf78d677dbb3acfd305469009205f365dce6eb0
|
|
|
|
conflicts="akonadi"
|
2018-01-08 21:05:56 +01:00
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qt5-tools-devel qt5-devel kconfig"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
sed -e "s?/usr/${XBPS_CROSS_TRIPLET}??g" \
|
|
|
|
-i build/src/private/protocolgen/CMakeFiles/protocolgen.dir/flags.make
|
|
|
|
sed -e "s?/usr/${XBPS_CROSS_TRIPLET}??g" \
|
|
|
|
-i build/src/private/protocolgen/CMakeFiles/protocolgen.dir/link.txt
|
|
|
|
sed -e 's!\&\& protocolgen!\&\& ../../bin/protocolgen!' \
|
|
|
|
-i build/src/private/CMakeFiles/generate_protocol.dir/build.make
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
akonadi5-devel_package() {
|
|
|
|
short_desc+=" - development"
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/qt5/mkspecs
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|