games-engines/box2d - 3.1.1 (FireBurn)

Search

Install

Install this version:

emerge -a =games-engines/box2d-3.1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-engines/box2d-3.1.1

Or alternatively:

emerge --autounmask-write -a =games-engines/box2d-3.1.1

Package Information

Description:
C++ engine for simulating rigid bodies in 2D games
Homepage:
https://box2d.org/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.1.1 8 ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="C++ engine for simulating rigid bodies in 2D games"
HOMEPAGE="https://box2d.org/"
SRC_URI="https://github.com/erincatto/box2d/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="doc"

BDEPEND="doc? ( app-text/doxygen media-gfx/graphviz )"

src_configure() {
	local mycmakeargs=(
		# would fetch dougbinks/enkiTS from the network in the sandbox, and
		# unit tests need a static build anyway (they poke internal symbols)
		-DBOX2D_SAMPLES=OFF
		-DBOX2D_BENCHMARKS=OFF
		-DBOX2D_UNIT_TESTS=OFF
		-DBOX2D_DOCS=$(usex doc)
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-engines/box2d | euse -E <flag> -p games-engines/box2d | euse -D <flag> -p games-engines/box2d

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

BDEPEND

doc? ( app-text/doxygen media-gfx/graphviz )

Manifest for 3.1.1

Type File Size Source URLs
DIST box2d-3.1.1.tar.gz 780115 bytes https://github.com/erincatto/box2d/archive/v3.1.1.tar.gz