4.10.3-2: add gtktreeviewmodel fixes
[arch-packages.git] / solid / trunk / PKGBUILD
blob58ddce4484fd012ff01b190f2c87e923a6a99bfb
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=solid
6 pkgver=5.105.0
7 pkgrel=2
8 pkgdesc='Hardware integration and detection'
9 arch=(x86_64)
10 url='https://community.kde.org/Frameworks'
11 license=(LGPL)
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')
15 groups=(kf5)
16 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
17 sha256sums=('fdcd5c0ee1060204f46ff88a0ab25403b6d83676d0d9f407209ce3bc6629aab5'
18             'SKIP')
19 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
21 build() {
22   cmake -B build -S $pkgname-$pkgver \
23     -DBUILD_TESTING=OFF \
24     -DBUILD_QCH=ON \
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
28   cmake --build build
31 package() {
32   DESTDIR="$pkgdir" cmake --install build