diff options
Diffstat (limited to 'community/kcompletion/APKBUILD')
-rw-r--r-- | community/kcompletion/APKBUILD | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/community/kcompletion/APKBUILD b/community/kcompletion/APKBUILD index 0490a8a73ed..dbdd0e5b116 100644 --- a/community/kcompletion/APKBUILD +++ b/community/kcompletion/APKBUILD @@ -1,21 +1,36 @@ # 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-frameworks pkgname=kcompletion -pkgver=5.76.0 +pkgver=6.1.0 pkgrel=0 pkgdesc="Text completion helpers and widgets" -arch="all !armhf" # armhf blocked by extra-cmake-modules +# armhf blocked by extra-cmake-modules +arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" -depends_dev="kwidgetsaddons-dev kconfig-dev" -makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" +depends_dev=" + kcodecs-dev + kconfig-dev + kwidgetsaddons-dev + " +makedepends="$depends_dev + doxygen + extra-cmake-modules + graphviz + qt6-qttools-dev + samurai + " checkdepends="xvfb-run" -source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcompletion-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +_repo_url="https://invent.kde.org/frameworks/kcompletion.git" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcompletion-$pkgver.tar.xz" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON @@ -23,11 +38,13 @@ build() { } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest + xvfb-run ctest --test-dir build --output-on-failure } package() { - DESTDIR="$pkgdir" cmake --build build --target install + DESTDIR="$pkgdir" cmake --install build } -sha512sums="96d11749bd972109b9c635a7664d205515caf7a3426b26006659e6bc32511fdb3d90f1ec91d1071d567e8ab96883bddd16cf303401b94c1ab72cd9c658040f6e kcompletion-5.76.0.tar.xz" + +sha512sums=" +a9732b69a85cad3b300219b08020a1701b6cfb44a841e8474204bf4b30b5f254ccffa5fa14646641e675b9f2a60fb2b8d0533130b83b8db932ef5e3f3bff92c0 kcompletion-6.1.0.tar.xz +" |