blob: f34ec6cfdce943cb414cdab1cfa9ec556f7c20b3 (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=baloo-widgets
pkgver=19.12.2
pkgrel=1
pkgdesc="Widgets for Baloo"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://community.kde.org/Baloo"
license="LGPL-2.0-only AND LGPL-2.1-or-later"
depends_dev="qt5-qtbase-dev kconfig-dev kio-dev ki18n-dev kfilemetadata-dev baloo-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/baloo-widgets-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"/build
# filemetadatadatedisplaytest requires running dbus server
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "filemetadatadatedisplaytest"
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
}
sha512sums="810901328fed4f2f53e28dcd2c447c881af626e4261763dd3fc0a3dba527a196c7a0a4b619a05768b6c8503cf974ece577b134313e316c54fd9c0896a53f39fd baloo-widgets-19.12.2.tar.xz"
|