APKBUILD 1.23 KB
Newer Older
Bart Ribbers's avatar
Bart Ribbers committed
1 2 3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=baloo
4
pkgver=5.65.0
Bart Ribbers's avatar
Bart Ribbers committed
5 6
pkgrel=0
pkgdesc="A framework for searching and managing metadata"
7
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
Bart Ribbers's avatar
Bart Ribbers committed
8 9 10 11
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"
12
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/baloo-$pkgver.tar.xz"
Bart Ribbers's avatar
Bart Ribbers committed
13 14 15
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Tons of broken tests

16 17
prepare() {
	default_prepare
18

19 20 21
	mkdir "$builddir"/build
}

Bart Ribbers's avatar
Bart Ribbers committed
22
build() {
23 24
	cd "$builddir"/build
	cmake "$builddir" \
25
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
Bart Ribbers's avatar
Bart Ribbers committed
26 27 28 29 30 31
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

package() {
32
	cd "$builddir"/build
Bart Ribbers's avatar
Bart Ribbers committed
33 34
	DESTDIR="$pkgdir" make install
}
35
sha512sums="34bdf91fddd0dded512cfb6c23a8648caf7b1bb321352d08550fcb15787fc24408f054ae01f2a2fb8be5918456d354ba87f5d388c72e3e629536457b993d95d2  baloo-5.65.0.tar.xz"