mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
36 lines
1 KiB
Text
36 lines
1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kplotting
|
|
pkgver=5.103.0
|
|
pkgrel=0
|
|
pkgdesc="Lightweight plotting framework"
|
|
arch="all !armhf" # armhf blocked by extra-cmake-modules
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL-2.1-or-later"
|
|
depends_dev="qt5-qtbase-dev"
|
|
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev samurai"
|
|
checkdepends="xvfb-run"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kplotting-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
|
|
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() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
|
|
sha512sums="
|
|
2393af7c272a1eda0e6060c93f127e6121ef8a524f13562a40abc0f79ccc6ed548f6a7068ca560335daf87c5aa67b2f6c676f0348439e5b0499b222a0634c9a0 kplotting-5.103.0.tar.xz
|
|
"
|