# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake toolchain-funcs DESCRIPTION="Continuous Collision Detection and Physics Library" HOMEPAGE="https://www.bulletphysics.com/" SRC_URI="https://github.com/bulletphysics/bullet3/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ZLIB" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" IUSE="doc double-precision examples extras openmp tbb test +threads" REQUIRED_USE=" openmp? ( threads ) tbb? ( threads ) " RDEPEND=" virtual/opengl media-libs/freeglut tbb? (