aboutsummaryrefslogtreecommitdiffstats
path: root/testing/akonadi
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 13:10:50 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 13:10:50 -0500
commit417d628fcd4f5014881c41c5a12ea58524d72a68 (patch)
tree64aa71448e88d67dd68b9cac82716cad2531044b /testing/akonadi
parent763ba4ca331a9bb9e6d6ec97f3788efd8eda1325 (diff)
downloadaports-417d628fcd4f5014881c41c5a12ea58524d72a68.tar.bz2
aports-417d628fcd4f5014881c41c5a12ea58524d72a68.tar.xz
testing/akonadi: new aport
Diffstat (limited to 'testing/akonadi')
-rw-r--r--testing/akonadi/APKBUILD42
-rw-r--r--testing/akonadi/disable-backtrace.patch11
2 files changed, 53 insertions, 0 deletions
diff --git a/testing/akonadi/APKBUILD b/testing/akonadi/APKBUILD
new file mode 100644
index 0000000000..9394fc0ca2
--- /dev/null
+++ b/testing/akonadi/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=akonadi
+pkgver=1.5.3
+pkgrel=0
+pkgdesc="kde PIM storage service server"
+url="http://pim.kde.org/akonadi"
+arch="all"
+license="LGPL"
+depends="shared-desktop-ontologies"
+depends_dev="kdebase-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages="$pkgname-dev"
+source="http://download.akonadi-project.org/akonadi-$pkgver.tar.bz2
+ disable-backtrace.patch"
+
+_builddir="$srcdir"/akonadi-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ mkdir "$_builddir"/build
+}
+
+build() {
+ cd "$_builddir"/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON "$_builddir" || return 1
+ make LDFLAGS="-lubacktrace" || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="ad342acca61c2af27be4cce61b2d925a akonadi-1.5.3.tar.bz2
+41dbdc24acdc79ba8e0b171c2a11abb1 disable-backtrace.patch"
diff --git a/testing/akonadi/disable-backtrace.patch b/testing/akonadi/disable-backtrace.patch
new file mode 100644
index 0000000000..291a5a93df
--- /dev/null
+++ b/testing/akonadi/disable-backtrace.patch
@@ -0,0 +1,11 @@
+--- akonadi-1.5.3.orig/shared/akcrash.cpp
++++ akonadi-1.5.3/shared/akcrash.cpp
+@@ -44,7 +44,7 @@
+ QString s;
+
+ /* FIXME: is there an equivalent for darwin, *BSD, or windows? */
+-#ifdef HAVE_EXECINFO_H
++#if 0
+ void* trace[256];
+ int n = backtrace(trace, 256);
+ if (!n)