3d0b44dded
Built and tested on x86_64, everything works as expected. [ci:skip-build]: ollieparanoid made sure, that this builds for all relevant arches. With crossdirect, so that means it is pretty stable now \o/
35 lines
938 B
Text
35 lines
938 B
Text
pkgname=networkmanager-qt
|
|
pkgver=5.57.0
|
|
pkgrel=0
|
|
pkgdesc="Qt wrapper for NetworkManager API"
|
|
arch="all"
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL-2.1"
|
|
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"
|
|
options="!check" # Fail
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="3ed341645b4e7be0bb47afbafb3dc1d2c30ff7c9dcce2acb647543cbd3fbec0e8896a7e2abb37cebf79679cf727ffa78a4f67b3253c8dd6036bb01a4086789df networkmanager-qt-5.57.0.tar.xz"
|