# 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=parley pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine arch="all !armhf !ppc64le !s390x !riscv64" url="https://kde.org/applications/education/org.kde.parley" pkgdesc="Vocabulary Trainer" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kcmutils-dev kconfig-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev kio-dev knewstuff-dev knotifications-dev kross-dev kxmlgui-dev libkeduvocdocument-dev libxml2-dev libxslt-dev qt5-qtbase-dev qt5-qtmultimedia-dev qt5-qtwebengine-dev samurai sonnet-dev " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/education/parley.git" source="https://download.kde.org/stable/release-service/$pkgver/src/parley-$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() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 30d47e5199b4e85433c2f6f7cb1d47bced416d4ade007e33cddc8995099f60ae5b01e1192c28a565ff582c995410fa9fac27b42c7301972dce5ceaf88a6977ac parley-23.04.3.tar.xz "