mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 11:45:36 +02:00
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-frameworks
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=kplotting
|
|
pkgver=6.13.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="qt6-qtbase-dev"
|
|
makedepends="$depends_dev
|
|
doxygen
|
|
extra-cmake-modules
|
|
qt6-qttools-dev
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
_repo_url="https://invent.kde.org/frameworks/kplotting.git"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kplotting-$pkgver.tar.xz"
|
|
|
|
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
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
3a586756b0a2a27af442a7675a30908d813d0136566a5bd988efe390a21b76dc70eb5d1a4417573584a3ffbb67715ef71c7db9190b54c6614b20a59f77d897a2 kplotting-6.13.0.tar.xz
|
|
"
|