aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdeconnect/APKBUILD
blob: 977d37cdcc691cb55383a984099293229f477691 (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.5
pkgrel=0
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/kdeconnect/$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="ddcc8fb9707618e1dadf03fd74d4561c91fe944e72aefa2e6b488efc2fc4803e1f12d889b15aad56582e48bcd0f219b450d6c68e40b5f01d6b0ae109ef45a99d  kdeconnect-1.3.5.tar.xz"