33 lines
918 B
Bash
33 lines
918 B
Bash
# Template file for 'kf6-bluez-qt'
|
|
pkgname=kf6-bluez-qt
|
|
version=6.7.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=b0640106986213e1b28f2cba13d9cc22ee3d259755f27521f2e861634338f93b
|
|
|
|
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"
|
|
}
|
|
}
|