2018-03-02 21:07:18 +00:00
|
|
|
pkgname=networkmanager-qt
|
2019-04-13 18:17:04 +00:00
|
|
|
pkgver=5.57.0
|
2018-03-02 21:07:18 +00:00
|
|
|
pkgrel=0
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="Qt wrapper for NetworkManager API"
|
2018-03-02 21:07:18 +00:00
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://community.kde.org/Frameworks"
|
2018-03-02 21:07:18 +00:00
|
|
|
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"
|
2019-02-11 13:36:33 +00:00
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
|
|
options="!check" # Fail
|
2018-03-02 21:07:18 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-11 13:36:33 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2018-03-02 21:07:18 +00:00
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
2019-02-11 13:36:33 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2018-03-02 21:07:18 +00:00
|
|
|
}
|
2019-04-13 18:17:04 +00:00
|
|
|
sha512sums="3ed341645b4e7be0bb47afbafb3dc1d2c30ff7c9dcce2acb647543cbd3fbec0e8896a7e2abb37cebf79679cf727ffa78a4f67b3253c8dd6036bb01a4086789df networkmanager-qt-5.57.0.tar.xz"
|