diff options
-rw-r--r-- | testing/modemmanager-qt/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/modemmanager-qt/APKBUILD b/testing/modemmanager-qt/APKBUILD new file mode 100644 index 0000000000..b06bc186c5 --- /dev/null +++ b/testing/modemmanager-qt/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=modemmanager-qt +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Qt wrapper for ModemManager DBus API" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-only OR LGPL-3.0-only" +depends_dev="modemmanager-dev qt5-qtbase-dev" +makedepends="$depends_dev extra-cmake-modules doxygen graphviz-dev qt5-qttools-dev" +subpackages="$pkgname-dev $pkgname-doc" +options="!check" # requires dbus running +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="96aa702c3b07bc48132aa9567a25de73cb820c1b3fa59b4532ec5f3f0a9b1528f6def51ca660d7d2ed9e4eec4c4401af6bbeecd7f2b7ef3f92eb40ba74ccac2e modemmanager-qt-5.58.0.tar.xz" |