# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwidgetsaddons pkgver=5.58.0 pkgrel=0 pkgdesc="Addons to QtWidgets" arch="all" url="https://community.kde.org/Frameworks" license="GPL-2.0-only AND LGPL-2.1-only AND Unicode-DFS-2016" depends_dev="qt5-qtbase-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # Fails due to requiring running X11 build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="987512048c1ec90bed7252783fc82165a4e30dedfd2d2e3b3407febb624aef30a3969b5a0e78586b1ec0c811a1671620a2dc0f311f48946143c7c2d74322dcd1 kwidgetsaddons-5.58.0.tar.xz"