mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 10:42:12 +01:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=kmplot
|
|
pkgver=25.04.2
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://edu.kde.org/kmplot"
|
|
pkgdesc="Mathematical Function Plotter"
|
|
license="GPL-2.0-or-later AND GFDL-1.2-only"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcrash-dev
|
|
kdbusaddons-dev
|
|
kdoctools-dev
|
|
kguiaddons-dev
|
|
ki18n-dev
|
|
kparts-dev
|
|
kwidgetsaddons-dev
|
|
qt6-qtbase-dev
|
|
qt6-qtsvg-dev
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/education/kmplot.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/kmplot-$pkgver.tar.xz"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DBUILD_WITH_QT6=ON \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
b1ab91edbb0c4dd455325ed06cadceb50e2f57bc75890a660314076b036bdd2f4e737bf38e7b2570d04c5a6c829efa1cbf4b44e7313f154605f90de2878a16f3 kmplot-25.04.2.tar.xz
|
|
"
|