mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
add qt5 version of akonadi
This commit is contained in:
parent
0a45d0e9da
commit
078c168092
35
akonadi-qt5/PKGBUILD
Normal file
35
akonadi-qt5/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
pkgname=akonadi-qt5
|
||||
pkgver=1.12.0
|
||||
pkgrel=1
|
||||
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://community.kde.org/KDE_PIM/Akonadi'
|
||||
license=('LGPL')
|
||||
depends=('shared-mime-info' 'boost-libs' 'mariadb')
|
||||
makedepends=('cmake' 'automoc4' 'boost' 'postgresql')
|
||||
optdepends=('postgresql: PostgreSQL backend')
|
||||
install="${pkgname}.install"
|
||||
conflicts=('akonadi')
|
||||
source=("http://download.kde.org/stable/akonadi/src/akonadi-${pkgver}.tar.bz2")
|
||||
md5sums=('3fb6703072410534bce51bbc3e6aa6e4')
|
||||
|
||||
prepare() {
|
||||
mkdir build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../akonadi-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
|
||||
-DAKONADI_BUILD_TESTS=OFF \
|
||||
-DQT5_BUILD=ON \
|
||||
-DWITH_SOPRANO=OFF
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
11
akonadi-qt5/akonadi-qt5.install
Normal file
11
akonadi-qt5/akonadi-qt5.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
update-mime-database usr/share/mime &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user