Skip to content
Snippets Groups Projects
Verified Commit 35ca72b0 authored by Patrycja Rosa's avatar Patrycja Rosa :cat:
Browse files

community/kdiagram5: new aport

parent 9dfc1268
No related branches found
No related tags found
No related merge requests found
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-other
pkgname=kdiagram5
pkgver=2.8.0
pkgrel=0
pkgdesc="Powerful libraries (KChart, KGantt) for creating business diagrams"
arch="all !armhf"
url="https://invent.kde.org/graphics/kdiagram"
license="GPL-2.0-or-later"
depends_dev="
qt5-qtbase-dev
qt5-qtsvg-dev
qt5-qttools-dev
"
makedepends="$depends_dev
doxygen
extra-cmake-modules
samurai
"
checkdepends="xvfb-run"
_repo_url="https://invent.kde.org/graphics/kdiagram.git"
source="https://download.kde.org/stable/kdiagram/$pkgver/kdiagram-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
builddir="$srcdir/kdiagram-$pkgver"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
cmake --build build
}
check() {
# TestDrawIntoPainter times out
xvfb-run ctest --test-dir build --output-on-failure -E "TestDrawIntoPainter"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
d981bce4feeb65038772125e5af1c096537ec87991fdb93d9a91dd5c9f089b1001647c8a63b209683a67b2d7b3aadeb7dd6279261eefaf6b6e046d0ab72723ec kdiagram-2.8.0.tar.xz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment