diff options
Diffstat (limited to 'community/konsole/APKBUILD')
-rw-r--r-- | community/konsole/APKBUILD | 47 |
1 files changed, 31 insertions, 16 deletions
diff --git a/community/konsole/APKBUILD b/community/konsole/APKBUILD index b6ab8ecbea7..3e7d5ae0a06 100644 --- a/community/konsole/APKBUILD +++ b/community/konsole/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=konsole -pkgver=21.12.1 +pkgver=24.02.1 pkgrel=0 -# armhf blocked by qt5-qtdeclarative -# s390x, mips64 and riscv64 blocked by polkit -> kio -arch="all !armhf !s390x !mips64 !riscv64" +# armhf blocked by qt6-qtdeclarative +arch="all !armhf" url="https://kde.org/applications/system/konsole" pkgdesc="KDE's terminal emulator" license="GPL-2.0-only AND LGPL-2.1-or-later AND Unicode-DFS-2016" @@ -24,7 +26,6 @@ makedepends=" kguiaddons-dev ki18n-dev kiconthemes-dev - kinit-dev kio-dev knewstuff-dev knotifications-dev @@ -36,15 +37,18 @@ makedepends=" kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev - qt5-qtbase-dev + qt6-qtbase-dev + qt6-qtmultimedia-dev + samurai " -checkdepends="xvfb-run" -source="https://download.kde.org/stable/release-service/$pkgver/src/konsole-$pkgver.tar.xz" +checkdepends="mesa-dri-gallium xvfb-run" subpackages="$pkgname-doc $pkgname-lang" +_repo_url="https://invent.kde.org/utilities/konsole.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/konsole-$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 \ -DENABLE_PLUGIN_SSHMANAGER=ON @@ -52,11 +56,22 @@ build() { } check() { - cd build - # DBusTest requires running DBus - # HistoryTest is broken - CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(DBus|History)Test" + local skipped_tests="(" + local tests=" + DBus + History + " + case "$CARCH" in + armv7) + tests="$tests Part" + ;; + esac + for test in $tests; do + skipped_tests="$skipped_tests|$test" + done + skipped_tests="$skipped_tests)Test" + xvfb-run ctest --test-dir build --output-on-failure -E "$skipped_tests" } package() { @@ -64,5 +79,5 @@ package() { } sha512sums=" -26963b05937109615fb0963ed7a9367d95d4392b0fe0dc36c140b3fb71a092ef7380bc66000e6a122c571a57590d92151bdc29fbc9ce53cd7793392c7776fb77 konsole-21.12.1.tar.xz +23e11f15643b57de10c34ff738f6386b7644dba21ae729b2df6334035a7fd2949c29bf504348e73a68310e00571bab8186ddceae79ee770310c98e0e25a6c3eb konsole-24.02.1.tar.xz " |