diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-07-14 00:55:42 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-13 22:20:39 -0300 |
commit | c702f2a812cfbc5c0c1a68b6f120cf332f788f1f (patch) | |
tree | 800e1687809b5e688995a9948d19af9e577a167d /community/networkmanager-qt | |
parent | 8d48f29796e55f6906ecb8cb8ef27e1b4dc3b820 (diff) | |
download | aports-c702f2a812cfbc5c0c1a68b6f120cf332f788f1f.tar.bz2 aports-c702f2a812cfbc5c0c1a68b6f120cf332f788f1f.tar.xz |
community/kde-frameworks: move from testing
Diffstat (limited to 'community/networkmanager-qt')
-rw-r--r-- | community/networkmanager-qt/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/networkmanager-qt/APKBUILD b/community/networkmanager-qt/APKBUILD new file mode 100644 index 0000000000..3361956e1b --- /dev/null +++ b/community/networkmanager-qt/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=networkmanager-qt +pkgver=5.60.0 +pkgrel=0 +pkgdesc="Qt wrapper for NetworkManager API" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1-only OR LGPL-3.0-only" +depends="networkmanager" +depends_dev="networkmanager-dev" +makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +builddir="$srcdir/$pkgname-$pkgver/build" + +prepare() { + default_prepare + + mkdir "$builddir" && cd "$builddir" +} + +build() { + cmake .. \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + # The excluded tests currently fail + CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(manager|settings|activeconnection)test' +} + + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="f1cde15752f76f681ef82b509154019d2b010de36c5c61e74ecae9636e1fe321ca687295091a9547e2cc5f3edf99597acd992a043b3bec8a4376a086c58ed1ce networkmanager-qt-5.60.0.tar.xz" |