git » bluez-qt.git » commit 975588e

Add missing QCH docs, make qt5-declarative optional

author Antonio Rojas
2018-03-13 07:46:01 UTC
committer Antonio Rojas
2018-03-13 07:46:01 UTC
parent c4de841d4861c95792cd47981203e4af2ff44968

Add missing QCH docs, make qt5-declarative optional

PKGBUILD +6 -4

diff --git a/PKGBUILD b/PKGBUILD
index 14e80ce..eac73b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,14 @@
 
 pkgname=bluez-qt
 pkgver=5.44.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt wrapper for Bluez 5 DBus API'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
 license=(GPL2)
-depends=(qt5-declarative bluez)
-makedepends=(extra-cmake-modules mesa doxygen qt5-tools)
+depends=(qt5-base bluez)
+makedepends=(extra-cmake-modules mesa doxygen qt5-tools qt5-declarative)
+optdepends=('qt5-declarative: QML bindings')
 groups=(kf5)
 source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
 sha256sums=('bb73134db489fab1adde6e6f26a4298b07a36dfb3edba1671c01f3c3e0809f14'
@@ -24,7 +25,8 @@ build() {
   cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
-    -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d
+    -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
+    -DBUILD_QCH=ON
   make
 }