# 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=umbrello pkgver=23.04.3 pkgrel=1 arch="all !armhf !s390x !riscv64" # Blocked by extra-cmake-modules and rust url="https://umbrello.kde.org/" pkgdesc="GUI for diagramming Unified Modelling Language (UML)" license="GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules karchive-dev kcompletion-dev kconfig-dev kcoreaddons-dev kcrash-dev kdelibs4support-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev kitemmodels-dev ktexteditor-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev qt5-qtbase-dev samurai " checkdepends="xvfb-run" subpackages="$pkgname-doc $pkgname-lang" _repo_url="https://invent.kde.org/sdk/umbrello.git" source="https://download.kde.org/stable/release-service/$pkgver/src/umbrello-$pkgver.tar.xz" options="!check" # Broken case "$CARCH" in ppc64le|armv7) options="!check";; # FIXME: testsuite fails esac build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_KF5=ON cmake --build build } check() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 01a4c10405b813ffcb67cbefdb0fb4d3f523148ee8fd5058755d3e8a90199e94d8b781a2e88541b6d607c2b44d42dc7af73377055c06bc26bbbd9fc0a35a36fc umbrello-23.04.3.tar.xz "