# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-browser-integration pkgver=9999_git1688448395 pkgrel=0 pkgdesc="Components necessary to integrate browsers into the Plasma Desktop" # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> purpose arch="all !armhf !ppc64le !s390x !riscv64" url="https://community.kde.org/Plasma/Browser_Integration" license="GPL-3.0-or-later" makedepends=" extra-cmake-modules kactivities-dev kconfig-dev kdbusaddons-dev kfilemetadata-dev ki18n-dev kio-dev knotifications-dev krunner-dev plasma-workspace-dev purpose-dev qt5-qtbase-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-browser-integration-$pkgver.tar.xz" subpackages="" 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 ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 0878cace0476772b85ee7b42fa2738bd61bb616f300cbcf46a27ace86796bf81b29ed18a0d6a9118487b33d7918187e6a24cb60a8c6f36a3d96aa4199e200fcc plasma-browser-integration-5.27.6.tar.xz " options="$options !strip"