9b18e344dd
* Add NetworkManager and PulseAudio applets to Plasma * This crashes plasma mobile on armhf (where it is not usable due to performance problems anyway), except on mainlined kernels with hardware accelerated graphics. This is mentioned in the pkgdesc of postmarketos-ui-plasma-mobile now.
35 lines
942 B
Text
35 lines
942 B
Text
pkgname=networkmanager-qt
|
|
pkgver=5.43.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"
|
|
|
|
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
|
|
}
|
|
sha512sums="29c4102f3de6eabb18e9afc15f96032153a073bc189a7422b39d405549cc5b206a1519dda15341669b63bb487c60f377cb66a215cbd3345d40def485d0205de4 networkmanager-qt-5.43.0.tar.xz"
|