32 lines
889 B
Bash
32 lines
889 B
Bash
# Template file for 'modemmanager-qt5'
|
|
pkgname=modemmanager-qt5
|
|
version=5.96.0
|
|
revision=1
|
|
wrksrc="${pkgname%5}-${version}"
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config
|
|
qt5-host-tools qt5-qmake"
|
|
makedepends="qt5-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%5}-${version}.tar.xz"
|
|
checksum=0dd6f0e3ee3aa4ddc974e376b3fd1e3ebebdb6e1377dea8e67480ca903c471e5
|
|
|
|
do_check() {
|
|
cd build
|
|
dbus-run-session ctest
|
|
}
|
|
|
|
modemmanager-qt5-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|