1 |
commit: 166e673966c101f74256ab43c7f4298ce5ab5b67 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 7 19:29:42 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Fri Feb 7 20:08:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=166e6739 |
7 |
|
8 |
games-action/gradleunison: remove package |
9 |
|
10 |
Sources unavailable, deprecated games eclass |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
|
13 |
.../files/gradleunison-0.10-fixes.diff | 136 --------------- |
14 |
.../files/gradleunison-0.10-homedir.diff | 59 ------- |
15 |
.../files/gradleunison-0.10-import.diff | 193 --------------------- |
16 |
.../files/gradleunison-0.10-makefile.diff | 21 --- |
17 |
games-action/gradleunison/gradleunison-0.10.ebuild | 66 ------- |
18 |
games-action/gradleunison/metadata.xml | 8 - |
19 |
6 files changed, 483 deletions(-) |
20 |
|
21 |
diff --git a/games-action/gradleunison/files/gradleunison-0.10-fixes.diff b/games-action/gradleunison/files/gradleunison-0.10-fixes.diff |
22 |
deleted file mode 100644 |
23 |
index 46e7777..0000000 |
24 |
--- a/games-action/gradleunison/files/gradleunison-0.10-fixes.diff |
25 |
+++ /dev/null |
26 |
@@ -1,136 +0,0 @@ |
27 |
-diff -Naur GU/src/luminous.d GU-gentoo/src/luminous.d |
28 |
---- GU/src/luminous.d 2006-07-08 04:49:12.000000000 +0200 |
29 |
-+++ GU-gentoo/src/luminous.d 2007-10-10 19:32:36.000000000 +0200 |
30 |
-@@ -7,7 +7,7 @@ |
31 |
- */ |
32 |
- |
33 |
- private import std.math; |
34 |
--private import std.string; |
35 |
-+private import std.c.string; |
36 |
- private import opengl; |
37 |
- private import util_sdl; |
38 |
- private import task; |
39 |
-@@ -68,11 +68,11 @@ |
40 |
- |
41 |
- static void makeLuminousTexture() |
42 |
- { |
43 |
-- uint *data = td; |
44 |
-+ uint *data = td.ptr; |
45 |
- int i; |
46 |
- |
47 |
- td[0..length] = 0; |
48 |
-- //memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * uint.sizeof); |
49 |
-+ memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * uint.sizeof); |
50 |
- glGenTextures(1, &luminousTexture); |
51 |
- glBindTexture(GL_TEXTURE_2D, luminousTexture); |
52 |
- glTexImage2D(GL_TEXTURE_2D, 0, 4, luminousTextureWidth, luminousTextureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, data); |
53 |
-diff -Naur GU/src/main.d GU-gentoo/src/main.d |
54 |
---- GU/src/main.d 2006-09-01 21:02:40.000000000 +0200 |
55 |
-+++ GU-gentoo/src/main.d 2007-10-10 19:30:12.000000000 +0200 |
56 |
-@@ -6,14 +6,14 @@ |
57 |
- 2006/07/07 jumpei isshiki |
58 |
- */ |
59 |
- |
60 |
--private import std.c.windows.windows; |
61 |
-+//private import std.c.windows.windows; |
62 |
- private import std.stdio; |
63 |
- private import std.string; |
64 |
- private import std.random; |
65 |
- private import std.math; |
66 |
- private import SDL; |
67 |
- private import opengl; |
68 |
--private import reflection; |
69 |
-+//private import reflection; |
70 |
- private import util_sdl; |
71 |
- private import util_glbf; |
72 |
- private import util_pad; |
73 |
-@@ -66,9 +66,11 @@ |
74 |
- for(int i = 0; i < argc; i++){ |
75 |
- str_buf[i] = lpCmdLine[i]; |
76 |
- } |
77 |
-- split_buf = split(str_buf); |
78 |
-+ split_buf = split(str_buf); |
79 |
-+/* |
80 |
- if(split_buf[0].length > 1) Reflection.init(split_buf[0]); |
81 |
-- else Reflection.init("main.exe"); |
82 |
-+ else Reflection.init("main.exe"); |
83 |
-+*/ |
84 |
- } |
85 |
- |
86 |
- try{ |
87 |
-@@ -86,7 +88,7 @@ |
88 |
- }else{ |
89 |
- int main(char[][] argv) |
90 |
- { |
91 |
-- Reflection.init(argv[argv.length-1]); |
92 |
-+ // Reflection.init(argv[argv.length-1]); |
93 |
- return boot(); |
94 |
- } |
95 |
- } |
96 |
-diff -Naur GU/src/task.d GU-gentoo/src/task.d |
97 |
---- GU/src/task.d 2006-08-24 17:35:26.000000000 +0200 |
98 |
-+++ GU-gentoo/src/task.d 2007-10-10 19:33:42.000000000 +0200 |
99 |
-@@ -182,7 +182,9 @@ |
100 |
- TskBuf[i].fp_draw = null; |
101 |
- TskBuf[i].fp_exit = null; |
102 |
- TskBuf[i].bullet_command = null; |
103 |
-- TskBuf[i].bullet_state = null; |
104 |
-+ TskBuf[i].bullet_state = null; |
105 |
-+ TskBuf[i].bullet_accx = 0; |
106 |
-+ TskBuf[i].bullet_accy = 0; |
107 |
- } |
108 |
- TskBuf[i].tskid = TSKID_NONE; |
109 |
- TskBuf[i].entry = -1; |
110 |
-diff -Naur GU/src/util_glbf.d GU-gentoo/src/util_glbf.d |
111 |
---- GU/src/util_glbf.d 2006-07-07 17:37:52.000000000 +0200 |
112 |
-+++ GU-gentoo/src/util_glbf.d 2007-10-10 19:30:12.000000000 +0200 |
113 |
-@@ -156,7 +156,7 @@ |
114 |
- { |
115 |
- glBindTexture(GL_TEXTURE_2D, font.texture); // Select Our Font Texture |
116 |
- glListBase(font.base-32); // Choose The Font Set (0 or 1) |
117 |
-- glCallLists(str.length, GL_BYTE, str); // Write The Text To The Screen |
118 |
-+ glCallLists(str.length, GL_BYTE, str.ptr); // Write The Text To The Screen |
119 |
- } |
120 |
- |
121 |
- int glbfInit(GLBitmapFont* font, char* filename, GLfloat xsize, GLfloat xdots, GLfloat ydots) |
122 |
-diff -Naur GU/src/util_rand.d GU-gentoo/src/util_rand.d |
123 |
---- GU/src/util_rand.d 2006-07-26 16:50:10.000000000 +0200 |
124 |
-+++ GU-gentoo/src/util_rand.d 2007-10-10 19:30:12.000000000 +0200 |
125 |
-@@ -112,14 +112,14 @@ |
126 |
- |
127 |
- void next_state() |
128 |
- { |
129 |
-- uint *p=state; |
130 |
-+ uint *p=state.ptr; |
131 |
- |
132 |
- /* if init_genrand() has not been called, */ |
133 |
- /* a default initial seed is used */ |
134 |
- if (initf==0) init_genrand(5489); |
135 |
- |
136 |
- left = N; |
137 |
-- next = state; |
138 |
-+ next = state.ptr; |
139 |
- |
140 |
- for (int j=N-M+1; --j; p++) |
141 |
- *p = p[M] ^ TWIST(p[0], p[1]); |
142 |
-diff -Naur GU/src/util_snd.d GU-gentoo/src/util_snd.d |
143 |
---- GU/src/util_snd.d 2006-07-23 17:34:42.000000000 +0200 |
144 |
-+++ GU-gentoo/src/util_snd.d 2007-10-10 19:30:12.000000000 +0200 |
145 |
-@@ -99,7 +99,7 @@ |
146 |
- |
147 |
- char[] fileName = name ~ "\0"; |
148 |
- |
149 |
-- music[ch] = Mix_LoadMUS(fileName); |
150 |
-+ music[ch] = Mix_LoadMUS(fileName.ptr); |
151 |
- if(!music[ch]){ |
152 |
- writefln("snd load error %s", name); |
153 |
- sound_use = false; |
154 |
-@@ -119,7 +119,7 @@ |
155 |
- |
156 |
- char[] fileName = name ~ "\0"; |
157 |
- |
158 |
-- chunk[bank] = Mix_LoadWAV(fileName); |
159 |
-+ chunk[bank] = Mix_LoadWAV(fileName.ptr); |
160 |
- if(!chunk[bank]){ |
161 |
- sound_use = false; |
162 |
- } |
163 |
|
164 |
diff --git a/games-action/gradleunison/files/gradleunison-0.10-homedir.diff b/games-action/gradleunison/files/gradleunison-0.10-homedir.diff |
165 |
deleted file mode 100644 |
166 |
index 32b771c..0000000 |
167 |
--- a/games-action/gradleunison/files/gradleunison-0.10-homedir.diff |
168 |
+++ /dev/null |
169 |
@@ -1,59 +0,0 @@ |
170 |
-diff -Naur GU-p/src/gctrl.d GU-p-home/src/gctrl.d |
171 |
---- GU-p/src/gctrl.d 2006-09-01 21:58:18.000000000 +0200 |
172 |
-+++ GU-p-home/src/gctrl.d 2009-08-28 14:06:24.000000000 +0200 |
173 |
-@@ -6,6 +6,7 @@ |
174 |
- 2004/04/08 jumpei isshiki |
175 |
- */ |
176 |
- |
177 |
-+private import std.string; |
178 |
- private import std.stdio; |
179 |
- private import std.math; |
180 |
- private import std.file; |
181 |
-@@ -116,6 +117,18 @@ |
182 |
- private const int RANKING_TIME = 30 * ONE_SEC; |
183 |
- private const int RANKING_TIME2 = RESULT_TIME - (3 * ONE_SEC); |
184 |
- |
185 |
-+public static char[] pref_dir() { |
186 |
-+ char * home = getenv("HOME"); |
187 |
-+ if (home is null) |
188 |
-+ throw new Error("HOME environment variable undefined"); |
189 |
-+ char[] dir = std.string.toString(home) ~ "/.gradleunison"; |
190 |
-+ try { |
191 |
-+ mkdir(dir); |
192 |
-+ } catch (FileException e) { |
193 |
-+ } |
194 |
-+ return dir; |
195 |
-+} |
196 |
-+ |
197 |
- void TSKgctrl(int id) |
198 |
- { |
199 |
- void game_init(int id){ |
200 |
-@@ -155,8 +168,8 @@ |
201 |
- } |
202 |
- |
203 |
- void init_highscore(){ |
204 |
-- if(exists("score.dat")){ |
205 |
-- hi_score = cast(int[])read("score.dat"); |
206 |
-+ if(exists(pref_dir() ~ "/" ~ "score.dat")){ |
207 |
-+ hi_score = cast(int[])read(pref_dir() ~ "/" ~ "score.dat"); |
208 |
- }else{ |
209 |
- hi_score.length = RANKING_MAX * RANKING_RECORD; |
210 |
- for(int i = 0; i < RANKING_MAX; i++){ |
211 |
-@@ -165,7 +178,7 @@ |
212 |
- hi_score[i * RANKING_RECORD + RANKING_PHASE] = 1; |
213 |
- hi_score[i * RANKING_RECORD + RANKING_CHAIN] = 1; |
214 |
- } |
215 |
-- write("score.dat", cast(void[])hi_score); |
216 |
-+ write(pref_dir() ~ "/" ~ "score.dat", cast(void[])hi_score); |
217 |
- } |
218 |
- debug{ |
219 |
- for(int i = 0; i < RANKING_MAX; i++){ |
220 |
-@@ -194,7 +207,7 @@ |
221 |
- hi_score[i * RANKING_RECORD + RANKING_PTIME] = time; |
222 |
- hi_score[i * RANKING_RECORD + RANKING_PHASE] = phase; |
223 |
- hi_score[i * RANKING_RECORD + RANKING_CHAIN] = max_chain; |
224 |
-- write("score.dat", cast(void[])hi_score); |
225 |
-+ write(pref_dir() ~ "/" ~ "score.dat", cast(void[])hi_score); |
226 |
- break; |
227 |
- } |
228 |
- } |
229 |
|
230 |
diff --git a/games-action/gradleunison/files/gradleunison-0.10-import.diff b/games-action/gradleunison/files/gradleunison-0.10-import.diff |
231 |
deleted file mode 100644 |
232 |
index 1233afd..0000000 |
233 |
--- a/games-action/gradleunison/files/gradleunison-0.10-import.diff |
234 |
+++ /dev/null |
235 |
@@ -1,193 +0,0 @@ |
236 |
-diff -Naur GU/import/SDL.d GU-gentoo/import/SDL.d |
237 |
---- GU/import/SDL.d 2004-05-08 14:14:14.000000000 +0200 |
238 |
-+++ GU-gentoo/import/SDL.d 2007-10-10 19:30:12.000000000 +0200 |
239 |
-@@ -20,18 +20,21 @@ |
240 |
- slouken@××××××××××.com |
241 |
- */ |
242 |
- |
243 |
--import SDL_types; |
244 |
--import SDL_getenv; |
245 |
--import SDL_error; |
246 |
--import SDL_rwops; |
247 |
--import SDL_timer; |
248 |
--import SDL_audio; |
249 |
--import SDL_cdrom; |
250 |
--import SDL_joystick; |
251 |
--import SDL_events; |
252 |
--import SDL_video; |
253 |
--import SDL_byteorder; |
254 |
--import SDL_Version; |
255 |
-+public import SDL_types; |
256 |
-+public import SDL_getenv; |
257 |
-+public import SDL_error; |
258 |
-+public import SDL_rwops; |
259 |
-+public import SDL_timer; |
260 |
-+public import SDL_audio; |
261 |
-+public import SDL_cdrom; |
262 |
-+public import SDL_keyboard; |
263 |
-+public import SDL_keysym; |
264 |
-+public import SDL_joystick; |
265 |
-+public import SDL_mouse; |
266 |
-+public import SDL_events; |
267 |
-+public import SDL_video; |
268 |
-+public import SDL_byteorder; |
269 |
-+public import SDL_version; |
270 |
- |
271 |
- extern(C): |
272 |
- |
273 |
-@@ -72,10 +75,10 @@ |
274 |
- * dynamically linked library. You should call it upon all exit conditions. |
275 |
- */ |
276 |
- void SDL_Quit(); |
277 |
-- |
278 |
-+/+ |
279 |
- void SDL_SetModuleHandle(void *hInst); |
280 |
- //extern(Windows) void* GetModuleHandle(char*); |
281 |
--extern(Windows) void* GetModuleHandleA(char*); |
282 |
-+extern(Windows) void* GetModuleHandle(char*); |
283 |
- |
284 |
- static this() |
285 |
- { |
286 |
-@@ -83,10 +86,11 @@ |
287 |
- if (SDL_Init(SDL_INIT_NOPARACHUTE) < 0) |
288 |
- throw new Error("Error loading SDL"); |
289 |
- // SDL_SetModuleHandle(GetModuleHandle(null)); |
290 |
-- SDL_SetModuleHandle(GetModuleHandleA(null)); |
291 |
-+ SDL_SetModuleHandle(GetModuleHandle(null)); |
292 |
- } |
293 |
- |
294 |
- static ~this() |
295 |
- { |
296 |
- SDL_Quit(); |
297 |
- } |
298 |
-++/ |
299 |
-diff -Naur GU/import/SDL_endian.d GU-gentoo/import/SDL_endian.d |
300 |
---- GU/import/SDL_endian.d 2004-05-08 12:55:52.000000000 +0200 |
301 |
-+++ GU-gentoo/import/SDL_endian.d 2007-10-10 19:30:12.000000000 +0200 |
302 |
-@@ -47,7 +47,7 @@ |
303 |
- */ |
304 |
- |
305 |
- Uint16 SDL_Swap16(Uint16 D) { |
306 |
-- return((D<<8)|(D>>8)); |
307 |
-+ return cast(Uint16)((D<<8)|(D>>8)); |
308 |
- } |
309 |
- |
310 |
- Uint32 SDL_Swap32(Uint32 D) { |
311 |
-diff -Naur GU/import/SDL_events.d GU-gentoo/import/SDL_events.d |
312 |
---- GU/import/SDL_events.d 2004-12-02 15:48:16.000000000 +0100 |
313 |
-+++ GU-gentoo/import/SDL_events.d 2007-10-10 19:30:12.000000000 +0200 |
314 |
-@@ -105,7 +105,7 @@ |
315 |
- Uint8 type; /* SDL_KEYDOWN or SDL_KEYUP */ |
316 |
- Uint8 which; /* The keyboard device index */ |
317 |
- Uint8 state; /* SDL_PRESSED or SDL_RELEASED */ |
318 |
-- SDL_keysym keysym; |
319 |
-+ SDL_keysym2 keysym; |
320 |
- } |
321 |
- |
322 |
- /* Mouse motion event structure */ |
323 |
-diff -Naur GU/import/SDL_keyboard.d GU-gentoo/import/SDL_keyboard.d |
324 |
---- GU/import/SDL_keyboard.d 2002-01-04 15:28:12.000000000 +0100 |
325 |
-+++ GU-gentoo/import/SDL_keyboard.d 2007-10-10 19:30:12.000000000 +0200 |
326 |
-@@ -26,7 +26,7 @@ |
327 |
- // !!! A hack! struct SDL_keysym is defined in this module, |
328 |
- // !!! so we need to resolve the nameclash... |
329 |
- // !!! Definitely won't work on *NIX but for now will do. |
330 |
--import SDL_Keysym; |
331 |
-+import SDL_keysym; |
332 |
- |
333 |
- extern(C): |
334 |
- |
335 |
-@@ -46,7 +46,7 @@ |
336 |
- An international character.. |
337 |
- } |
338 |
- */ |
339 |
--struct SDL_keysym { |
340 |
-+struct SDL_keysym2 { |
341 |
- Uint8 scancode; /* hardware specific scancode */ |
342 |
- SDLKey sym; /* SDL virtual keysym */ |
343 |
- SDLMod mod; /* current key modifiers */ |
344 |
-diff -Naur GU/import/SDL_syswm.d GU-gentoo/import/SDL_syswm.d |
345 |
---- GU/import/SDL_syswm.d 2004-01-03 16:10:50.000000000 +0100 |
346 |
-+++ GU-gentoo/import/SDL_syswm.d 2007-10-10 19:30:12.000000000 +0200 |
347 |
-@@ -22,7 +22,7 @@ |
348 |
- |
349 |
- /* Include file for SDL custom system window manager hooks */ |
350 |
- |
351 |
--import SDL_Version; |
352 |
-+import SDL_version; |
353 |
- |
354 |
- extern(C): |
355 |
- |
356 |
-diff -Naur GU/import/opengl.d GU-gentoo/import/opengl.d |
357 |
---- GU/import/opengl.d 2004-01-09 10:52:04.000000000 +0100 |
358 |
-+++ GU-gentoo/import/opengl.d 2007-10-10 19:30:12.000000000 +0200 |
359 |
-@@ -1,10 +1,6 @@ |
360 |
--version (Win32) { |
361 |
-- private import std.c.windows.windows; |
362 |
-- extern(Windows): |
363 |
--} |
364 |
--version (linux) { |
365 |
-+ |
366 |
- extern(C): |
367 |
--} |
368 |
-+ |
369 |
- |
370 |
- alias uint GLenum; |
371 |
- alias ubyte GLboolean; |
372 |
-@@ -1116,7 +1112,7 @@ |
373 |
- /*************************************************************/ |
374 |
- |
375 |
- void /*APIENTRY*/glAccum (GLenum op, GLfloat value); |
376 |
--void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf ref); |
377 |
-+void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf); |
378 |
- GLboolean /*APIENTRY*/glAreTexturesResident (GLsizei n, GLuint *textures, GLboolean *residences); |
379 |
- void /*APIENTRY*/glArrayElement (GLint i); |
380 |
- void /*APIENTRY*/glBegin (GLenum mode); |
381 |
-@@ -1369,7 +1365,7 @@ |
382 |
- void /*APIENTRY*/glScissor (GLint x, GLint y, GLsizei width, GLsizei height); |
383 |
- void /*APIENTRY*/glSelectBuffer (GLsizei size, GLuint *buffer); |
384 |
- void /*APIENTRY*/glShadeModel (GLenum mode); |
385 |
--void /*APIENTRY*/glStencilFunc (GLenum func, GLint ref, GLuint mask); |
386 |
-+void /*APIENTRY*/glStencilFunc (GLenum func, GLint, GLuint mask); |
387 |
- void /*APIENTRY*/glStencilMask (GLuint mask); |
388 |
- void /*APIENTRY*/glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); |
389 |
- void /*APIENTRY*/glTexCoord1d (GLdouble s); |
390 |
-diff -Naur GU/import/openglu.d GU-gentoo/import/openglu.d |
391 |
---- GU/import/openglu.d 2003-12-04 04:15:26.000000000 +0100 |
392 |
-+++ GU-gentoo/import/openglu.d 2007-10-10 19:30:12.000000000 +0200 |
393 |
-@@ -1,11 +1,8 @@ |
394 |
- import opengl; |
395 |
- |
396 |
--version (Win32) { |
397 |
-- extern(Windows): |
398 |
--} |
399 |
--version (linux) { |
400 |
-+ |
401 |
- extern(C): |
402 |
--} |
403 |
-+ |
404 |
- |
405 |
- GLubyte* gluErrorString ( |
406 |
- GLenum errCode); |
407 |
-diff -Naur GU/src/bulletcommand.d GU-gentoo/src/bulletcommand.d |
408 |
---- GU/src/bulletcommand.d 2006-08-16 18:07:38.000000000 +0200 |
409 |
-+++ GU-gentoo/src/bulletcommand.d 2007-10-10 19:31:33.000000000 +0200 |
410 |
-@@ -37,7 +37,7 @@ |
411 |
- |
412 |
- buf.length = 256; |
413 |
- buf = fname ~ "\0"; |
414 |
-- parser[bank] = BulletMLParserTinyXML_new(buf); |
415 |
-+ parser[bank] = BulletMLParserTinyXML_new(buf.ptr); |
416 |
- if(parser[bank]) BulletMLParserTinyXML_parse(parser[bank]); |
417 |
- buf.length = 0; |
418 |
- } |
419 |
-@@ -171,7 +171,8 @@ |
420 |
- if(eid != -1){ |
421 |
- TskBuf[eid].parent = BulletCommand.now.id; |
422 |
- d = (d <= 180.0f ? d : -(360.0f - d)); |
423 |
-- d = d / ROTVAL; |
424 |
-+ d = d / ROTVAL; |
425 |
-+ TskBuf[eid].roll = 0; |
426 |
- TskBuf[eid].bullet_speed = s; |
427 |
- TskBuf[eid].bullet_direction = d; |
428 |
- TskBuf[eid].bullet_velx = (sin(d) * (-s * VEL_SDM_SS_RATIO)); |
429 |
|
430 |
diff --git a/games-action/gradleunison/files/gradleunison-0.10-makefile.diff b/games-action/gradleunison/files/gradleunison-0.10-makefile.diff |
431 |
deleted file mode 100644 |
432 |
index bee2141..0000000 |
433 |
--- a/games-action/gradleunison/files/gradleunison-0.10-makefile.diff |
434 |
+++ /dev/null |
435 |
@@ -1,21 +0,0 @@ |
436 |
-diff -Naur Makefile Makefile |
437 |
---- Makefile 1970-01-01 01:00:00.000000000 +0100 |
438 |
-+++ Makefile 2007-10-10 19:30:12.000000000 +0200 |
439 |
-@@ -0,0 +1,17 @@ |
440 |
-+DC=gdmd |
441 |
-+DFLAGS=-g -O -d -release -Iimport -Isrc |
442 |
-+DOUT=-of |
443 |
-+ |
444 |
-+DSRC=$(shell find src/ -name "*.d") |
445 |
-+SOURCES=$(DSRC) import/SDL_video.d import/SDL_mixer.d import/SDL_mouse.d |
446 |
-+OBJS=$(SOURCES:.d=.o) |
447 |
-+EXE=gradleunison |
448 |
-+ |
449 |
-+all: $(EXE) |
450 |
-+ |
451 |
-+$(EXE): $(OBJS) |
452 |
-+ gcc -o $@ $(OBJS) -lbulletml -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer |
453 |
-+ |
454 |
-+$(OBJS): %.o: %.d |
455 |
-+ $(DC) -c $(DOUT)$@ $(DFLAGS) $< |
456 |
-+ |
457 |
|
458 |
diff --git a/games-action/gradleunison/gradleunison-0.10.ebuild b/games-action/gradleunison/gradleunison-0.10.ebuild |
459 |
deleted file mode 100644 |
460 |
index 732e753..0000000 |
461 |
--- a/games-action/gradleunison/gradleunison-0.10.ebuild |
462 |
+++ /dev/null |
463 |
@@ -1,66 +0,0 @@ |
464 |
-# Copyright 1999-2009 Gentoo Foundation |
465 |
-# Distributed under the terms of the GNU General Public License v2 |
466 |
-# $Header: $ |
467 |
- |
468 |
-EAPI="2" |
469 |
- |
470 |
-inherit d-games |
471 |
- |
472 |
-MY_PN=GU |
473 |
-MY_PV=${PV//./_} |
474 |
- |
475 |
-DESCRIPTION="jumpei isshiki's HelloWorldProject (2006/09/02) " |
476 |
-HOMEPAGE="http://homepage2.nifty.com/isshiki/prog_win_d.html" |
477 |
-SRC_URI="http://isshiki.la.coocan.jp/game/${MY_PN}.zip" |
478 |
- |
479 |
-LICENSE="BSD" |
480 |
-SLOT="0" |
481 |
-KEYWORDS="~ppc ~x86" |
482 |
-IUSE="" |
483 |
- |
484 |
-RDEPEND="media-libs/libsdl |
485 |
- media-libs/mesa |
486 |
- media-libs/sdl-mixer |
487 |
- dev-libs/libbulletml" |
488 |
-DEPEND="${RDEPEND}" |
489 |
- |
490 |
-S=${WORKDIR}/${MY_PN} |
491 |
- |
492 |
-src_unpack(){ |
493 |
- unpack ${A} |
494 |
-} |
495 |
- |
496 |
-src_prepare(){ |
497 |
- epatch "${FILESDIR}"/${P}-makefile.diff |
498 |
- epatch "${FILESDIR}"/${P}-import.diff |
499 |
- epatch "${FILESDIR}"/${P}-fixes.diff |
500 |
- epatch "${FILESDIR}"/${P}-homedir.diff |
501 |
- mv src/reflection.d src/reflection.d-OFF |
502 |
- sed -i \ |
503 |
- -e 's:"\(title.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
504 |
- -e 's:"\(next.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
505 |
- -e 's:"\(gameover.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
506 |
- -e 's:"\(edificio.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/main.d \ |
507 |
- -e 's:"\(icon.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/util_sdl.d \ |
508 |
- -e 's:"\(se_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
509 |
- -e 's:"\(gu_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
510 |
- -e 's:"\(./bullet[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \ |
511 |
- || die "sed failed" |
512 |
-} |
513 |
- |
514 |
-src_install() { |
515 |
- dogamesbin ${PN} |
516 |
- |
517 |
- local datadir="${GAMES_DATADIR}"/${PN} |
518 |
- dodir ${datadir} |
519 |
- insinto "${GAMES_DATADIR}"/${PN} |
520 |
- doins -r bullet *.bmp *.ogg *.wav || die |
521 |
- |
522 |
- make_desktop_entry ${PN} ${PN} |
523 |
- dodoc readme* |
524 |
- prepgamesdirs |
525 |
-} |
526 |
- |
527 |
-pkg_postinst() { |
528 |
- games_pkg_postinst |
529 |
-} |
530 |
|
531 |
diff --git a/games-action/gradleunison/metadata.xml b/games-action/gradleunison/metadata.xml |
532 |
deleted file mode 100644 |
533 |
index 5d0ede2..0000000 |
534 |
--- a/games-action/gradleunison/metadata.xml |
535 |
+++ /dev/null |
536 |
@@ -1,8 +0,0 @@ |
537 |
-<?xml version="1.0" encoding="UTF-8"?> |
538 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
539 |
-<pkgmetadata> |
540 |
-<maintainer> |
541 |
- <email>frostworks@×××.de</email> |
542 |
- <name>Marcel Unbehaun</name> |
543 |
-</maintainer> |
544 |
-</pkgmetadata> |