# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdeclarative pkgver=5.59.0 pkgrel=0 pkgdesc="Provides integration of QML and KDE Frameworks" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="qt5-qtdeclarative-dev kconfig-dev ki18n-dev kiconthemes-dev kio-dev kwidgetsaddons-dev kwindowsystem-dev kglobalaccel-dev kguiaddons-dev kpackage-dev libepoxy-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="dd17d5a73c3751d9f8267f569ef3941dc9752855128d308f6425585ec777f2d9e65d6acc50e474378fdc2639c47a411c8197743da166d3a9018d9384981b53d2 kdeclarative-5.59.0.tar.xz"