# 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=kio-gdrive pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> libkgapi arch="all !armhf !ppc64le !s390x !riscv64" 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 kaccounts-integration-dev kdoctools-dev ki18n-dev kio-dev libkgapi-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/network/kio-gdrive.git" source="https://download.kde.org/stable/release-service//$pkgver/src/kio-gdrive-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" a5934f5d338e63643434babe60b561a19c106169fe060bd5c9301208fcef9e14a8e83695aaaf8c359e366b0f76163cfcabff4b59776ca7766b11fe46126fe41e kio-gdrive-23.04.3.tar.xz "