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


                                                  
              
        
                                                          
                            
                                



                                                                                                                                                                                                                                                                                                          
                                                                                        



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                  
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=krfb
pkgver=20.12.1
pkgrel=0
# armhf, s390x, mips64 blocked by kwallet-dev, kxmlgui-dev
# s390x: blocked by pipewire
arch="all !armhf !s390x !mips64"
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 qt5-qtbase-dev qt5-qtx11extras-dev ki18n-dev kcompletion-dev kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdnssd-dev kdoctools-dev knotifications-dev kwallet-dev kwidgetsaddons-dev kxmlgui-dev xcb-util-dev xcb-util-image-dev libvncserver-dev pipewire-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 \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="09b439271c382c2b93eb3ae45faebaee8d2d62ff4606a9b7f3c89f7a98f53e742d36fb7b368b96b88201a60f3c81195c0e356ad67c341d1ced215e96fb7b9053  krfb-20.12.1.tar.xz"