aboutsummaryrefslogtreecommitdiffstats
path: root/community/bluez-qt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/bluez-qt/APKBUILD')
-rw-r--r--community/bluez-qt/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/bluez-qt/APKBUILD b/community/bluez-qt/APKBUILD
new file mode 100644
index 0000000000..cd8d855460
--- /dev/null
+++ b/community/bluez-qt/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=bluez-qt
+pkgver=5.60.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%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-doc"
+options="!check" # Multiple tests either hang or fail completely
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ make
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="7a1ef70f2c95e51d0b9c8583f23c9bb07af02087bf291e90ff8f4b9d1702d3a12d38247950aef56ee6409bebfe94bc2ddf91da1fa0bb1ec75afa10b54a6cfd1a bluez-qt-5.60.0.tar.xz"