void-packages/srcpkgs/kgpg/template

33 lines
1.3 KiB
Bash

# Template file for 'kgpg'
pkgname=kgpg
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules gettext pkg-config
qt6-base kf6-kcoreaddons-devel kf6-kdoctools kf6-kconfig"
makedepends="kf6-kwindowsystem-devel kf6-kcrash-devel kf6-kdbusaddons-devel
kf6-kiconthemes-devel kf6-kjobwidgets-devel kf6-kio-devel
kf6-kservice-devel kf6-ktextwidgets-devel kf6-kxmlgui-devel
kf6-kwidgetsaddons-devel kf6-knotifications-devel kf6-kdoctools-devel
kf6-kcontacts-devel kf6-kstatusnotifieritem-devel akonadi-contacts-devel"
depends="gnupg"
checkdepends="gnupg"
short_desc="Simple interface for GnuPG, a powerful encryption utility"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://kde.org/applications/en/utilities/org.kde.kgpg"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kgpg"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=c6135d67854d4b21cd2a5474d5fd9adba5447cad28b824e8af5cc00258636485
do_check() {
cd build
# kgpg-{import,genkey,encrypt} tests fail randomly
ctest -E "kgpg-(import|genkey|encrypt)"
}