# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=krfb pkgver=23.04.3 pkgrel=1 # armhf, s390x and riscv64 blocked by kwallet-dev and kxmlgui-dev arch="all !armhf !s390x !riscv64" url="https://kde.org/applications/internet/org.kde.krfb" pkgdesc="Desktop sharing" license="GPL-3.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kcompletion-dev kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdnssd-dev kdoctools-dev ki18n-dev knotifications-dev kpipewire-dev kwallet-dev kwayland-dev kwidgetsaddons-dev kxmlgui-dev libvncserver-dev pipewire-dev plasma-wayland-protocols qt5-qtbase-dev qt5-qtx11extras-dev samurai xcb-util-dev xcb-util-image-dev " _repo_url="https://invent.kde.org/network/krfb.git" source="https://download.kde.org/stable/release-service/$pkgver/src/krfb-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests 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=" 949f99a797f0bcfb79640da7d6210dd628c0f12aa96d214e1f1b97fef622e9281d6852261327c3653bbd7a1457232d1d7edccb4174ac03f2fd8bdc4a46d56689 krfb-23.04.3.tar.xz "