mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 22:01:42 +01:00
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-frameworks
|
|
pkgname=kplotting5
|
|
pkgver=5.112.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
|
|
doxygen
|
|
extra-cmake-modules
|
|
qt5-qttools-dev
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
_repo_url="https://invent.kde.org/frameworks/kplotting.git"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kplotting-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
builddir="$srcdir/kplotting-$pkgver"
|
|
|
|
replaces="kplotting<=5.110.0-r0"
|
|
|
|
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() {
|
|
xvfb-run ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
7ae44b6ec185b0cd7b2d2315888c99656a85b9ee0303ea31967a3588401a14c69471526ec54220aea6b4f0cdbd62b93f19be97ea7372a2c2976951c038081c7c kplotting-5.112.0.tar.xz
|
|
"
|