1 |
commit: a4d3875e8b6ffeb9694408b3788fb26616134d41 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 20:58:43 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 21:07:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d3875e |
7 |
|
8 |
games-fps/sauerbraten: drop 2013.02.03-r2 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-fps/sauerbraten/Manifest | 1 - |
13 |
.../files/sauerbraten-2013.02.03-QA.patch | 50 -------- |
14 |
.../files/sauerbraten-2013.02.03-system-enet.patch | 64 ---------- |
15 |
.../sauerbraten/sauerbraten-2013.02.03-r2.ebuild | 134 --------------------- |
16 |
4 files changed, 249 deletions(-) |
17 |
|
18 |
diff --git a/games-fps/sauerbraten/Manifest b/games-fps/sauerbraten/Manifest |
19 |
index 758332c2c9b..71010ab94cf 100644 |
20 |
--- a/games-fps/sauerbraten/Manifest |
21 |
+++ b/games-fps/sauerbraten/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST sauerbraten_2013_02_03_collect_edition_linux.tar.bz2 589941180 BLAKE2B b8a1c929dcf7a32bc289262fffcbcd4e7bbab3a9030c12bce7d086d63aaddee0c573c5d38f9ac845b3080aeac38d1b548aa9d243b462c3c682b158a379fe8cc2 SHA512 7864e346cc2bc86d78973db1b341fd8256cc2e1953be51263ef91a5374f9ec00276ba2940850e6d5bba7a57c71190b670dc7ba97021be2935c31f8694fed4897 |
24 |
DIST sauerbraten_2020_12_27_linux.tar.bz2 985815649 BLAKE2B 4ec9caf705766aed76153a8631b1990c6432db8c816d579e891263b36adf0e7ed4831d2fee010b7692f6457989c0acea552f72c95e0924e97182d2a03dc947f2 SHA512 60487e0493478b9dd8940a9239834d8f3f6b6ca529f3c5b718f91caf5116073942ca6908d7fff26ab37b7ec590114ab07f24cdcea5c355288d3c2706d626ea28 |
25 |
|
26 |
diff --git a/games-fps/sauerbraten/files/sauerbraten-2013.02.03-QA.patch b/games-fps/sauerbraten/files/sauerbraten-2013.02.03-QA.patch |
27 |
deleted file mode 100644 |
28 |
index 21f1b13c7a2..00000000000 |
29 |
--- a/games-fps/sauerbraten/files/sauerbraten-2013.02.03-QA.patch |
30 |
+++ /dev/null |
31 |
@@ -1,50 +0,0 @@ |
32 |
-applied on top of sauerbraten-2013.01.04-system-enet.patch |
33 |
- |
34 |
-respect LDFLAGS, CXXFLAGS and CPPFLAGS |
35 |
---- sauerbraten/src/Makefile |
36 |
-+++ sauerbraten/src/Makefile |
37 |
-@@ -1,4 +1,4 @@ |
38 |
--CXXFLAGS= -O3 -fomit-frame-pointer |
39 |
-+CXXFLAGS ?= -O3 -fomit-frame-pointer |
40 |
- override CXXFLAGS+= -Wall -fsigned-char -fno-exceptions -fno-rtti |
41 |
- |
42 |
- PLATFORM= $(shell uname -s) |
43 |
-@@ -139,11 +139,11 @@ |
44 |
- -$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) $(MASTER_OBJS) sauer_client sauer_server sauer_master |
45 |
- |
46 |
- %.h.gch: %.h |
47 |
-- $(CXX) $(CXXFLAGS) -o $(subst .h.gch,.tmp.h.gch,$@) $(subst .h.gch,.h,$@) |
48 |
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $(subst .h.gch,.tmp.h.gch,$@) $(subst .h.gch,.h,$@) |
49 |
- $(MV) $(subst .h.gch,.tmp.h.gch,$@) $@ |
50 |
- |
51 |
- %-standalone.o: %.cpp |
52 |
-- $(CXX) $(CXXFLAGS) -c -o $@ $(subst -standalone.o,.cpp,$@) |
53 |
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(subst -standalone.o,.cpp,$@) |
54 |
- |
55 |
- $(CLIENT_OBJS): CXXFLAGS += $(CLIENT_INCLUDES) |
56 |
- $(filter shared/%,$(CLIENT_OBJS)): $(filter shared/%,$(CLIENT_PCH)) |
57 |
-@@ -168,19 +168,19 @@ |
58 |
- install: all |
59 |
- else |
60 |
- client: $(CLIENT_OBJS) |
61 |
-- $(CXX) $(CXXFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS) |
62 |
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS) |
63 |
- |
64 |
- server: $(SERVER_OBJS) |
65 |
-- $(CXX) $(CXXFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS) |
66 |
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS) |
67 |
- |
68 |
- master: $(MASTER_OBJS) |
69 |
-- $(CXX) $(CXXFLAGS) -o sauer_master $(MASTER_OBJS) $(MASTER_LIBS) |
70 |
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_master $(MASTER_OBJS) $(MASTER_LIBS) |
71 |
- |
72 |
- shared/cube2font.o: shared/cube2font.c |
73 |
-- $(CXX) $(CXXFLAGS) -c -o $@ $< `freetype-config --cflags` |
74 |
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $< `freetype-config --cflags` |
75 |
- |
76 |
- cube2font: shared/cube2font.o |
77 |
-- $(CXX) $(CXXFLAGS) -o cube2font shared/cube2font.o `freetype-config --libs` -lz |
78 |
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o cube2font shared/cube2font.o `freetype-config --libs` -lz |
79 |
- |
80 |
- install: all |
81 |
- cp sauer_client ../bin_unix/$(PLATFORM_PREFIX)_client |
82 |
|
83 |
diff --git a/games-fps/sauerbraten/files/sauerbraten-2013.02.03-system-enet.patch b/games-fps/sauerbraten/files/sauerbraten-2013.02.03-system-enet.patch |
84 |
deleted file mode 100644 |
85 |
index e87b280ba0c..00000000000 |
86 |
--- a/games-fps/sauerbraten/files/sauerbraten-2013.02.03-system-enet.patch |
87 |
+++ /dev/null |
88 |
@@ -1,64 +0,0 @@ |
89 |
---- sauerbraten/src/Makefile |
90 |
-+++ sauerbraten/src/Makefile |
91 |
-@@ -4,7 +4,7 @@ |
92 |
- PLATFORM= $(shell uname -s) |
93 |
- PLATFORM_PREFIX= native |
94 |
- |
95 |
--INCLUDES= -Ishared -Iengine -Ifpsgame -Ienet/include |
96 |
-+INCLUDES= -Ishared -Iengine -Ifpsgame |
97 |
- |
98 |
- STRIP= |
99 |
- ifeq (,$(findstring -g,$(CXXFLAGS))) |
100 |
-@@ -36,8 +36,8 @@ |
101 |
- endif |
102 |
- CLIENT_LIBS= -mwindows $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lSDL -lSDL_image -lSDL_mixer -lzlib1 -lopengl32 -lenet -lws2_32 -lwinmm |
103 |
- else |
104 |
--CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags` |
105 |
--CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL |
106 |
-+CLIENT_INCLUDES= $(INCLUDES) `sdl-config --cflags` |
107 |
-+CLIENT_LIBS= -lenet -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL |
108 |
- endif |
109 |
- ifeq ($(PLATFORM),Linux) |
110 |
- CLIENT_LIBS+= -lrt |
111 |
-@@ -106,7 +106,7 @@ |
112 |
- MASTER_LIBS= $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lzlib1 -lenet -lws2_32 -lwinmm |
113 |
- else |
114 |
- SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) |
115 |
--SERVER_LIBS= -Lenet/.libs -lenet -lz |
116 |
-+SERVER_LIBS= -lenet -lz |
117 |
- MASTER_LIBS= $(SERVER_LIBS) |
118 |
- endif |
119 |
- SERVER_OBJS= \ |
120 |
-@@ -135,15 +135,6 @@ |
121 |
- |
122 |
- all: client server |
123 |
- |
124 |
--enet/Makefile: |
125 |
-- cd enet; ./configure --enable-shared=no --enable-static=yes |
126 |
-- |
127 |
--libenet: enet/Makefile |
128 |
-- $(MAKE) -C enet/ all |
129 |
-- |
130 |
--clean-enet: enet/Makefile |
131 |
-- $(MAKE) -C enet/ clean |
132 |
-- |
133 |
- clean: |
134 |
- -$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) $(MASTER_OBJS) sauer_client sauer_server sauer_master |
135 |
- |
136 |
-@@ -176,13 +167,13 @@ |
137 |
- |
138 |
- install: all |
139 |
- else |
140 |
--client: libenet $(CLIENT_OBJS) |
141 |
-+client: $(CLIENT_OBJS) |
142 |
- $(CXX) $(CXXFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS) |
143 |
- |
144 |
--server: libenet $(SERVER_OBJS) |
145 |
-+server: $(SERVER_OBJS) |
146 |
- $(CXX) $(CXXFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS) |
147 |
- |
148 |
--master: libenet $(MASTER_OBJS) |
149 |
-+master: $(MASTER_OBJS) |
150 |
- $(CXX) $(CXXFLAGS) -o sauer_master $(MASTER_OBJS) $(MASTER_LIBS) |
151 |
- |
152 |
- shared/cube2font.o: shared/cube2font.c |
153 |
|
154 |
diff --git a/games-fps/sauerbraten/sauerbraten-2013.02.03-r2.ebuild b/games-fps/sauerbraten/sauerbraten-2013.02.03-r2.ebuild |
155 |
deleted file mode 100644 |
156 |
index c2efbc863d5..00000000000 |
157 |
--- a/games-fps/sauerbraten/sauerbraten-2013.02.03-r2.ebuild |
158 |
+++ /dev/null |
159 |
@@ -1,134 +0,0 @@ |
160 |
-# Copyright 1999-2021 Gentoo Authors |
161 |
-# Distributed under the terms of the GNU General Public License v2 |
162 |
- |
163 |
-EAPI=7 |
164 |
- |
165 |
-inherit desktop flag-o-matic gnome2-utils toolchain-funcs vcs-clean wrapper |
166 |
- |
167 |
-EDITION="collect_edition" |
168 |
-DESCRIPTION="Sauerbraten is a FOSS game engine (Cube 2) with freeware game data (Sauerbraten)" |
169 |
-HOMEPAGE="http://sauerbraten.org/" |
170 |
-SRC_URI="mirror://sourceforge/sauerbraten/sauerbraten/2013_02_03/sauerbraten_${PV//./_}_${EDITION}_linux.tar.bz2" |
171 |
-S="${WORKDIR}"/${PN} |
172 |
- |
173 |
-LICENSE="ZLIB freedist" |
174 |
-SLOT="0" |
175 |
-KEYWORDS="~amd64 ~x86" |
176 |
-IUSE="debug dedicated server" |
177 |
- |
178 |
-DEPEND=" |
179 |
- sys-libs/zlib |
180 |
- >=net-libs/enet-1.3.6:1.3 |
181 |
- !dedicated? ( |
182 |
- media-libs/libsdl[X,opengl] |
183 |
- media-libs/sdl-mixer[vorbis] |
184 |
- media-libs/sdl-image[png,jpeg] |
185 |
- virtual/opengl |
186 |
- virtual/glu |
187 |
- x11-libs/libX11 |
188 |
- ) |
189 |
-" |
190 |
-RDEPEND=" |
191 |
- ${DEPEND} |
192 |
- acct-group/sauerbraten |
193 |
- dedicated? ( acct-user/sauerbraten ) |
194 |
-" |
195 |
- |
196 |
-PATCHES=( |
197 |
- # Patch makefile to use system enet instead of bundled |
198 |
- # respect CXXFLAGS, LDFLAGS |
199 |
- "${FILESDIR}"/${P}-{system-enet,QA}.patch |
200 |
-) |
201 |
- |
202 |
-src_prepare() { |
203 |
- ecvs_clean |
204 |
- rm -rf sauerbraten_unix bin_unix src/{include,lib,vcpp} || die |
205 |
- |
206 |
- default |
207 |
- |
208 |
- # Fix links so they point to the correct directory |
209 |
- sed -i -e 's:docs/::' README.html || die |
210 |
-} |
211 |
- |
212 |
-src_compile() { |
213 |
- tc-export CXX |
214 |
- |
215 |
- use debug && append-cppflags -D_DEBUG |
216 |
- emake -C src master $(usex dedicated "server" "$(usex server "server client" "client")") |
217 |
-} |
218 |
- |
219 |
-src_install() { |
220 |
- local LIBEXECDIR="/usr/lib" |
221 |
- local DATADIR="/usr/share/${PN}" |
222 |
- local STATEDIR="/var/lib/${PN}" |
223 |
- |
224 |
- if ! use dedicated ; then |
225 |
- # Install the game data |
226 |
- insinto "${DATADIR}" |
227 |
- doins -r data packages |
228 |
- |
229 |
- # Install the client executable |
230 |
- exeinto "${LIBEXECDIR}" |
231 |
- doexe src/sauer_client |
232 |
- |
233 |
- # Install the client wrapper |
234 |
- make_wrapper "${PN}-client" "${LIBEXECDIR}/sauer_client -q\$HOME/.${PN} -r" "${DATADIR}" |
235 |
- |
236 |
- # Create menu entry |
237 |
- newicon -s 256 data/cube.png ${PN}.png |
238 |
- make_desktop_entry "${PN}-client" "Cube 2: Sauerbraten" |
239 |
- fi |
240 |
- |
241 |
- # Install the server config files |
242 |
- insinto "${STATEDIR}" |
243 |
- doins "server-init.cfg" |
244 |
- |
245 |
- # Install the server executables |
246 |
- exeinto "${LIBEXECDIR}" |
247 |
- doexe src/sauer_master |
248 |
- use dedicated || use server && doexe src/sauer_server |
249 |
- |
250 |
- make_wrapper "${PN}-server" \ |
251 |
- "${LIBEXECDIR}/sauer_server -k${DATADIR} -q${STATEDIR}" |
252 |
- make_wrapper "${PN}-master" \ |
253 |
- "${LIBEXECDIR}/sauer_master ${STATEDIR}" |
254 |
- |
255 |
- # Install the server init script |
256 |
- keepdir /var/run/${PN} |
257 |
- cp "${FILESDIR}"/${PN}.init "${T}" || die |
258 |
- sed -i \ |
259 |
- -e "s:%SYSCONFDIR%:${STATEDIR}:g" \ |
260 |
- -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \ |
261 |
- -e "s:%/var/lib/%:/var/run:g" \ |
262 |
- "${T}"/${PN}.init || die |
263 |
- |
264 |
- newinitd "${T}"/${PN}.init ${PN} |
265 |
- cp "${FILESDIR}"/${PN}.conf "${T}" || die |
266 |
- sed -i \ |
267 |
- -e "s:%SYSCONFDIR%:${STATEDIR}:g" \ |
268 |
- -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \ |
269 |
- -e "s:%GAMES_USER_DED%:sauerbraten:g" \ |
270 |
- -e "s:%GAMES_GROUP%:sauerbraten:g" \ |
271 |
- "${T}"/${PN}.conf || die |
272 |
- newconfd "${T}"/${PN}.conf ${PN} |
273 |
- |
274 |
- dodoc src/*.txt docs/dev/*.txt |
275 |
- |
276 |
- docinto html |
277 |
- dodoc -r README.html docs/* |
278 |
-} |
279 |
- |
280 |
-pkg_preinst() { |
281 |
- gnome2_icon_savelist |
282 |
-} |
283 |
- |
284 |
-pkg_postinst() { |
285 |
- gnome2_icon_cache_update |
286 |
- |
287 |
- elog "If you plan to use map editor feature copy all map data from ${DATADIR}" |
288 |
- elog "to corresponding folder in your HOME/.${PN}" |
289 |
-} |
290 |
- |
291 |
-pkg_postrm() { |
292 |
- gnome2_icon_cache_update |
293 |
-} |