[arch-commits] Commit in akonadi/repos (6 files)
Felix Yan
fyan at archlinux.org
Tue Jun 23 10:38:36 UTC 2015
Date: Tuesday, June 23, 2015 @ 12:38:36
Author: fyan
Revision: 241225
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
akonadi/repos/testing-i686/
akonadi/repos/testing-i686/PKGBUILD
(from rev 241224, akonadi/trunk/PKGBUILD)
akonadi/repos/testing-i686/akonadi.install
(from rev 241224, akonadi/trunk/akonadi.install)
akonadi/repos/testing-x86_64/
akonadi/repos/testing-x86_64/PKGBUILD
(from rev 241224, akonadi/trunk/PKGBUILD)
akonadi/repos/testing-x86_64/akonadi.install
(from rev 241224, akonadi/trunk/akonadi.install)
--------------------------------+
testing-i686/PKGBUILD | 48 +++++++++++++++++++++++++++++++++++++++
testing-i686/akonadi.install | 11 ++++++++
testing-x86_64/PKGBUILD | 48 +++++++++++++++++++++++++++++++++++++++
testing-x86_64/akonadi.install | 11 ++++++++
4 files changed, 118 insertions(+)
Copied: akonadi/repos/testing-i686/PKGBUILD (from rev 241224, akonadi/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-06-23 10:38:36 UTC (rev 241225)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=akonadi
+pkgver=1.13.0
+pkgrel=5
+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' 'qt4' 'libxslt')
+makedepends=('cmake' 'automoc4' 'boost' 'postgresql' 'mariadb')
+checkdepends=('xorg-server-xvfb')
+optdepends=('postgresql: PostgreSQL backend'
+ 'mariadb: MariaDB backend')
+install="${pkgname}.install"
+source=("http://download.kde.org/stable/${pkgname}/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('84eb2e471bd6bdfe54a2a2f1d858c07d')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
+ -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
+ -DDATABASE_BACKEND=SQLITE \
+ -DWITH_SOPRANO=OFF
+ make
+}
+
+check() {
+ # 17 akonadi-dbconfigtest failed as we changed the default backend
+ # 24~30 failed due to qt cannot find the sqldriver which is not installed yet
+ cd build
+ xvfb-run -a dbus-launch --exit-with-session make test || warning "Tests failed"
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: akonadi/repos/testing-i686/akonadi.install (from rev 241224, akonadi/trunk/akonadi.install)
===================================================================
--- testing-i686/akonadi.install (rev 0)
+++ testing-i686/akonadi.install 2015-06-23 10:38:36 UTC (rev 241225)
@@ -0,0 +1,11 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: akonadi/repos/testing-x86_64/PKGBUILD (from rev 241224, akonadi/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-06-23 10:38:36 UTC (rev 241225)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=akonadi
+pkgver=1.13.0
+pkgrel=5
+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' 'qt4' 'libxslt')
+makedepends=('cmake' 'automoc4' 'boost' 'postgresql' 'mariadb')
+checkdepends=('xorg-server-xvfb')
+optdepends=('postgresql: PostgreSQL backend'
+ 'mariadb: MariaDB backend')
+install="${pkgname}.install"
+source=("http://download.kde.org/stable/${pkgname}/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('84eb2e471bd6bdfe54a2a2f1d858c07d')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
+ -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
+ -DDATABASE_BACKEND=SQLITE \
+ -DWITH_SOPRANO=OFF
+ make
+}
+
+check() {
+ # 17 akonadi-dbconfigtest failed as we changed the default backend
+ # 24~30 failed due to qt cannot find the sqldriver which is not installed yet
+ cd build
+ xvfb-run -a dbus-launch --exit-with-session make test || warning "Tests failed"
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: akonadi/repos/testing-x86_64/akonadi.install (from rev 241224, akonadi/trunk/akonadi.install)
===================================================================
--- testing-x86_64/akonadi.install (rev 0)
+++ testing-x86_64/akonadi.install 2015-06-23 10:38:36 UTC (rev 241225)
@@ -0,0 +1,11 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list