# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdelibs4support pkgver=9999_git1688827210 pkgrel=0 pkgdesc="Porting aid from KDELibs4" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-only AND (LGPL-2.1-only OR LGPL-3.0-only) AND (LGPL-2.0-only OR LGPL-3.0-only)" depends_dev=" kcompletion-dev kconfig-dev kconfigwidgets-dev kcrash-dev kdbusaddons-dev kded-dev kdesignerplugin kdesignerplugin-dev kdoctools-dev kemoticons-dev kglobalaccel-dev kguiaddons-dev ki18n-dev kiconthemes-dev kinit-dev kio-dev kitemmodels-dev knotifications-dev kparts-dev kservice-dev ktextwidgets-dev kunitconversion-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev perl-uri qt5-qtbase-dev qt5-qttools-dev " makedepends="$depends_dev extra-cmake-modules kded samurai " checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kdelibs4support-$pkgver.tar.xz 0001-fix-test-build.patch " subpackages="$pkgname-dev $pkgname-doc " options="suid !check" # Fails due to requiring running dbus build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -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 --install build } sha512sums=" acec9c9b3da861ec998d02b331e9a0c5d6c1947c9659abfe48051aebd9addad3691e4105170e4cd0565ac35b0915ec0da292da60bde84fadab252629d146113c kdelibs4support-5.108.0.tar.xz a6359589e4d4fe71394dd9ccfd1910ee7fb20133b0032d24d4d8862e1900f61e1ac8ea059e734cde8ca5696abc970ebde54ba8fd92156c3de2ebdecbdbee7d8e 0001-fix-test-build.patch " options="$options !strip"