void-packages/srcpkgs/kwallet/template

41 lines
1.2 KiB
Bash

# Template file for 'kwallet'
pkgname=kwallet
version=5.115.0
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=ON -DBUILD_KWALLET_QUERY=OFF"
hostmakedepends="gettext kcoreaddons extra-cmake-modules
qt5-host-tools qt5-qmake python3 kdoctools"
makedepends="kdoctools-devel gpgmepp-devel libgcrypt-devel
kservice-devel knotifications-devel kiconthemes-devel
gpgmeqt-devel qca-qt5-devel"
# kwallet-query and dbus's service now moved to kf6-kwallet
depends="kf6-kwallet"
short_desc="KDE Safe desktop-wide storage for passwords"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kwallet"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f2b3fc21c89440c9290703929a8bcb77461fa510fd060c33d64787c9e0eaef3d
do_check() {
cd build
# Skip failing tests
ctest -E "fdo_secrets_test"
}
post_install() {
rm ${DESTDIR}/usr/share/dbus-1/services/org.kde.kwalletd5.service
}
kwallet-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"
}
}