# 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-firewall pkgver=5.27.7 pkgrel=1 pkgdesc="Control Panel for your system firewall" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later" depends=" python3 kirigami2 " makedepends=" extra-cmake-modules kcmutils-dev kcoreaddons-dev kdeclarative-dev ki18n-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev samurai " checkdepends="xvfb-run" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac _repo_url="https://invent.kde.org/plasma/plasma-firewall.git" source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-firewall-$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-firewall.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() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" e75d01e0002fa31dd46cf79013effc2285ea7423917beaed7e1e8e9bed7f2ef4caab0594a6a4f123865a3a92399e1af508891bc5fdde58349eabc7d99af35ebd plasma-firewall-5.27.7.tar.xz "