2018-03-02 21:07:18 +00:00
|
|
|
pkgname=modemmanager-qt
|
2018-03-10 15:44:09 +00:00
|
|
|
pkgver=5.44.0
|
2018-03-02 21:07:18 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc='Qt wrapper for ModemManager DBus API'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
|
|
|
license="GPL-2.0"
|
|
|
|
depends=""
|
|
|
|
depends_dev="modemmanager-dev qt5-qtbase-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules doxygen graphviz-dev qt5-qttools-dev"
|
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2018-03-10 15:44:09 +00:00
|
|
|
sha512sums="a7d39cb2627a8166944d76f4055f968aa25a40cca1edede16018af76d1ea55e8bbf0ed051de6c6b3898b9ae3e3844d200bad1af20e62af1f13d39c26c0ab0b75 modemmanager-qt-5.44.0.tar.xz"
|