diff options
Diffstat (limited to 'testing/kdeconnect')
-rw-r--r-- | testing/kdeconnect/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/kdeconnect/APKBUILD b/testing/kdeconnect/APKBUILD new file mode 100644 index 0000000000..5c87c73e1f --- /dev/null +++ b/testing/kdeconnect/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kdeconnect +_pkgname=kdeconnect-kde +pkgver=1.3.4 +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/$pkgname/$pkgver/$_pkgname-$pkgver.tar.xz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cmake \ + -DBUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DSMSAPP_ENABLED=TRUE \ + -DEXPERIMENTALAPP_ENABLED=TRUE + make +} + +check() { + # testsslsocketlinereader is broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "testsslsocketlinereader" +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="286620cd5ed8da7a0f237710467f12be41ae139b14127b7049ee72c8a7042f67b599b642eb7c3e10a3504f1df11f5a9778db80fba4ac2e2fcd2ab4e8cafccfb9 kdeconnect-1.3.4.tar.xz" |