aboutsummaryrefslogtreecommitdiffstats
path: root/community/baloo/APKBUILD
blob: 27050283a46f2cb837b837d4ee5002802e44247a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=baloo
pkgver=5.78.0
pkgrel=0
pkgdesc="A framework for searching and managing metadata"
arch="all !armhf !mips64 !s390x" # armhf blocked by qt5-qtdeclarative and mips64, s390x blocked by polkit
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)"
depends_dev="qt5-qtdeclarative-dev lmdb-dev kcoreaddons-dev kconfig-dev kdbusaddons-dev ki18n-dev kidletime-dev solid-dev kfilemetadata-dev kcrash-dev kio-dev kservice-dev kbookmarks-dev kcompletion-dev kjobwidgets-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qtbase-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/baloo-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Tons of broken tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="18d73e47c2b653055418307fe92a060a37e734fcdfcca308cff7c778821a6fbdf2a42354e7e9ab49bc9f0774a0007010f155ce6da7f8dfaf77d154749a1a811b  baloo-5.78.0.tar.xz"