# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdeclarative pkgver=9999_git1688827190 pkgrel=0 pkgdesc="Provides integration of QML and KDE Frameworks" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev=" kconfig-dev kglobalaccel-dev kguiaddons-dev ki18n-dev kiconthemes-dev kio-dev kpackage-dev kwidgetsaddons-dev kwindowsystem-dev libepoxy-dev qt5-qtdeclarative-dev " makedepends="$depends_dev doxygen extra-cmake-modules qt5-qttools-dev samurai " checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdeclarative-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc " 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 # quickviewsharedengine requires OpenGL CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "quickviewsharedengine" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 2f9f9200b18cf577cc0e67e82bd2010702c34c946533f97b0d4c2b2008b3c793ee9373058b46791003e8603e2179c6e96d42c0c57f3de66c2d2ff707331a4a5e kdeclarative-5.108.0.tar.xz " options="$options !strip"