diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-12-17 14:29:37 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-12-17 15:49:14 +0100 |
commit | b4e36911076a1ecaf7fd97a0e63e529694378c8a (patch) | |
tree | c129719def7632a0c2345b8199c9ebf7ab57041e /unmaintained | |
parent | 4846d2c4be472ee0bd381d87a5957b656b02ea8c (diff) | |
download | aports-b4e36911076a1ecaf7fd97a0e63e529694378c8a.tar.bz2 aports-b4e36911076a1ecaf7fd97a0e63e529694378c8a.tar.xz |
unmaintained/baloo: moved from testing
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/baloo/APKBUILD | 48 | ||||
-rw-r--r-- | unmaintained/baloo/no-malloc-xapiandatabase-4.13.3.patch | 11 |
2 files changed, 59 insertions, 0 deletions
diff --git a/unmaintained/baloo/APKBUILD b/unmaintained/baloo/APKBUILD new file mode 100644 index 0000000000..3a82d12117 --- /dev/null +++ b/unmaintained/baloo/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=baloo +pkgver=4.13.3 +pkgrel=0 +pkgdesc="A framework for searching and managing metadata" +url="https://projects.kde.org/projects/kde/kdelibs/baloo" +arch="all" +license="LGPL" +depends= +depends_dev="kdepimlibs-dev kfilemetadata-dev xapian-core-dev" +makedepends="$depends_dev automoc4 cmake" +install="" +subpackages="$pkgname-dev $pkgname-libs" +source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz + no-malloc-xapiandatabase-4.13.3.patch" + +_builddir="$srcdir"/${pkgname}-${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 -p "$_builddir"/build +} + +build() { + cd "$_builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -Wno-dev "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="00d818ad48d4ef618e86f5094ebebaa8 baloo-4.13.3.tar.xz +357fadd2779d8243d5c060583ae12aa4 no-malloc-xapiandatabase-4.13.3.patch" +sha256sums="c7467bf518dc23e319b581dbc1dff84cd8d0b03516a1d25bde0aa0cd7bbad043 baloo-4.13.3.tar.xz +4bded5e80c9e49dff0a8c2b767b63a39d46f380cb2ab99397d77f0557d236458 no-malloc-xapiandatabase-4.13.3.patch" +sha512sums="4f476ca4b1462b89c0f12da297cf629cf23bcd6aceb2c1d83caf45e89a55fb20d6effcbc4ed4c9b08c24877f899beb7aa462b2f15e0bb5aba719e613f768862d baloo-4.13.3.tar.xz +b3b9f966acf72da52df378ee9885c3b5d66d6d7bd976fa3b7b1a0a19e69fdd7fa1a2261438e247c4a6dc8c125fb25b6d41e189b163d171d99b7bc283e4266c99 no-malloc-xapiandatabase-4.13.3.patch" diff --git a/unmaintained/baloo/no-malloc-xapiandatabase-4.13.3.patch b/unmaintained/baloo/no-malloc-xapiandatabase-4.13.3.patch new file mode 100644 index 0000000000..9c7390d26d --- /dev/null +++ b/unmaintained/baloo/no-malloc-xapiandatabase-4.13.3.patch @@ -0,0 +1,11 @@ +--- baloo-4.13.3/src/xapian/xapiandatabase.cpp.orig ++++ baloo-4.13.3/src/xapian/xapiandatabase.cpp +@@ -140,7 +140,7 @@ + m_docsToAdd.clear(); + m_docsToRemove.clear(); + +-#ifdef __GNUC__ ++#if defined (__GLIBC__) + malloc_trim(0); + #endif + } |