# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-plasma pkgname=plasma-browser-integration pkgver=5.27.7 pkgrel=1 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 _repo_url="https://invent.kde.org/plasma/plasma-browser-integration.git" source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-browser-integration-$pkgver.tar.xz" subpackages="$pkgname-lang" _commit="" snapshot() { clean makedepends="git xz rsync tar" deps mkdir -p "$srcdir" && cd "$srcdir" git clone --filter=tree:0 https://invent.kde.org/plasma/plasma-browser-integration.git . git archive --format tar --prefix=$pkgname/ $_commit > ../$pkgname-$_commit.tar xz -vv -T0 -9 -e ../$pkgname-$_commit.tar } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" da7001cc710704d3b1daad149bbb3003a1802b5a44e4c3c71ed35373864f90562cc54f8f83b51f3e1ed0e4986ec57ad94f058467cb43504f64e3017b8dd50bae plasma-browser-integration-5.27.7.tar.xz "