diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-10-22 11:07:32 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-22 08:53:27 -0300 |
commit | 0be117ddc35cbc213d4d5d990acaf768ddc80924 (patch) | |
tree | c7d87e56505e922c3cfb3a004e327a547ae4d3c9 /testing/libkgapi | |
parent | df3893e677f96383b5b526c9ea4c82127dd0109e (diff) | |
download | aports-0be117ddc35cbc213d4d5d990acaf768ddc80924.tar.bz2 aports-0be117ddc35cbc213d4d5d990acaf768ddc80924.tar.xz |
testing/libkgapi: rebuild against kcalendarcore
Diffstat (limited to 'testing/libkgapi')
-rw-r--r-- | testing/libkgapi/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/testing/libkgapi/APKBUILD b/testing/libkgapi/APKBUILD index cb9341b580..f6db4305d9 100644 --- a/testing/libkgapi/APKBUILD +++ b/testing/libkgapi/APKBUILD @@ -2,19 +2,26 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=libkgapi pkgver=19.08.2 -pkgrel=0 +pkgrel=1 pkgdesc="LibKGAPI is a KDE-based library for accessing various Google services via their public API" arch="all !ppc64le !s390x" # limited by qt5-qtwebengine url="https://community.kde.org/KDE_PIM" license="LGPL-2.1-only OR LGPL-3.0-only" -depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev kio-dev kwindowsystem-dev kwallet-dev kcalcore-dev kcontacts-dev cyrus-sasl-dev" +depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev kio-dev kwindowsystem-dev kwallet-dev kcalendarcore-dev kcontacts-dev cyrus-sasl-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/libkgapi-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib @@ -22,12 +29,14 @@ build() { } check() { + cd "$builddir"/build # calendar-freebusyqueryjobtest is broken # tasks-taskfetchjobtest fails on the builders CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(tasks-taskfetchjobtest|calendar-freebusyqueryjobtest)" } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="2926da0741026a1a1cfd882defece8571e40b041931a0e0b353f80155228e4ca18a51e79076f6a78821d4e076cd6fc38caea680820f6cc5f67f44d430a9fcd6f libkgapi-19.08.2.tar.xz" |