# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=qqc2-desktop-style pkgver=5.108.0 pkgrel=0 pkgdesc="A style for Qt Quick Controls 2 to make it follow your desktop theme" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only)" depends=" qt5-qtgraphicaleffects qt5-qtquickcontrols2 " depends_dev=" kconfigwidgets-dev kiconthemes-dev kirigami2-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev " makedepends="$depends_dev extra-cmake-modules samurai " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/qqc2-desktop-style-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 10fedd3392369e695e0e904105a638045b61cdcc2d7f53f5e7e6e4818bb994e6b1b5ada497604b6b5f92f2832c882b9869a7a1d9c806cce87e34d18bc3414e7b qqc2-desktop-style-5.108.0.tar.xz "