# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=bluedevil pkgver=5.27.6 pkgrel=0 pkgdesc="Integrate the Bluetooth technology within KDE workspace and applications" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later AND LGPL-2.0-or-later AND ( LGPL-2.1-only OR LGPL-3.0-only )" depends=" bluez bluez-obexd kded " makedepends=" bluez-qt-dev extra-cmake-modules kcmutils-dev kcoreaddons-dev kdbusaddons-dev kded-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev knotifications-dev kwidgetsaddons-dev kwindowsystem-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev samurai shared-mime-info " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/bluedevil-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" f6674612185879460c4d1747afd6b5ce7cf6b8d4bd3cdef22a8ca1012715eafdcbad72e1a981a3c79ad15387537d40884e882532415dde3577a2278d0507992a bluedevil-5.27.6.tar.xz "