aboutsummaryrefslogtreecommitdiffstats
path: root/community/baloo/APKBUILD
blob: 8a4adb8be2c2911f7c76d96721a99ddce14be391 (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.79.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="b0f5375f9ea56867fdf84d09c0d84b83d6c9b809769dda5d7f08484ff9cb0eb74032ac17a6a949ed4b40ce9a7a6fe68fd9414d247c0a8fa84a883f42101155a9  baloo-5.79.0.tar.xz"