aboutsummaryrefslogblamecommitdiffstats
path: root/community/kio-gdrive/APKBUILD
blob: f4529c32fa9e04ad62d3dfb053d56a14a18e3e48 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
              
        
                                                                                        


                                          




                            










                                                                                               

                                        
         
                        
                                         

                                             
                           


         
             



                                          
                                                              

 
            
                                                                                                                                                           
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kio-gdrive
pkgver=21.04.2
pkgrel=0
arch="all !ppc64le !s390x !armhf !mips !mips64" # Blocked by libkgapi -> qt5-qtwebengine
url="https://community.kde.org/KIO_GDrive"
pkgdesc="KIO Slave to access Google Drive"
license="GPL-2.0-or-later"
depends="
	kaccounts-providers
	signon-plugin-oauth2
	signon-ui
	"
makedepends="
	extra-cmake-modules
	intltool
	kaccounts-integration-dev
	kdoctools-dev
	ki18n-dev
	kio-dev
	libkgapi-dev
	qt5-qtbase-dev
	"
source="https://download.kde.org/stable/release-service//$pkgver/src/kio-gdrive-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

check() {
	build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="
c302ddbf67b45a01aa45f1cd244c9431a40ad63942ec45dfb89ee58049b00f7608fe3b2014ee3f48b1102e9e4b8e1092c16cd5ec7b2e22338fadfe03d28d333e  kio-gdrive-21.04.2.tar.xz
"