aboutsummaryrefslogtreecommitdiffstats
path: root/community/kio-extras/APKBUILD
blob: 5cb85984c4157965ffd3e648040dffc8ab25ba80 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kio-extras
pkgver=20.12.2
pkgrel=0
arch="all !armhf !s390x !mips !mips64" # armhf: extra-cmake-modules, s390x: khtml-dev, mips: polkit-elogind
url="https://www.kde.org/applications/internet/"
pkgdesc="Additional components to increase the functionality of KIO"
license="GPL-2.0-or-later (LGPL-2.1-only OR LGPL-3.0-only)"
depends="kinit"
makedepends="
	extra-cmake-modules
	gperf
	kactivities-dev
	karchive-dev
	kbookmarks-dev
	kconfig-dev
	kconfigwidgets-dev
	kcoreaddons-dev
	kdbusaddons-dev
	kdnssd-dev
	kdoctools-dev
	kdsoap-dev
	kguiaddons-dev
	khtml-dev
	ki18n-dev
	kiconthemes-dev
	kio-dev
	kpty-dev
	libmtp-dev
	libssh-dev
	nfs-utils-dev
	phonon-dev
	qt5-qtbase-dev
	qt5-qtsvg-dev
	samba-dev
	shared-mime-info
	solid-dev
	syntax-highlighting-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/kio-extras-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # Requires running dbus-server

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="2cc8fa07136c0a790985ed34729e9e838e6986d1a07008cb62717352e4bb2591deb020de66cfbbd6229be4efb150fa49e8040da9c80bfd9854dfce1862e65e60  kio-extras-20.12.2.tar.xz"