# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdesignerplugin pkgver=5.82.0 pkgrel=0 pkgdesc="Integration of Frameworks widgets in Qt Designer/Creator" arch="all !armhf !mips64 !s390x" # armhf blocked by extra-cmake-modules and mips64, s390x blocked by polkit url="https://community.kde.org/Frameworks" license="LGPL-2.1-only" depends_dev="kcoreaddons-dev kconfig-dev kcompletion-dev kconfigwidgets-dev kiconthemes-dev kio-dev kitemviews-dev kplotting-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev sonnet-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev kdoctools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kdesignerplugin-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" b672ce606dacd638d6b9adf199ee86dacf87fc9689277ee8ad4b8bb3b686e1e7cdf01d94a9690fd50a644679d178fadbc6d8dc0c840b83577142421b54edf1da kdesignerplugin-5.82.0.tar.xz "