summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-13 16:50:27 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-13 16:50:40 +0100
commit73d8ab63c15decd6ddacebddb3d3c1a3bbfa9044 (patch)
tree17ea346c145e6e9e51c9fbaa37245f73f2eded11 /games-engines/box2d/box2d-2.1.2.ebuild
parentgames-engines/box2d: 2.4.1 version bump, use cmake, drop slotting (diff)
downloadgentoo-73d8ab63c15decd6ddacebddb3d3c1a3bbfa9044.tar.gz
gentoo-73d8ab63c15decd6ddacebddb3d3c1a3bbfa9044.tar.bz2
gentoo-73d8ab63c15decd6ddacebddb3d3c1a3bbfa9044.zip
games-engines/box2d: Drop slotted versions 2.1.2, 2.2.1, 2.3.1
Acked-by: James Le Cuirot <chewi@gentoo.org> Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-engines/box2d/box2d-2.1.2.ebuild')
-rw-r--r--games-engines/box2d/box2d-2.1.2.ebuild45
1 files changed, 0 insertions, 45 deletions
diff --git a/games-engines/box2d/box2d-2.1.2.ebuild b/games-engines/box2d/box2d-2.1.2.ebuild
deleted file mode 100644
index 953853c49214..000000000000
--- a/games-engines/box2d/box2d-2.1.2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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 <<EOF || die
-project('${MY_PN}', 'cpp')
-shared_library(
- '${MY_PN}',
- $(find ${MY_PN} -name "*.cpp" -printf "'%p', ")
- soversion: '${SLOT}', install : true
-)
-EOF
-
- default
-}
-
-src_install() {
- dodoc Readme.txt
- dolib.so "${BUILD_DIR}"/lib${MY_PN}$(get_libname ${SLOT})
-
- local FILE
- for FILE in $(find ${MY_PN} -name *.h); do
- insinto "/usr/include/${MY_PN}-${SLOT}/${FILE%/*}"
- doins "${FILE}"
- done
-}