diff options
Diffstat (limited to 'community/kmplot/APKBUILD')
-rw-r--r-- | community/kmplot/APKBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/community/kmplot/APKBUILD b/community/kmplot/APKBUILD index c1e97c7b7b3..953cab20b5f 100644 --- a/community/kmplot/APKBUILD +++ b/community/kmplot/APKBUILD @@ -1,11 +1,13 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: 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-applications pkgname=kmplot -pkgver=22.04.2 +pkgver=24.02.2 pkgrel=0 # armhf blocked by extra-cmake-modules -# s390x and riscv64 blocked by polkit -> kparts -arch="all !armhf !s390x !riscv64" +arch="all !armhf" url="https://edu.kde.org/kmplot" pkgdesc="Mathematical Function Plotter" license="GPL-2.0-or-later AND GFDL-1.2-only" @@ -18,16 +20,17 @@ makedepends=" ki18n-dev kparts-dev kwidgetsaddons-dev - qt5-qtbase-dev - qt5-qtsvg-dev + qt6-qtbase-dev + qt6-qtsvg-dev samurai " -source="https://download.kde.org/stable/release-service/$pkgver/src/kmplot-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" -options="!check" # No tests +_repo_url="https://invent.kde.org/education/kmplot.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/kmplot-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ + -DBUILD_WITH_QT6=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib @@ -35,8 +38,7 @@ build() { } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + ctest --test-dir build --output-on-failure } package() { @@ -44,5 +46,5 @@ package() { } sha512sums=" -3aa77ccfcb0cb15cb9816e8525f68dfd69a6dcc3f7d76b6c3258211cf43ba47d39197049d3cc4d3850e02424980f3a9530812f66a3ab11621af4335957570814 kmplot-22.04.2.tar.xz +9b91da18f32c9c41bc77bd6ff60ffd87b7f4cb9a279198f3c0348931a73ff0bb06a6e25684222d04fc0210e3a47483a5680c0765770a521cee0a0fc59ff80d97 kmplot-24.02.2.tar.xz " |