aboutsummaryrefslogblamecommitdiffstats
path: root/community/krfb/APKBUILD
blob: e1de7990869f55afd9e496fa7aeaf2dbea717965 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
              
        

                                                                 


                                                        











                           
                    



                          
                                

                           
               


                          
                                                                                        



                                        

                                                   

                                             
                           


         
                



                                          
                                               

 
            
                                                                                                                                                     
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=krfb
pkgver=22.04.0
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
	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
	"
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() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
f8192d83f00c55afc2f27f2bd4fb71f26820b288b9f0afc109169b3e744f299e2fe025ec72d8ed25c8a57fb5fada7fc9fa47fda688180cd2efc6693fa1deb315  krfb-22.04.0.tar.xz
"