# 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=kitinerary pkgver=23.04.3 pkgrel=1 # armhf blocked by qt5-qtdeclarative # ppc64le FTBFS arch="all !armhf !ppc64le" url="https://kontact.kde.org/" pkgdesc="Data model and extraction system for travel reservation information" license="LGPL-2.0-or-later" depends_dev=" kcalendarcore-dev kcontacts-dev kmime-dev kpkpass-dev libphonenumber-dev zxing-cpp-dev " makedepends="$depends_dev extra-cmake-modules ki18n-dev libxml2-dev poppler-dev qt5-qtbase-dev qt5-qtdeclarative-dev samurai shared-mime-info zlib-dev " _repo_url="https://invent.kde.org/pim/kitinerary.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kitinerary-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" # broken with new libxml options="!check" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # jsonlddocumenttest, mergeutiltest, airportdbtest, pkpassextractortest, # postprocessortest, calendarhandlertest, extractortest and knowledgedbtest are broken local skipped_tests="(jsonlddocument" local tests=" mergeutil airportdb pkpassextractor postprocessor calendarhandler extractor knowledgedb " for test in $tests; do skipped_tests="$skipped_tests|$test" done skipped_tests="$skipped_tests)" CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "$skipped_tests" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 4f07a781146a9bf9fcbf8ce7cf35099c84afcba459af9e1b72c1224f33745d15b76bb5595068d442a14f4c6d9d359ec62b6f6ac4500f7668c5f6c685d61ab4d9 kitinerary-23.04.3.tar.xz "