# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kconfigwidgets pkgver=5.66.0 pkgrel=0 pkgdesc="Widgets for KConfig" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev="kauth-dev kcoreaddons-dev kcodecs-dev kconfig-dev kguiaddons-dev ki18n-dev kwidgetsaddons-dev" makedepends="$depends_dev extra-cmake-modules kdoctools-dev doxygen qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kconfigwidgets-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="2646d63cb969b778f12b883f742bdf6d99eeb91b33e88b190ef32bef27a45aa02159cf584c07dcb5cb7bffaebe9e1eedc6ca938826424309d68bd6ff7cb487b0 kconfigwidgets-5.66.0.tar.xz"