aboutsummaryrefslogblamecommitdiffstats
path: root/community/bluez-qt/APKBUILD
blob: a58e3917993d31a54ca11a69e81802de5365a233 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
             
        
                                                      




                                                                               
                                                                                        



                                                                
                        
                                         


                                             
                           


           
                                                              
 
                                                                                                                                                                     
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=bluez-qt
pkgver=5.70.0
pkgrel=0
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
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

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_QCH=ON
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="e9ed0c53c1100109ba02c7fcfb81bbc2162b0904219ae35a7455b7653086b1761820168a0bb959f65369dd7b8ac4b6726351e0e6a1fa98fac2bc513f0fbd9df0  bluez-qt-5.70.0.tar.xz"