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