summaryrefslogtreecommitdiff
path: root/games-engines/box2d
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-10-20 10:22:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2021-10-20 10:22:14 +0100
commit46eedbedafdb0040c37884982d4c775ce277fb7b (patch)
treedb33a91259730be84999e13a8d8168c799f50ac0 /games-engines/box2d
parente23a08d0c97a0cc415aaa165da840b056f93c997 (diff)
gentoo resync : 20.10.2021
Diffstat (limited to 'games-engines/box2d')
-rw-r--r--games-engines/box2d/Manifest2
-rw-r--r--games-engines/box2d/box2d-2.4.1.ebuild9
2 files changed, 10 insertions, 1 deletions
diff --git a/games-engines/box2d/Manifest b/games-engines/box2d/Manifest
index 13e7b434e3b2..840345eb1c50 100644
--- a/games-engines/box2d/Manifest
+++ b/games-engines/box2d/Manifest
@@ -1,3 +1,3 @@
DIST box2d-2.4.1.tar.gz 1224516 BLAKE2B 4f268c082d6c51d574fe6974351a64e98693e7eb71aa36626561fe23cb5fa890c77946e34d91fce92298af7e723c34306dfc6a934251a8566f431821397d1b82 SHA512 d900f925b77906777719c91488bdc5e2df1ad1f4a8ca39a574229f5e57070e3a843bdd7530e817112605fde6d82145c872d8afdfc65b84531a73199098c81162
-EBUILD box2d-2.4.1.ebuild 709 BLAKE2B 1684eeffdba3be8ee32938b408ee2d75d6d2b0501bd7050ea25ee9b760462e5b126f50603e243ec1b2b4f846d99317ce1234598c76ee467f8d889b45048569a6 SHA512 b48c285bc8871acc99d770b3b85c5ed290a747bbaea6d1d393c60d97df2098697d79e8d9d7f5f30a654eb78f9fa9df02faaf3b2d2061c3070520c4f951c8ad04
+EBUILD box2d-2.4.1.ebuild 903 BLAKE2B 60359b545e6467a259a1bfdbd4e10885fbddcd520dd71bdff50bb07ee7124fc48867c650270ef93c018918440cbe057834367b69ae7329c8af18b041a9e31de2 SHA512 36772e0c80b447e898ca349a9c5384125ba8c426ae6f5c30f628f7b8c66c21b417f3b58f9fa332a5c4dc6c5a6f67756e5f33db7dcbf572d6b49b4b5f046b26a4
MISC metadata.xml 334 BLAKE2B dfc66d58b4c54e7f04ac51ad4669e282dcd91ddca795be323bb47b0088a89bbb765a39bdc1d998a7f5afd77e5450c94ac6ba48f5b3f77d8a9a769d2e44f35533 SHA512 0d809e8099f314755b04431e40ad01a8f91ef2246a4129f64dfb413251b2b259e694999c7f7489c5d87795ab197464c27651cd3c404b62b3d270913da385a09c
diff --git a/games-engines/box2d/box2d-2.4.1.ebuild b/games-engines/box2d/box2d-2.4.1.ebuild
index 0fe84b500b23..aa15726dd78e 100644
--- a/games-engines/box2d/box2d-2.4.1.ebuild
+++ b/games-engines/box2d/box2d-2.4.1.ebuild
@@ -15,8 +15,17 @@ KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
+DEPEND="test? ( dev-cpp/doctest )"
BDEPEND="doc? ( app-doc/doxygen )"
+src_prepare() {
+ cmake_src_prepare
+
+ # unbundle doctest
+ rm unit-test/doctest.h || die
+ ln -s "${ESYSROOT}"/usr/include/doctest/doctest.h unit-test/ || die
+}
+
src_configure() {
local mycmakeargs=(
-DBOX2D_BUILD_TESTBED=OFF # bundled libs, broken anyway right now