a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
36 lines
1.5 KiB
Bash
36 lines
1.5 KiB
Bash
# Template file for 'kio'
|
|
pkgname=kio
|
|
version=5.83.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="
|
|
-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules kauth gettext
|
|
qt5-host-tools qt5-qmake python kdoctools libxml2 kcoreaddons"
|
|
makedepends="kdoctools-devel ksolid-devel kbookmarks-devel kjobwidgets-devel
|
|
kwallet-devel acl-devel mit-krb5-devel libxslt-devel libxml2-devel"
|
|
depends="desktop-file-utils"
|
|
short_desc="KDE Network transparent access to files and data"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kio"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=faa5a519e0cccb7197a4025f4b267a7683b49ad9d03e730a57969f33072f51c1
|
|
patch_args=-Np0
|
|
|
|
do_check() {
|
|
cd build
|
|
ctest -E 'kiocore-kacltest|kiocore-kmountpointtest|kiocore-kfileitemtest|applicationlauncherjob_forkingtest|applicationlauncherjob_scopetest|applicationlauncherjob_servicetest|kiowidgets-krununittest|kiowidgets-kdirlistertest|kiowidgets-kdirmodeltest|kiowidgets-kurifiltertest-colon-separator|kiowidgets-kurifiltertest-space-separator|kiofilewidgets-kfilewidgettest|kiofilewidgets-kfileplacesmodeltest'
|
|
}
|
|
|
|
kio-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/qt5/plugins/designer
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|