1 |
commit: b5e8e22983a162014994981199c4a402a4bc151b |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jan 28 11:44:42 2018 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Sun Jan 28 11:44:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=b5e8e229 |
7 |
|
8 |
[games-fps/redeclipse] remove package, in portage now |
9 |
|
10 |
.../files/redeclipse-1.5.3_unbundle-enet.patch | 76 ------------------ |
11 |
games-fps/redeclipse/metadata.xml | 11 --- |
12 |
games-fps/redeclipse/redeclipse-1.5.3.ebuild | 92 ---------------------- |
13 |
3 files changed, 179 deletions(-) |
14 |
|
15 |
diff --git a/games-fps/redeclipse/files/redeclipse-1.5.3_unbundle-enet.patch b/games-fps/redeclipse/files/redeclipse-1.5.3_unbundle-enet.patch |
16 |
deleted file mode 100644 |
17 |
index 5b8d9b1..0000000 |
18 |
--- a/games-fps/redeclipse/files/redeclipse-1.5.3_unbundle-enet.patch |
19 |
+++ /dev/null |
20 |
@@ -1,76 +0,0 @@ |
21 |
---- redeclipse-1.5.2.orig/src/Makefile 2015-07-11 14:20:26.607791059 +0500 |
22 |
-+++ redeclipse-1.5.2/src/Makefile 2015-07-11 14:37:20.846741852 +0500 |
23 |
-@@ -37,7 +37,7 @@ |
24 |
- CXX_TEMP:=$(CXX) |
25 |
- override CXX=$(TOOLSET_PREFIX)$(CXX_TEMP) |
26 |
- |
27 |
--INCLUDES= -I. -Ishared -Iengine -Igame -Ienet/include |
28 |
-+INCLUDES= -I. -Ishared -Iengine -Igame |
29 |
- |
30 |
- |
31 |
- STRIP= |
32 |
-@@ -81,7 +81,7 @@ |
33 |
- endif |
34 |
- endif |
35 |
- CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags` |
36 |
--CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL |
37 |
-+CLIENT_LIBS= -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL |
38 |
- endif |
39 |
- ifneq (,$(findstring linux,$(PLATFORM))) |
40 |
- CLIENT_LIBS+= -lrt |
41 |
-@@ -156,7 +156,7 @@ |
42 |
- SERVER_LIBS= -mwindows $(STD_LIBS) -L$(WINDLL) -L$(WINLIB) -lzlib1 -lenet -lws2_32 -lwinmm |
43 |
- else |
44 |
- SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) |
45 |
--SERVER_LIBS= -Lenet -lenet -lz |
46 |
-+SERVER_LIBS= -lenet -lz |
47 |
- endif |
48 |
- SERVER_OBJS= \ |
49 |
- shared/crypto-standalone.o \ |
50 |
-@@ -170,17 +170,12 @@ |
51 |
- engine/server-standalone.o \ |
52 |
- game/server-standalone.o |
53 |
- |
54 |
--LIBENET= enet/libenet.a |
55 |
-- |
56 |
- GENKEY_OBJS= engine/genkey.o shared/crypto-standalone.o |
57 |
- |
58 |
- all: |
59 |
- |
60 |
- default: all |
61 |
- |
62 |
--clean-enet: |
63 |
-- $(MAKE) -C enet clean |
64 |
-- |
65 |
- clean-client: |
66 |
- @rm -fv $(CLIENT_PCH) $(CLIENT_OBJS) $(APPCLIENT)$(BIN_SUFFIX) |
67 |
- |
68 |
-@@ -190,7 +185,7 @@ |
69 |
- clean-genkey: |
70 |
- @rm -fv $(GENKEY_OBJS) genkey$(BIN_SUFFIX) |
71 |
- |
72 |
--clean: clean-enet clean-client clean-server clean-genkey |
73 |
-+clean: clean-client clean-server clean-genkey |
74 |
- |
75 |
- %.h.gch: %.h |
76 |
- $(CXX) $(CXXFLAGS) -x c++-header -o $(subst .h.gch,.tmp.h.gch,$@) $(subst .h.gch,.h,$@) |
77 |
-@@ -256,9 +251,6 @@ |
78 |
- |
79 |
- install: install-client install-server |
80 |
- |
81 |
--$(LIBENET): |
82 |
-- $(MAKE) -C enet |
83 |
-- |
84 |
- depend: |
85 |
- makedepend -Y -I. -Ishared -Iengine -Igame $(subst .o,.cpp,$(CLIENT_OBJS)) |
86 |
- makedepend -a -o-standalone.o -Y -I. -Ishared -Iengine -Igame -DSTANDALONE $(subst -standalone.o,.cpp,$(SERVER_OBJS)) |
87 |
---- redeclipse-1.5.2.orig/src/engine/engine.h 2015-07-11 14:20:25.554791110 +0500 |
88 |
-+++ redeclipse-1.5.2/src/engine/engine.h 2015-07-11 15:01:02.790672864 +0500 |
89 |
-@@ -3,6 +3,7 @@ |
90 |
- |
91 |
- #include "version.h" |
92 |
- #include "cube.h" |
93 |
-+#include <enet/enet.h> |
94 |
- |
95 |
- #define LAN_PORT 28799 |
96 |
- #define MASTER_PORT 28800 |
97 |
|
98 |
diff --git a/games-fps/redeclipse/metadata.xml b/games-fps/redeclipse/metadata.xml |
99 |
deleted file mode 100644 |
100 |
index e659e98..0000000 |
101 |
--- a/games-fps/redeclipse/metadata.xml |
102 |
+++ /dev/null |
103 |
@@ -1,11 +0,0 @@ |
104 |
-<?xml version="1.0" encoding="UTF-8"?> |
105 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
106 |
-<pkgmetadata> |
107 |
-<maintainer> |
108 |
-<email>azamat.hackimov@×××××.com</email> |
109 |
-<name>Azamat H. Hackimov</name> |
110 |
-</maintainer> |
111 |
-<longdescription lang="en"> |
112 |
-First-person ego-shooter, built as a total conversion of Cube Engine 2. |
113 |
-</longdescription> |
114 |
-</pkgmetadata> |
115 |
|
116 |
diff --git a/games-fps/redeclipse/redeclipse-1.5.3.ebuild b/games-fps/redeclipse/redeclipse-1.5.3.ebuild |
117 |
deleted file mode 100644 |
118 |
index 50b4f9d..0000000 |
119 |
--- a/games-fps/redeclipse/redeclipse-1.5.3.ebuild |
120 |
+++ /dev/null |
121 |
@@ -1,92 +0,0 @@ |
122 |
-# Copyright 1999-2016 Gentoo Foundation |
123 |
-# Distributed under the terms of the GNU General Public License v2 |
124 |
-# $Id$ |
125 |
- |
126 |
-EAPI=5 |
127 |
- |
128 |
-inherit games versionator |
129 |
- |
130 |
-MAJOR_VERSION=$(get_version_component_range 1-2) |
131 |
- |
132 |
-DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2" |
133 |
-HOMEPAGE="http://www.redeclipse.net/" |
134 |
-SRC_URI="http://www.indiedb.com/downloads/mirror/87522/100/342c6b2c3783dcee476cdf0457a0d5e7 -> ${PN}_${PV}_nix.tar.bz2" |
135 |
- |
136 |
-# According to doc/license.txt file |
137 |
-LICENSE="HPND ZLIB CC-BY-SA-3.0" |
138 |
-SLOT="0" |
139 |
-KEYWORDS="~amd64 ~x86" |
140 |
-IUSE="dedicated" |
141 |
- |
142 |
-DEPEND="!dedicated? ( |
143 |
- media-libs/freetype:2 |
144 |
- media-libs/libsdl:0[opengl] |
145 |
- media-libs/sdl-image:0[jpeg,png] |
146 |
- media-libs/sdl-mixer:0[mp3,vorbis] |
147 |
- virtual/opengl |
148 |
- x11-libs/libX11 |
149 |
- ) |
150 |
- >=net-libs/enet-1.3.9:1.3 |
151 |
- sys-libs/zlib" |
152 |
-RDEPEND="${DEPEND}" |
153 |
- |
154 |
-src_prepare() { |
155 |
- # Unbundle enet |
156 |
- epatch "${FILESDIR}/${P}_unbundle-enet.patch" |
157 |
- rm -r src/enet |
158 |
- |
159 |
- # Menu and mans |
160 |
- sed -e "s:@APPNAME@:${PN}:" \ |
161 |
- -e "/^Keywords=/s/$/;/" \ |
162 |
- src/install/nix/redeclipse.desktop.am \ |
163 |
- > src/install/nix/redeclipse.desktop |
164 |
- |
165 |
- sed -e "s:@LIBEXECDIR@:$(games_get_libdir):g" \ |
166 |
- -e "s:@DATADIR@:${GAMES_DATADIR}:g" \ |
167 |
- -e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \ |
168 |
- -e "s:@REDECLIPSE@:${PN}:g" \ |
169 |
- -e "s:@APPNAME@:${PN}:g" \ |
170 |
- -e "s:@CAPPNAME@:REDECLIPSE:g" \ |
171 |
- doc/man/redeclipse.6.am \ |
172 |
- > doc/man/redeclipse.6 |
173 |
- |
174 |
- sed -e "s:@LIBEXECDIR@:$(games_get_libdir):g" \ |
175 |
- -e "s:@DATADIR@:${GAMES_DATADIR}:g" \ |
176 |
- -e "s:@DOCDIR@:${GAMES_DATADIR_BASE}/doc/${PF}:" \ |
177 |
- -e "s:@REDECLIPSE@:${PN}:g" \ |
178 |
- -e "s:@APPNAME@:${PN}:g" \ |
179 |
- -e "s:@CAPPNAME@:REDECLIPSE:g" \ |
180 |
- doc/man/redeclipse-server.6.am \ |
181 |
- > doc/man/redeclipse-server.6 |
182 |
-} |
183 |
- |
184 |
-src_compile() { |
185 |
- if ! use dedicated ; then |
186 |
- emake CXXFLAGS="${CXXFLAGS}" STRIP= -C src client server |
187 |
- else |
188 |
- emake CXXFLAGS="${CXXFLAGS}" STRIP= -C src server |
189 |
- fi |
190 |
-} |
191 |
- |
192 |
-src_install() { |
193 |
- local dir="${GAMES_PREFIX_OPT}/${PN}" |
194 |
- insinto "${dir}" |
195 |
- doins -r config data |
196 |
- |
197 |
- exeinto "${dir}" |
198 |
- doexe src/redeclipse_server_linux |
199 |
- if ! use dedicated ; then |
200 |
- doexe src/redeclipse_linux |
201 |
- newicon src/install/nix/${PN}_x128.png ${PN}.png |
202 |
- domenu src/install/nix/redeclipse.desktop |
203 |
- doman doc/man/redeclipse.6 |
204 |
- fi |
205 |
- |
206 |
- games_make_wrapper "${PN}" "${dir}/redeclipse_linux" "${dir}" |
207 |
- games_make_wrapper "${PN}_server" "${dir}/redeclipse_server_linux" "${dir}" |
208 |
- |
209 |
- doman doc/man/redeclipse-server.6 |
210 |
- dodoc readme.txt doc/examples/servinit.cfg |
211 |
- |
212 |
- prepgamesdirs |
213 |
-} |