Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: dev-libs/box2d/, dev-libs/box2d/files/
Date: Tue, 24 Dec 2019 18:58:09
Message-Id: 1577213847.e4ff99def2869712caad483d48e49b123c9e74db.winterheart@gentoo
1 commit: e4ff99def2869712caad483d48e49b123c9e74db
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Tue Dec 24 18:37:56 2019 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Tue Dec 24 18:57:27 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=e4ff99de
7
8 In portage now
9
10 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
11
12 dev-libs/box2d/box2d-2.3.1.ebuild | 45 -----------------------------
13 dev-libs/box2d/files/box2d-2.0.1-gcc4.patch | 25 ----------------
14 dev-libs/box2d/metadata.xml | 8 -----
15 3 files changed, 78 deletions(-)
16
17 diff --git a/dev-libs/box2d/box2d-2.3.1.ebuild b/dev-libs/box2d/box2d-2.3.1.ebuild
18 deleted file mode 100644
19 index 1105a8a..0000000
20 --- a/dev-libs/box2d/box2d-2.3.1.ebuild
21 +++ /dev/null
22 @@ -1,45 +0,0 @@
23 -# Copyright 1999-2017 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -
28 -MY_PN=Box2D
29 -
30 -CMAKE_MIN_VERSION=2.8
31 -inherit cmake-utils eutils
32 -
33 -DESCRIPTION="Box2D is an open source physics engine written primarily for games."
34 -HOMEPAGE="http://www.box2d.org"
35 -SRC_URI="https://github.com/erincatto/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
36 -
37 -LICENSE="ZLIB"
38 -SLOT="0"
39 -KEYWORDS="~amd64 ~x86"
40 -IUSE="doc static-libs examples"
41 -
42 -RDEPEND="
43 - media-libs/freeglut
44 -"
45 -DEPEND="${RDEPEND}"
46 -
47 -S="${WORKDIR}/${MY_PN}-${PV}/${MY_PN}"
48 -
49 -usx() {
50 - usex "${1}" "ON" "OFF"
51 -}
52 -#nusx() {
53 -# usex "${1}" "OFF" "ON"
54 -#}
55 -
56 -src_configure() {
57 - local mycmakeargs=(
58 - -DBOX2D_BUILD_SHARED=ON # no-shared build?
59 - -DBOX2D_BUILD_STATIC=$(usx static-libs)
60 - -DBOX2D_INSTALL_DOC=$(usx doc)
61 -# Broken:
62 -# -DBOX2D_BUILD_EXAMPLES=$(usx examples)
63 -# So:
64 - -DBOX2D_BUILD_EXAMPLES=OFF
65 - )
66 - cmake-utils_src_configure
67 -}
68
69 diff --git a/dev-libs/box2d/files/box2d-2.0.1-gcc4.patch b/dev-libs/box2d/files/box2d-2.0.1-gcc4.patch
70 deleted file mode 100644
71 index 16da07c..0000000
72 --- a/dev-libs/box2d/files/box2d-2.0.1-gcc4.patch
73 +++ /dev/null
74 @@ -1,25 +0,0 @@
75 -diff -Naur Box2D/Source/Common/b2BlockAllocator.cpp Box2D/Source/Common/b2BlockAllocator.cpp
76 ---- Box2D/Source/Common/b2BlockAllocator.cpp 2007-11-24 11:25:02.000000000 +0100
77 -+++ Box2D/Source/Common/b2BlockAllocator.cpp 2009-10-12 15:56:39.000000000 +0200
78 -@@ -20,6 +20,7 @@
79 - #include <cstdlib>
80 - #include <memory>
81 - #include <climits>
82 -+#include <cstring>
83 -
84 - int32 b2BlockAllocator::s_blockSizes[b2_blockSizes] =
85 - {
86 -diff -Naur Box2D/Source/Common/b2Math.h Box2D/Source/Common/b2Math.h
87 ---- Box2D/Source/Common/b2Math.h 2008-04-07 23:35:04.000000000 +0200
88 -+++ Box2D/Source/Common/b2Math.h 2009-10-12 15:55:44.000000000 +0200
89 -@@ -23,8 +23,8 @@
90 - #include <cmath>
91 - #include <cfloat>
92 - #include <cstdlib>
93 --
94 --#include <stdio.h>
95 -+#include <cstring>
96 -+#include <cstdio>
97 -
98 - #ifdef TARGET_FLOAT32_IS_FIXED
99 -
100
101 diff --git a/dev-libs/box2d/metadata.xml b/dev-libs/box2d/metadata.xml
102 deleted file mode 100644
103 index 1811bf7..0000000
104 --- a/dev-libs/box2d/metadata.xml
105 +++ /dev/null
106 @@ -1,8 +0,0 @@
107 -<?xml version="1.0" encoding="UTF-8"?>
108 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
109 -<pkgmetadata>
110 -<maintainer type="person">
111 - <email>frostworks@×××.de</email>
112 - <name>Marcel Unbehaun</name>
113 -</maintainer>
114 -</pkgmetadata>