aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdeconnect/APKBUILD
blob: a493d78815ed60254132146c06e4d79c5e353b4c (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=kdeconnect
_pkgname=kdeconnect-kde
pkgver=1.3.4
pkgrel=1
pkgdesc="Adds communication between KDE and your smartphone"
url="https://community.kde.org/KDEConnect"
arch="all"
license="GPL-2.0-only OR GPL-3.0-only"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtmultimedia-dev ki18n-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev knotifications-dev kio-dev kcmutils-dev kservice-dev kdoctools-dev krunner-dev qca-dev pulseaudio-qt kirigami2-dev kpeople-dev"
checkdepends="xvfb-run"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.xz::https://download.kde.org/stable/$pkgname/$pkgver/$_pkgname-$pkgver.tar.xz"
builddir="$srcdir/$_pkgname-$pkgver"

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

check() {
	# testsslsocketlinereader is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(testsslsocketlinereader|testnotificationlistener)"
}

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

sha512sums="286620cd5ed8da7a0f237710467f12be41ae139b14127b7049ee72c8a7042f67b599b642eb7c3e10a3504f1df11f5a9778db80fba4ac2e2fcd2ab4e8cafccfb9  kdeconnect-1.3.4.tar.xz"