aboutsummaryrefslogtreecommitdiffstats
path: root/community/kio-extras/APKBUILD
blob: 7d6533a9ae3d0f58f486ad9a3900f1b268a76f24 (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.1
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="fb0f3a495ffdbe0107554d6574e6fcb2dd51119f5d61e7e39aa528f7868a917fd10bef0cdc8d8c8451826a8218b6541860aaf62e03f72b44a707885966980bd0  kio-extras-20.12.1.tar.xz"