2018-03-02 21:07:18 +00:00
|
|
|
pkgname=networkmanager-qt
|
2018-07-15 09:09:52 +00:00
|
|
|
pkgver=5.48.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"
|
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2018-07-15 09:09:52 +00:00
|
|
|
sha512sums="f9299abe81188a87c6abdfc9e0bc3b962c4e68cd94cd8e4a01fce5079795e385c029cd070f51943435c314759b20b8aa8a495d0cdc70ee2ac10c6d5eaab02afa networkmanager-qt-5.48.0.tar.xz"
|