1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc='Hardware integration and detection'
10 url='https://community.kde.org/Frameworks'
12 depends=(qt5-base media-player-info upower udisks2)
13 makedepends=(extra-cmake-modules qt5-tools qt5-doc doxygen qt5-declarative)
14 optdepends=('qt5-declarative: QML bindings')
16 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
17 sha256sums=('fdcd5c0ee1060204f46ff88a0ab25403b6d83676d0d9f407209ce3bc6629aab5'
19 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
22 cmake -B build -S $pkgname-$pkgver \
25 -DWITH_NEW_POWER_ASYNC_API=ON \
26 -DWITH_NEW_POWER_ASYNC_FREEDESKTOP=ON \
27 -DWITH_NEW_SOLID_JOB=ON # https://bugs.archlinux.org/task/64093
32 DESTDIR="$pkgdir" cmake --install build