# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=bluez-qt pkgver=5.63.0 pkgrel=0 arch="all" pkgdesc="Qt wrapper for Bluez 5 DBus API" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev" makedepends="$depends_dev extra-cmake-modules doxygen graphviz qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/bluez-qt-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" options="!check" # Multiple tests either hang or fail completely prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="2b8d36569ed4bb9de9b99a2badab174c11fc6208c85b38bec7eda962764fcce56a0c184f05199714ef236f2268e5f7f4c0863457cae2c6243bf80df406ef4008 bluez-qt-5.63.0.tar.xz"