aboutsummaryrefslogtreecommitdiffstats
path: root/testing/baloo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/baloo/APKBUILD')
-rw-r--r--testing/baloo/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/baloo/APKBUILD b/testing/baloo/APKBUILD
new file mode 100644
index 0000000000..f31a6dd8fa
--- /dev/null
+++ b/testing/baloo/APKBUILD
@@ -0,0 +1,49 @@
+# 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"
+#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
+33b597cf676a4730e579260f1dfcb0f7 no-malloc-xapiandatabase-4.13.3.patch"
+sha256sums="c7467bf518dc23e319b581dbc1dff84cd8d0b03516a1d25bde0aa0cd7bbad043 baloo-4.13.3.tar.xz
+5e7880fb65378baeac351d5b612b89d300ec5b7345a99e71accd8f42da9e3189 no-malloc-xapiandatabase-4.13.3.patch"
+sha512sums="4f476ca4b1462b89c0f12da297cf629cf23bcd6aceb2c1d83caf45e89a55fb20d6effcbc4ed4c9b08c24877f899beb7aa462b2f15e0bb5aba719e613f768862d baloo-4.13.3.tar.xz
+d077528340ebdccfeb2b0978b75fb879fbb44024937b0ff8d6d18db58a85a904335cdcda2bf1e0ae403f6c93dd241e64b52789e1808cb284baf8ed55c363b26d no-malloc-xapiandatabase-4.13.3.patch"