aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dolphin/APKBUILD
blob: 052dacbcd888463378997dd983b37d8406406f36 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=dolphin
pkgver=19.04.2
pkgrel=0
arch="all"
url="https://kde.org/applications/system/dolphin"
pkgdesc="KDE File Manager"
license="GPL-2.0-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev kinit-dev
	kcmutils-dev knewstuff-dev kcoreaddons-dev ki18n-dev kdbusaddons-dev
	kbookmarks-dev kconfig-dev kio-dev kparts-dev solid-dev kiconthemes-dev
	kcompletion-dev ktextwidgets-dev knotifications-dev kcrash-dev
	kwindowsystem-dev phonon-dev baloo-dev baloo-widgets-dev kfilemetadata-dev
	kactivities-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	# kfileitemmodeltest and placesitemmodeltest are broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(kfileitemmodel|placesitemmodel)test"
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="e1480c2f98f06a29048683180e1ab30992e57a4cefde1b3a1a0da1c1c654482cc2e57d23fb7a7b8102e76f86c2b09b09900d37dbddc753c85f545146d47c5574  dolphin-19.04.2.tar.xz"