kde/sink: remove (!460)

This commit is contained in:
Bart Ribbers 2019-06-24 13:35:20 +02:00 committed by Oliver Smith
parent 1f9f9f628c
commit 07a382a8b7
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 0 additions and 56 deletions

View file

@ -1,36 +0,0 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sink
pkgver=0.7.0
pkgrel=3
pkgdesc="An offline-cache, synchronizaqtion and indexing system for PIM data"
arch="all"
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0"
depends_dev="qt5-qtbase-dev kmime-dev kcontacts-dev kasync-dev kimap2-dev kdav2-dev lmdb-dev xapian-core-dev curl-dev readline-dev flatbuffers-dev libexecinfo-dev kcalcore-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz
musl-lacks-backtrace.patch"
subpackages="$pkgname-dev"
options="!check" # Completely fail
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="845d38197b3c4eb39b0852244f0e6ddb65e48840e7a0da742b8f1b9e4e24697f882816ad181b60de266b4a8eceb9f5498db3acf3d58daaaaf40d4a6980b7db2b sink-0.7.0.tar.xz
fe852fcb78dc055dd819f54dd34dc5c2e32dbdb4b74051420a90362409f2b6059ba236acf9a8e84d01180482f7985a641d59bfd094b8151c526f8453cfb8e6e1 musl-lacks-backtrace.patch"

View file

@ -1,20 +0,0 @@
diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp
index f1709bc..5595929 100644
--- a/synchronizer/main.cpp
+++ b/synchronizer/main.cpp
@@ -55,6 +55,7 @@ static Listener *listener = nullptr;
void printStacktrace()
{
#ifndef Q_OS_WIN
+#if defined(__GNU_LIBRARY__)
int skip = 1;
void *callstack[128];
const int nMaxFrames = sizeof(callstack) / sizeof(callstack[0]);
@@ -90,6 +91,7 @@ void printStacktrace()
}
std::cerr << trace_buf.str();
#endif
+#endif
}
static int sCounter = 0;