blob: dbe9cb6784b2a5a2202ee967718dfbf1791f32b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=networkmanager-qt
pkgver=5.58.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=RelWithDebugInfo \
-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="f10a898d7374a236f33766ec7a96ce349e1a11aaea28d9f728e8941f3ff6fc368b6d065a16ef3e18eae392199bbd669c63a1a6e64f9bc534960bb31b08b26856 networkmanager-qt-5.58.0.tar.xz"
|