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=('9104542fec59bbfbd2b493d990a04849347d5ce10948a5bdf0bc9e17187dc448'
19 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
23 cmake -B build -S $pkgname-$pkgver \
26 -DWITH_NEW_POWER_ASYNC_API=ON \
27 -DWITH_NEW_POWER_ASYNC_FREEDESKTOP=ON \
28 -DWITH_NEW_SOLID_JOB=ON # https://bugs.archlinux.org/task/64093
33 DESTDIR="$pkgdir" cmake --install build