# 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=itinerary pkgver=23.04.3 pkgrel=1 # armhf blocked by qt5-qtdeclarative # ppc64le blocked by kitinerary # s390x blocked by qt5-qtdeclarative arch="aarch64 armv7 x86_64 x86" url="https://invent.kde.org/pim/itinerary" pkgdesc="Itinerary and boarding pass management application" license="BSD-3-Clause AND LGPL-2.0-or-later" depends=" kirigami-addons kirigami2 kitemmodels kopeninghours prison qt5-qtlocation tzdata " makedepends=" extra-cmake-modules kcontacts-dev kcoreaddons-dev kdbusaddons-dev kholidays-dev ki18n-dev kirigami-addons-dev kitinerary-dev knotifications-dev kosmindoormap-dev kpkpass-dev kpublictransport-dev networkmanager-qt-dev qqc2-desktop-style-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtlocation-dev qt5-qtquickcontrols2-dev samurai shared-mime-info solid-dev zlib-dev " _repo_url="https://invent.kde.org/pim/itinerary.git" source="https://download.kde.org/stable/release-service/$pkgver/src/itinerary-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # tripgrouptest and timelinemodel test are broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "(tripgroup|timelinemodel)test" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" b5fe35fe7c1f7971ea33b6d97868d3aa0ad5049863c5c12a7371d0809bf8720114a2d9e3f34bf89316e9529782bca77030d8661017b1b23e4ac00cb5f139bfd6 itinerary-23.04.3.tar.xz "