68 lines
2.3 KiB
Bash
68 lines
2.3 KiB
Bash
# Template file for 'kf6-kio'
|
|
pkgname=kf6-kio
|
|
version=6.7.0
|
|
revision=1
|
|
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
|
|
qt6-base-private-devel kf6-kdoctools-devel"
|
|
checkdepends="xvfb-run dbus"
|
|
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"
|
|
checksum=df235019a07acd579920f6c655050e02dacf847c706f4b8279e755be46f9d990
|
|
|
|
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"
|
|
"kiowidgets-kdirlistertest"
|
|
"applicationlauncherjob_scopetest"
|
|
"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 " " "|"))"
|
|
}
|
|
|
|
kf6-kio-devel_package() {
|
|
depends="${makedepends/qt6-tools-devel/} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/libKF6KIO*.so"
|
|
vmove usr/share/doc
|
|
}
|
|
}
|