void-packages/srcpkgs/kf6-kio/template

68 lines
2.3 KiB
Bash
Raw Normal View History

2024-04-18 07:04:46 +02:00
# Template file for 'kf6-kio'
pkgname=kf6-kio
2024-06-12 08:04:12 +02:00
version=6.3.0
2024-06-24 09:51:24 +02:00
revision=2
2024-04-18 07:04:46 +02:00
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext kf6-kdoctools kf6-kconfig kf6-kauth-tools"
makedepends="kf6-karchive-devel kf6-kauth-devel kf6-kbookmarks-devel
kf6-kservice-devel kf6-solid-devel kf6-kcrash-devel kf6-kdbusaddons-devel
kf6-kcompletion-devel kf6-kiconthemes-devel kf6-kitemviews-devel
kf6-kjobwidgets-devel kf6-kwindowsystem-devel kf6-kwallet-devel
kf6-kded-devel qt6-qt5compat-devel qt6-tools-devel acl-devel
2024-06-24 09:51:24 +02:00
qt6-base-private-devel kf6-kdoctools-devel"
2024-06-12 08:04:12 +02:00
checkdepends="xvfb-run dbus"
2024-04-18 07:04:46 +02:00
short_desc="KDE Network transparent access to files and data"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kio"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
2024-06-12 08:04:12 +02:00
checksum=39e1afb324069605609c60c1d4638da886debf6159179521167b5159d79a0448
2024-04-18 07:04:46 +02:00
do_check() {
cd build
# disable failing tests
tests=("kpasswdservertest"
"kiocore-kmountpointtest"
"kiocore-jobtest"
"kiocore-kfileitemtest"
"kiocore-filefiltertest"
"kiogui-favicontest"
"kiogui-openurljobtest"
"applicationlauncherjob_servicetest"
"commandlauncherjob_servicetest"
"kiowidgets-kdirmodeltest"
"kiowidgets-kfileitemactionstest"
"kiowidgets-kurifiltertest-colon-separator"
"kiowidgets-kurifiltertest-space-separator"
"kiofilewidgets-kfilewidgettest"
"kiofilewidgets-kfileplacesmodeltest"
2024-05-27 08:55:59 +02:00
"kiowidgets-kdirlistertest"
"applicationlauncherjob_scopetest"
2024-06-12 08:04:12 +02:00
"applicationlauncherjob_forkingtest"
"kiocore-privilegejobtest"
"kiofilewidgets-kfilecopytomenutest"
"testtrash"
"kiocore-threadtest"
"kiowidgets-clipboardupdatertest"
"kiowidgets-dropjobtest"
"kiowidgets-fileundomanagertest"
"kiowidgets-pastetest"
"kiofilewidgets-knewfilemenutest")
dbus-run-session xvfb-run ctest -E "($( echo ${tests[@]} | tr " " "|"))"
2024-04-18 07:04:46 +02:00
}
kf6-kio-devel_package() {
2024-05-13 08:00:41 +02:00
depends="${makedepends/qt6-tools-devel/} ${sourcepkg}>=${version}_${revision}"
2024-04-18 07:04:46 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/libKF6KIO*.so"
vmove usr/share/doc
}
}