# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwindowsystem pkgver=5.60.0 pkgrel=0 pkgdesc="Access to the windowing system" arch="all" url="https://community.kde.org/Frameworks" license="MIT AND (LGPL-2.1-only OR LGPL-3.0-only" depends_dev="qt5-qtx11extras-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen libxrender-dev xcb-util-keysyms-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # Test 6 hangs 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="460a676fa0c0985979de19152bd61a7b8507b09d612ee693843ec586789845d4896bb240bc4cce51120f847f8564a85a31b0f7cef504091dec81bf6d18a99143 kwindowsystem-5.60.0.tar.xz"