From e3cf2c86fca1750343c1885311f857f185ee4f2d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Sep 2019 01:07:24 +0100 Subject: gentoo resync : 08.09.2019 --- games-engines/box2d/box2d-2.1.2.ebuild | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 games-engines/box2d/box2d-2.1.2.ebuild (limited to 'games-engines/box2d/box2d-2.1.2.ebuild') diff --git a/games-engines/box2d/box2d-2.1.2.ebuild b/games-engines/box2d/box2d-2.1.2.ebuild new file mode 100644 index 000000000000..953853c49214 --- /dev/null +++ b/games-engines/box2d/box2d-2.1.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson multilib + +MY_PN="Box2D" +DESCRIPTION="A C++ engine for simulating rigid bodies in 2D games" +HOMEPAGE="https://box2d.org/" +SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${MY_PN}_v${PV}.zip" +LICENSE="ZLIB" +SLOT="$(ver_cut 1-2).0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/${MY_PN}_v${PV}/${MY_PN}" + +src_prepare() { + # This version supports CMake but upstream has dropped it since this + # release. They now use Premake but this Meson file is actually + # simpler! Installation is manual but that's true for Premake too. + cat > meson.build <