diff options
Diffstat (limited to 'community/kio/APKBUILD')
-rw-r--r-- | community/kio/APKBUILD | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/community/kio/APKBUILD b/community/kio/APKBUILD index bc78169ac96..50fa1298fb1 100644 --- a/community/kio/APKBUILD +++ b/community/kio/APKBUILD @@ -1,15 +1,19 @@ # 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=kio -pkgver=5.86.0 +pkgver=6.1.0 pkgrel=0 pkgdesc="Resource and network access abstraction" - # armhf blocked by extra-cmake-modules - # mips64, s390x and riscv64 blocked by polkit -arch="all !armhf !mips64 !s390x !riscv64" +# armhf blocked by extra-cmake-modules +arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" +depends="kded" depends_dev=" + acl-dev karchive-dev kbookmarks-dev kcompletion-dev @@ -27,7 +31,6 @@ depends_dev=" kwallet-dev kwidgetsaddons-dev kwindowsystem-dev - qt5-qtscript-dev solid-dev " makedepends="$depends_dev @@ -36,16 +39,19 @@ makedepends="$depends_dev kdoctools-dev libxml2-dev libxslt-dev - qt5-qttools-dev + qt6-qttools-dev + samurai " checkdepends="xvfb-run" +subpackages="$pkgname-dev $pkgname-dbg $pkgname-doc $pkgname-lang $pkgname-kwallet" +_repo_url="https://invent.kde.org/frameworks/kio.git" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kio-$pkgver.tar.xz" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -options="!check" # Fails due to requiring physical devices not normally available and test 14 hangs +# Checks fails due to requiring physical devices not normally available and test 14 hangs +options="!check" 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 @@ -53,13 +59,19 @@ 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 --install build } + +kwallet() { + pkgdesc="$pkgname KWallet integration" + + amove usr/lib/qt6/plugins/kf6/kiod/kpasswdserver.so +} + sha512sums=" -64a4ae7b0fff6e4e2c5ee3a25ec6db472c198fbcce5d8a929da2d42f6a881e404151a1935532c53359b645acac2a46ffa129616acb26b871dc7993b91a31fd8e kio-5.86.0.tar.xz +dcdd0a13d7e44c75ddd19d6d03e6c57b90c2b47f1141b6dc23054dc029a11358bb9748b8bb2115129cc1ab3769034728b3dd35507772807542376b3ef7b47707 kio-6.1.0.tar.xz " |