# Template file for 'Bear'
pkgname=Bear
version=3.0.18
revision=3
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"
changelog="https://raw.githubusercontent.com/rizsotto/Bear/master/ChangeLog.md"
distfiles="https://github.com/rizsotto/Bear/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=ae94047c79b4f48462b66981f66a67b6a833d75d4c40e7afead491b1865f1142
conflicts="interception-tools>=0" # /usr/bin/intercept

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