void-packages/srcpkgs/kio/template
2020-03-17 16:03:53 +01:00

32 lines
1.1 KiB
Bash

# Template file for 'kio'
pkgname=kio
version=5.68.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF
-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 <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=9cc2fb2da84d6661a90eac81eb12c2e37921a5c34cbc1975f48d613e5a9d9eef
CXXFLAGS+=" -fpermissive"
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"
}
}