# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=bluedevil pkgver=5.17.2 pkgrel=0 pkgdesc="Integrate the Bluetooth technology within KDE workspace and applications" arch="all" url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" depends="kded bluez" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev kwidgetsaddons-dev kdbusaddons-dev knotifications-dev kwindowsystem-dev kiconthemes-dev plasma-framework-dev ki18n-dev kio-dev bluez-qt-dev kded-dev kded shared-mime-info" source="https://download.kde.org/stable/plasma/$pkgver/bluedevil-$pkgver.tar.xz" subpackages="$pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="7754f496b0eeb09f37e8d3b703a7a00bf8701ec447027300a4904c22f896cbbf6d603a29b2b866adcbf704be847ccf60658a435833569716477739837c12859f bluedevil-5.17.2.tar.xz"