2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=kdeconnect
|
2019-05-21 15:09:25 +00:00
|
|
|
_pkgname=kdeconnect-kde
|
|
|
|
pkgver=1.3.4
|
|
|
|
pkgrel=0
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgdesc="Adds communication between KDE and your smartphone"
|
|
|
|
url="https://community.kde.org/KDEConnect"
|
|
|
|
arch="all"
|
|
|
|
license="GPL-2.0"
|
|
|
|
depends="kirigami2"
|
2019-05-21 15:09:25 +00:00
|
|
|
makedepends="extra-cmake-modules kdoctools-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev knotifications-dev kio-dev kcmutils-dev qca-dev plasma-framework-dev libexecinfo-dev qt5-qtdeclarative-dev"
|
|
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
|
|
source="$pkgname-$pkgver.tar.xz::https://download.kde.org/stable/$pkgname/$pkgver/$_pkgname-$pkgver.tar.xz"
|
2018-10-08 06:50:31 +00:00
|
|
|
options="!check" # Requires running X11 server
|
2019-05-21 15:09:25 +00:00
|
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
2018-10-08 06:50:31 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
cmake \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DBUILD_TYPE=RelWithDebugInfo \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
|
|
|
-DEXPERIMENTALAPP_ENABLED=true \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DBUILD_TESTING=ON
|
2018-10-08 06:50:31 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
2019-05-21 15:09:25 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
2018-10-08 06:50:31 +00:00
|
|
|
}
|
|
|
|
|
2019-05-21 15:09:25 +00:00
|
|
|
sha512sums="286620cd5ed8da7a0f237710467f12be41ae139b14127b7049ee72c8a7042f67b599b642eb7c3e10a3504f1df11f5a9778db80fba4ac2e2fcd2ab4e8cafccfb9 kdeconnect-1.3.4.tar.xz"
|