void-packages/srcpkgs/kf6-bluez-qt/template

33 lines
918 B
Bash

# Template file for 'kf6-bluez-qt'
pkgname=kf6-bluez-qt
version=6.3.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools"
makedepends="qt6-declarative-devel"
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"
#changelog=""
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=3b68b83fae1032d84213692b0c908f0fd57cafe57175c62b6ce5b89bc1d4a2dc
do_check() {
cd build
dbus-run-session ctest -E "bluezqt-managertest"
}
kf6-bluez-qt-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}