31 lines
858 B
Bash
31 lines
858 B
Bash
# Template file for 'kf6-modemmanager-qt'
|
|
pkgname=kf6-modemmanager-qt
|
|
version=6.7.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
|
|
pkg-config"
|
|
makedepends="qt6-base-devel ModemManager-devel"
|
|
checkdepends="dbus"
|
|
short_desc="Qt wrapper for ModemManager DBus API"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/modemmanager-qt"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
|
checksum=fc45dcd8ada243baf7900099062f312b677bf694f88f36746d534afe907bf8f3
|
|
|
|
do_check() {
|
|
cd build
|
|
dbus-run-session ctest
|
|
}
|
|
|
|
kf6-modemmanager-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"
|
|
}
|
|
}
|