diff options
Diffstat (limited to 'community/kxmlgui/APKBUILD')
-rw-r--r-- | community/kxmlgui/APKBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/community/kxmlgui/APKBUILD b/community/kxmlgui/APKBUILD index 6bad5c6a6a7..1d33b24b3d8 100644 --- a/community/kxmlgui/APKBUILD +++ b/community/kxmlgui/APKBUILD @@ -1,12 +1,14 @@ # 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=kxmlgui -pkgver=5.86.0 +pkgver=6.1.0 pkgrel=0 pkgdesc="User configurable main windows" # armhf blocked by extra-cmake-modules -# mips64, s390x and riscv64 blocked by polkit -arch="all !armhf !mips64 !s390x !riscv64" +arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev=" @@ -20,23 +22,25 @@ depends_dev=" kitemviews-dev ktextwidgets-dev kwidgetsaddons-dev - qt5-qtbase-dev + qt6-qtbase-dev " makedepends="$depends_dev doxygen extra-cmake-modules - qt5-qttools-dev + qt6-qttools-dev + samurai " checkdepends=" - mesa-dri-swrast + mesa-dri-gallium xvfb-run " -source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kxmlgui-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +_repo_url="https://invent.kde.org/frameworks/kxmlgui.git" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kxmlgui-$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 @@ -44,14 +48,14 @@ build() { } check() { - cd build # kxmlgui_unittest, ktoolbar_unittest and ktooltiphelper_unittest are broken - LC_ALL=C CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E '(kxmlgui|ktoolbar|ktooltiphelper)_unittest' + LC_ALL=C xvfb-run ctest --test-dir build --output-on-failure -E '(kxmlgui|ktoolbar|ktooltiphelper)_unittest' } package() { DESTDIR="$pkgdir" cmake --install build } + sha512sums=" -b0e469470594f5f6471ab66f5c599ff31f8655de757bc096ed0a3e14ce7706d31b3dc1b6f50db92b66d22fb917b4ea104a815898ddf38d830749b513437c1fd1 kxmlgui-5.86.0.tar.xz +a646db1858d39596a9171c9976972a02f31f02cf656806534436960c4771a082a80ea9d47422e313a0f4e93ed53756f441af3c092ebdc5f8f84004329332a0fc kxmlgui-6.1.0.tar.xz " |