# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=solid pkgver=5.108.0 pkgrel=0 pkgdesc="Hardware integration and detection" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only OR LGPL-3.0-only" depends_dev="qt5-qtdeclarative-dev" makedepends="$depends_dev extra-cmake-modules bison doxygen eudev-dev flex-dev qt5-qttools-dev samurai udisks2-dev upower-dev " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/solid-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build # solidmttest is broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "solidmttest" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 49ea3886be8f4e6a277ae29353f816d290ad76c8192b5d7d6043710124e3fa40523e75d2fb6fb05f452a654b80193c2557104e8f0a529bc90064ac6382e3c569 solid-5.108.0.tar.xz "