1 |
commit: c40d471900c935a8d777b94d1eb3a95e3aff67bd |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 5 17:59:27 2017 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 5 17:59:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40d4719 |
7 |
|
8 |
games-action/bzflag: bump to 2.4.8 |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
games-action/bzflag/Manifest | 1 + |
13 |
games-action/bzflag/bzflag-2.4.8.ebuild | 62 ++++++++++++++++++++++ |
14 |
.../bzflag/files/bzflag-2.4.8-configure.patch | 37 +++++++++++++ |
15 |
3 files changed, 100 insertions(+) |
16 |
|
17 |
diff --git a/games-action/bzflag/Manifest b/games-action/bzflag/Manifest |
18 |
index 901cff34046..9fbf24612be 100644 |
19 |
--- a/games-action/bzflag/Manifest |
20 |
+++ b/games-action/bzflag/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST bzflag-2.4.2.tar.bz2 15971448 SHA256 4f7bc52284cc4b39fc352855e555b2b064c1de6a18f7474e249073070762c811 SHA512 e5645e825f19896ad4dc1e3bf97c9b52ed3838210d97d5532936a9306623283330c9535288af90f86e32c88a1a7996b2c872b9c081558eea48400b86b3a1a6ff WHIRLPOOL 82a5e543a8fdcb80c516394c63901c80c77fc659090f952cb36f65a9fb14c5ca06d6547dc9d347c6abf0ee706c40437f80edf20c424775bf6e202423e025794c |
23 |
DIST bzflag-2.4.4.tar.bz2 13922761 SHA256 5842941e53440d2e88c955ddb594964fc5145912f61100832d224c1a017e2ecb SHA512 ee9eefe6a24250f1aa0ac808755f2e3700ea97c559019ca8beefb8d236afd1571314f07a8f19662677526ae364d38617a1a62b356e851c27669cb9acef1a8fd3 WHIRLPOOL c96853e3f1053a9b53c9d6ba27a6f638c2913e87a26d6188151a66f8f78aeeb78fac28e8cefde10d23d65fe02e49b93cd4516993e5b48a6f3f240ec67ab0fc8e |
24 |
DIST bzflag-2.4.6.tar.bz2 13919761 SHA256 a44506828d09fe26f06658aae7f579080ecbaef5bd19a938dfed604e0c8afb45 SHA512 b2c82b75a99aa47975d98030104654da6ae3943582a22e18faf157c8929d96ab255a4343e044baa76714b8564c60194b6edbc7b8e28a3352848c471365678205 WHIRLPOOL 069dc60acc93b6159bac330c81a63493e370590ce09b871a17acdfcdf8b9ac6f84c6937ecc29df5d826a475f527f6fdaabf3b26f31ec5ef29824964f43c232de |
25 |
+DIST bzflag-2.4.8.tar.bz2 14048447 SHA256 43ca4d1775dac4180feb67cc4450b5db82aab9a63e460ac769c8f40d22e03122 SHA512 b83eb4d5297ff8a75193b898a3de6eef7354196cb46f97f4828d7611e72476c3c7f1369dca80f8f3222b9e3a689cbcd7c735652b483b635e7422e18689bb9b82 WHIRLPOOL 9c1c49961e40dcf8d2219329c8448f60e0e0c307e854bc3d04047fe6ab1927e90a27d4e540fe0a2c0308b10fa2c4a123441921c03e4bfad9983595fa0e1da7cb |
26 |
|
27 |
diff --git a/games-action/bzflag/bzflag-2.4.8.ebuild b/games-action/bzflag/bzflag-2.4.8.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d63f9d37f34 |
30 |
--- /dev/null |
31 |
+++ b/games-action/bzflag/bzflag-2.4.8.ebuild |
32 |
@@ -0,0 +1,62 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+inherit eutils flag-o-matic autotools |
38 |
+ |
39 |
+DESCRIPTION="3D tank combat simulator game" |
40 |
+HOMEPAGE="http://www.bzflag.org/" |
41 |
+SRC_URI="https://download.bzflag.org/bzflag/source/${PV}/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~x86" |
46 |
+IUSE="dedicated upnp" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ net-dns/c-ares |
50 |
+ >=net-misc/curl-7.15.0 |
51 |
+ sys-libs/ncurses:0 |
52 |
+ sys-libs/zlib |
53 |
+ !dedicated? ( |
54 |
+ media-libs/libsdl[joystick,sound,video] |
55 |
+ virtual/glu |
56 |
+ virtual/opengl ) |
57 |
+ upnp? ( net-libs/miniupnpc )" |
58 |
+RDEPEND=${DEPEND} |
59 |
+ |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}"/${P}-configure.patch |
62 |
+) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ eautoreconf |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ local myconf |
71 |
+ |
72 |
+ if use dedicated ; then |
73 |
+ ewarn |
74 |
+ ewarn "You are building a server-only copy of BZFlag" |
75 |
+ ewarn |
76 |
+ myconf="--disable-client --without-SDL" |
77 |
+ fi |
78 |
+ |
79 |
+ econf \ |
80 |
+ $(use_enable upnp UPnP) \ |
81 |
+ ${myconf} |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ DOCS="AUTHORS ChangeLog DEVINFO PORTING README README.Linux" \ |
86 |
+ default |
87 |
+ |
88 |
+ if ! use dedicated ; then |
89 |
+ newicon data/bzflag-48x48.png ${PN}.png |
90 |
+ make_desktop_entry ${PN} "BZFlag" |
91 |
+ fi |
92 |
+ |
93 |
+ prune_libtool_files --modules |
94 |
+} |
95 |
|
96 |
diff --git a/games-action/bzflag/files/bzflag-2.4.8-configure.patch b/games-action/bzflag/files/bzflag-2.4.8-configure.patch |
97 |
new file mode 100644 |
98 |
index 00000000000..b280621f6ec |
99 |
--- /dev/null |
100 |
+++ b/games-action/bzflag/files/bzflag-2.4.8-configure.patch |
101 |
@@ -0,0 +1,37 @@ |
102 |
+diff -ru bzflag-2.4.4.orig/configure.ac bzflag-2.4.4/configure.ac |
103 |
+--- bzflag-2.4.4.orig/configure.ac 2016-02-14 19:09:51.000000000 -0500 |
104 |
++++ bzflag-2.4.4/configure.ac 2016-05-05 16:35:35.475935345 -0400 |
105 |
+@@ -215,7 +215,7 @@ |
106 |
+ AC_SUBST(AR) |
107 |
+ AC_SUBST(AR_FLAGS) |
108 |
+ |
109 |
+-AC_PATH_PROG(CCACHE, ccache) |
110 |
++AC_PATH_PROG(CCACHE, ccachex) |
111 |
+ if test "$CCACHE" ; then |
112 |
+ CC="ccache $CC" |
113 |
+ CXX="ccache $CXX" |
114 |
+@@ -747,13 +747,13 @@ |
115 |
+ # |
116 |
+ # the GCC version is known to be at least 4.3 because it has C++0x support |
117 |
+ # possible future warnings: -Wconversion (1894) -Wfloat-equal (317) |
118 |
+-FLAGS="-Wall -Wextra -Wcast-qual -Wredundant-decls -Wshadow -Wundef -pedantic" |
119 |
++FLAGSx="-Wall -Wextra -Wcast-qual -Wredundant-decls -Wshadow -Wundef -pedantic" |
120 |
+ case $host_os in |
121 |
+ linux*) |
122 |
+ AC_DEFINE(HALF_RATE_AUDIO, 1, [Half rate Audio]) |
123 |
+ CONF_CFLAGS="$CONF_CFLAGS $FLAGS" |
124 |
+ CONF_CXXFLAGS="$CONF_CXXFLAGS $FLAGS" |
125 |
+- case $host_vendor in |
126 |
++ case $host_vendorx in |
127 |
+ pc) |
128 |
+ if expr `$CC -dumpversion` \>= "3.4" > /dev/null ; then |
129 |
+ FLAGS=-mtune |
130 |
+@@ -836,7 +836,7 @@ |
131 |
+ CXXFLAGS="$user_CXXFLAGS" |
132 |
+ AC_DEFINE(DEBUG, 1, [Debugging enabled]) |
133 |
+ else |
134 |
+- if test "$GCC" = yes ; then |
135 |
++ if test "$GCC" = yesx ; then |
136 |
+ case "`$CC --version 2>&1`" in |
137 |
+ *LLVM*) |
138 |
+ # Apple LLVM falsely claims to be GCC |