Diff bullet-3.21 with a bullet-3.22b
| /usr/portage/sci-physics/bullet/bullet-3.22b.ebuild 2025-12-22 20:18:06.974222265 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 6 | 6 |
inherit cmake flag-o-matic toolchain-funcs |
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Continuous Collision Detection and Physics Library" |
| 9 |
HOMEPAGE="https://www.bulletphysics.com/" |
|
| 10 |
SRC_URI="https://github.com/bulletphysics/bullet3/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 9 |
HOMEPAGE="https://pybullet.org/wordpress/" |
|
| 10 |
SRC_URI="https://github.com/bulletphysics/${PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 11 | 11 | |
| 12 | 12 |
LICENSE="ZLIB" |
| 13 | 13 |
SLOT="0/${PV}"
|
| 14 |
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" |
|
| 14 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
|
| 15 | 15 |
IUSE="doc double-precision examples extras openmp tbb test +threads" |
| 16 | 16 | |
| 17 | 17 |
REQUIRED_USE=" |
| 18 | 18 |
openmp? ( threads ) |
| 19 |
test? ( extras ) |
|
| 20 | 19 |
tbb? ( threads ) |
| 21 | 20 |
" |
| 22 | 21 | |
| ... | ... | |
| 32 | 31 | |
| 33 | 32 |
DOCS=( AUTHORS.txt LICENSE.txt README.md ) |
| 34 | 33 | |
| 35 |
# Building / linking of third Party library BussIK depends on demos being built, |
|
| 36 |
# which in turn fails due to |
|
| 37 |
# OpenGLExampleBrowser.cpp:928:17: error: 'simpleApp' was not declared in this scope |
|
| 34 |
# Building / linking of third Party library BussIK does not work out of the box |
|
| 38 | 35 |
RESTRICT="test" |
| 39 | 36 | |
| 40 | 37 |
S="${WORKDIR}/${PN}3-${PV}"
|
| ... | ... | |
| 48 | 45 |
} |
| 49 | 46 | |
| 50 | 47 |
src_prepare() {
|
| 51 |
(use ppc || use ppc64) && PATCHES+=( "${FILESDIR}/${P}-replace_altivec_vector_keyword.patch" )
|
|
| 52 | ||
| 53 | 48 |
cmake_src_prepare |
| 54 | 49 | |
| 55 | 50 |
# allow to generate docs |