2018-03-02 21:07:18 +00:00
|
|
|
pkgname=modemmanager-qt
|
2018-11-07 09:03:26 +00:00
|
|
|
pkgver=5.51.0
|
2018-03-02 21:07:18 +00:00
|
|
|
pkgrel=0
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="Qt wrapper for ModemManager DBus API"
|
2018-03-02 21:07:18 +00:00
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://community.kde.org/Frameworks"
|
2018-03-02 21:07:18 +00:00
|
|
|
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-11-07 09:03:26 +00:00
|
|
|
sha512sums="7e4456eabbf9b8921b0b34a61086111c93e8f6018aa6d32d7db0496bdbf5f673f73ddb34672489986f3e3e89156d6d2b0fb8a6350073e3fe052a923162aac346 modemmanager-qt-5.51.0.tar.xz"
|