aboutsummaryrefslogblamecommitdiffstats
path: root/community/kio-gdrive/APKBUILD
blob: 57fe655d262e4c374efb7b2d3f7f6809aabb879e (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=20.12.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="388746658826ddbc5759c33e73e872ca4a15b75bf384ffe3b397389d635fb0eef0c88dd1b604ca35589ebd0b87ba1adeed12f13919e9e900b8f1241c3518573f  kio-gdrive-20.12.2.tar.xz"