aboutsummaryrefslogtreecommitdiffstats
path: root/testing/modemmanager-qt
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-22 00:50:57 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-28 17:14:49 +0000
commit5c6bbce074cdc8bfb55a596817b2d5a5d0899319 (patch)
treee7e51b391c85210a3d866df5a862d3d579a7b9eb /testing/modemmanager-qt
parentb0627e2243be0075781c6b1817a086fa01635bcf (diff)
downloadaports-5c6bbce074cdc8bfb55a596817b2d5a5d0899319.tar.bz2
aports-5c6bbce074cdc8bfb55a596817b2d5a5d0899319.tar.xz
testing/modemmanager-qt: new aport
Closes GH-7992
Diffstat (limited to 'testing/modemmanager-qt')
-rw-r--r--testing/modemmanager-qt/APKBUILD33
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"