# Contributor: Jonah BrĂ¼chert # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=angelfish pkgver=24.08.1 pkgrel=0 pkgdesc="Small Webbrowser for Plasma Mobile" # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt6-qtwebengine # loongarch64 blocked by purpose arch="all !ppc64le !s390x !armhf !riscv64 !loongarch64" url="https://phabricator.kde.org/source/plasma-angelfish/" license="GPL-3.0-or-later" depends=" kirigami-addons kirigami purpose qt6-qtbase-sqlite " makedepends=" corrosion extra-cmake-modules futuresql-dev kdeclarative-dev ki18n-dev kio-dev kirigami-addons-dev kirigami-dev libplasma-dev purpose-dev qqc2-desktop-style-dev qt6-qtwebengine-dev samurai " subpackages="$pkgname-lang" _repo_url="https://invent.kde.org/network/angelfish.git" source="https://download.kde.org/stable/release-service/$pkgver/src/angelfish-$pkgver.tar.xz" options="net" # net required to download Rust dependencies provides="plasma-angelfish=$pkgver-r$pkgrel" # Backwards compatibility replaces="plasma-angelfish" # Backwards compatibility build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True cmake --build build } check() { ctest --test-dir build --output-on-failure -j1 } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" de44f96967ce6a2ee2252d407cfbb068b222eced42990ab8948d5d6485d2eba93fb680314e15e520d82e981b4744f8e8d8f48cf4c3c9450f64e44331b8ac83ce angelfish-24.08.1.tar.xz "