34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'kio'
|
|
pkgname=kio
|
|
version=5.54.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules kauth"
|
|
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 <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kio"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=b70ff3c172f44e9eb3fb9aba1cdc496802061c1633de0a6a9ead057e10d68d87
|
|
|
|
CXXFLAGS+=" -fpermissive"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools libxml2 kcoreaddons"
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
fi
|
|
|
|
kio-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|