34 lines
946 B
Bash
34 lines
946 B
Bash
# Template file for 'bluez-qt5'
|
|
pkgname=bluez-qt5
|
|
version=5.83.0
|
|
revision=1
|
|
wrksrc="${pkgname%5}-${version}"
|
|
build_style=cmake
|
|
configure_args=" -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools qt5-qmake"
|
|
makedepends="qt5-declarative-devel"
|
|
depends="bluez"
|
|
checkdepends="dbus"
|
|
short_desc="Qt wrapper for BlueZ 5 DBus API"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/bluez-qt"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
|
|
checksum=1bb9daacfdfca83a8963c5269cb028c42a761eb2f9ae2cac36c9475b06536d3b
|
|
|
|
do_check() {
|
|
cd build
|
|
dbus-run-session ctest
|
|
}
|
|
|
|
bluez-qt5-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|