# Template file for 'Bear'
pkgname=Bear
version=3.1.5
revision=1
build_style=cmake
hostmakedepends="pkg-config protobuf protobuf-devel grpc"
makedepends="json-c++ spdlog grpc-devel protobuf-devel gtest-devel"
checkdepends="python3" # Should need python3-lit
short_desc="Tool that generates a compilation database for clang tooling"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://github.com/rizsotto/Bear"
distfiles="https://github.com/rizsotto/Bear/archive/${version}.tar.gz"
checksum=4ac7b041222dcfc7231c6570d5bd76c39eaeda7a075ee2385b84256e7d659733

if [ -z "$XBPS_CHECK_PKGS" ]; then
	configure_args="-DENABLE_FUNC_TESTS=OFF -DENABLE_UNIT_TESTS=OFF"
fi
