diff options
Diffstat (limited to 'community/libkgapi/APKBUILD')
-rw-r--r-- | community/libkgapi/APKBUILD | 49 |
1 files changed, 35 insertions, 14 deletions
diff --git a/community/libkgapi/APKBUILD b/community/libkgapi/APKBUILD index d45924de524..3c2f6c39e80 100644 --- a/community/libkgapi/APKBUILD +++ b/community/libkgapi/APKBUILD @@ -1,12 +1,15 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-applications pkgname=libkgapi -pkgver=22.04.3 +pkgver=24.02.2 pkgrel=0 pkgdesc="LibKGAPI is a KDE-based library for accessing various Google services via their public API" # armhf blocked by extra-cmake-modules -# ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -arch="all !armhf !ppc64le !s390x !riscv64" +# ppc64le, s390x, riscv64 and armv7 blocked by qt6-qtwebengine +arch="all !armhf !ppc64le !s390x !riscv64 !armv7" url="https://community.kde.org/KDE_PIM" license="LGPL-2.1-only OR LGPL-3.0-only" depends_dev=" @@ -16,19 +19,18 @@ depends_dev=" kio-dev kwallet-dev kwindowsystem-dev - qt5-qtbase-dev - qt5-qtwebengine-dev + qt6-qtbase-dev + qt6-qtwebengine-dev " makedepends="$depends_dev extra-cmake-modules - qt5-qttools-dev + qt6-qttools-dev samurai " checkdepends="xvfb-run" -source="https://download.kde.org/stable/release-service/$pkgver/src/libkgapi-$pkgver.tar.xz - 0001-fix-build.patch - " subpackages="$pkgname-dev $pkgname-lang" +_repo_url="https://invent.kde.org/pim/libkgapi.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/libkgapi-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ @@ -39,13 +41,33 @@ build() { } check() { - cd build # calendar-freebusyqueryjobtest, contacts-contactfetchjobtest, # contacts-contactcreatejobtest and contacts-contactmodifyjobtest are broken # tasks-taskfetchjobtest fails on the builders # contacts-contactfetchjobtest: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11787 # calendar-event-*: UTC+02 != UTC+02:00 - CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(tasks-taskfetchjob|calendar-freebusyqueryjob|contacts-contact(fetchjob|createjob|modifyjob)|calendar-event(createjob|modifyjob|fetchjob))test" + local skipped_tests="(" + local tests=" + tasks-taskfetchjob + calendar-freebusyqueryjob + contacts-contactfetchjob + contacts-contactcreatejob + contacts-contactmodifyjob + calendar-eventcreatejob + calendar-eventmodifyjob + calendar-eventfetchjob + " + case "$CARCH" in + x86) tests="$tests + calendar-calendardeletejob + calendar-eventdeletejob + " ;; + esac + for test in $tests; do + skipped_tests="$skipped_tests|$test" + done + skipped_tests="$skipped_tests)test" + xvfb-run ctest --test-dir build --output-on-failure -E "$skipped_tests" } package() { @@ -53,6 +75,5 @@ package() { } sha512sums=" -575a5aab6693510df7ea8949846e4de7d1d9e94264ee2075e66a5f0207a3078fcd9c8d1fa398f223476114487ac54fb88dab8d09e2166218831f55ee0326f38a libkgapi-22.04.3.tar.xz -48ba9a974b10be0fe204a50ec15d7e48f17fa3d3211ad9a22ad0ca5742fd6121ed81563f59c57b6d618597c74e6b831dbc5f046baf64e41a4315663e09c5b74f 0001-fix-build.patch +6c50b109414b7f31bd4c051bda94440416114320fcd2f3f4cfd9bf2255ce31ed328fd986d1c21cd481e9f4e7dd63b13c5a1bced80c7f7b45972a8ab8f46ad783 libkgapi-24.02.2.tar.xz " |