# Template file for 'clazy'
pkgname=clazy
version=1.16
revision=2
_llvmver=21
build_style=cmake
build_helper="qemu"
configure_args="-DTEST_VERSION_OPTION=--qt-versions=6
 -DLLVM_DIR=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}/lib/cmake/llvm
 -DClang_DIR=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}/lib/cmake/clang"
hostmakedepends="llvm${_llvmver} perl"
makedepends="llvm${_llvmver}-devel"
depends="clang${_llvmver}"
checkdepends="qt6-base-devel"
short_desc="Qt oriented code checker based on clang framework"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://apps.kde.org/en/clazy"
distfiles="${KDE_SITE}/clazy/${version}/src/${pkgname}-v${version}.tar.xz"
checksum=0fa9e9ce54969edfb2c831815b724be9ab89c41ac3a40c0033c558173c4c302b
make_check=no # Probably fixable
