void-packages/srcpkgs/kwallet/template

41 lines
1.2 KiB
Bash

# Template file for 'kwallet'
pkgname=kwallet
version=5.116.0
revision=1
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=1ece8b5ecb2bc86ac6d9f55c7fa60f3099513732b6ed367895ec36b5bccd448b
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"
}
}