void-packages/srcpkgs/qca-qt6/template

33 lines
960 B
Bash

# Template file for 'qca-qt6'
pkgname=qca-qt6
version=2.3.8
revision=1
build_style=cmake
configure_args="-DQT6=ON -DUSE_RELATIVE_PATHS=true"
hostmakedepends="pkg-config ca-certificates qt6-tools qt6-base"
makedepends="nss-devel libgcrypt-devel ca-certificates openssl-devel
qt6-base-devel qt6-qt5compat-devel botan-devel"
depends="ca-certificates"
short_desc="Qt6 Cryptographic Architecture"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://userbase.kde.org/QCA"
distfiles="${KDE_SITE}/qca/${version}/qca-${version}.tar.xz"
checksum=48759ca86a0202461d908ba66134380cc3bb7d20fed3c031b9fc0289796a8264
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_TESTS=1"
else
configure_args+=" -DBUILD_TESTS=0"
fi
qca-qt6-devel_package() {
depends="qt6-base-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}