Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/zlock/, games-action/zlock/files/
Date: Fri, 07 Feb 2020 20:08:41
Message-Id: 1581106105.f40942c834179eb5c310b1be9029e2b88177ad9c.winterheart@gentoo
1 commit: f40942c834179eb5c310b1be9029e2b88177ad9c
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 7 20:04:23 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Fri Feb 7 20:08:25 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=f40942c8
7
8 games-action/zlock: remove package
9
10 Sources unavailable, deprecated
11 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
12
13 games-action/zlock/files/zlock-0.20-fixes.diff | 162 -----------------
14 games-action/zlock/files/zlock-0.20-homedir.diff | 87 ---------
15 games-action/zlock/files/zlock-0.20-imports.diff | 209 ----------------------
16 games-action/zlock/files/zlock-0.20-makefile.diff | 29 ---
17 games-action/zlock/metadata.xml | 8 -
18 games-action/zlock/zlock-0.20.ebuild | 59 ------
19 6 files changed, 554 deletions(-)
20
21 diff --git a/games-action/zlock/files/zlock-0.20-fixes.diff b/games-action/zlock/files/zlock-0.20-fixes.diff
22 deleted file mode 100644
23 index 8db06ff..0000000
24 --- a/games-action/zlock/files/zlock-0.20-fixes.diff
25 +++ /dev/null
26 @@ -1,162 +0,0 @@
27 -diff -Naur z-lock/src/bulletcommand.d z-lock-gentoo/src/bulletcommand.d
28 ---- z-lock/src/bulletcommand.d 2006-09-08 19:28:18.000000000 +0200
29 -+++ z-lock-gentoo/src/bulletcommand.d 2007-10-10 19:40:03.000000000 +0200
30 -@@ -36,7 +36,7 @@
31 -
32 - buf.length = 256;
33 - buf = fname ~ "\0";
34 -- parser[bank] = BulletMLParserTinyXML_new(buf);
35 -+ parser[bank] = BulletMLParserTinyXML_new(buf.ptr);
36 - if(parser[bank]) BulletMLParserTinyXML_parse(parser[bank]);
37 - buf.length = 0;
38 - }
39 -@@ -170,7 +170,8 @@
40 - if(eid != -1){
41 - TskBuf[eid].parent = BulletCommand.now.id;
42 - d = (d <= 180.0f ? d : -(360.0f - d));
43 -- d = d / ROTVAL;
44 -+ d = d / ROTVAL;
45 -+ TskBuf[eid].roll = 0;
46 - TskBuf[eid].bullet_speed = s;
47 - TskBuf[eid].bullet_direction = d;
48 - TskBuf[eid].bullet_velx = (sin(d) * (-s * VEL_SDM_SS_RATIO));
49 -diff -Naur z-lock/src/luminous.d z-lock-gentoo/src/luminous.d
50 ---- z-lock/src/luminous.d 2006-09-07 18:13:08.000000000 +0200
51 -+++ z-lock-gentoo/src/luminous.d 2007-10-10 19:40:44.000000000 +0200
52 -@@ -7,7 +7,7 @@
53 - */
54 -
55 - private import std.math;
56 --private import std.string;
57 -+private import std.c.string;
58 - private import opengl;
59 - private import util_sdl;
60 - private import task;
61 -@@ -68,11 +68,11 @@
62 -
63 - static void makeLuminousTexture()
64 - {
65 -- uint *data = td;
66 -+ uint *data = td.ptr;
67 - int i;
68 -
69 - td[0..length] = 0;
70 -- //memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * uint.sizeof);
71 -+ memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * uint.sizeof);
72 - glGenTextures(1, &luminousTexture);
73 - glBindTexture(GL_TEXTURE_2D, luminousTexture);
74 - glTexImage2D(GL_TEXTURE_2D, 0, 4, luminousTextureWidth, luminousTextureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, data);
75 -diff -Naur z-lock/src/main.d z-lock-gentoo/src/main.d
76 ---- z-lock/src/main.d 2005-12-03 14:53:36.000000000 +0100
77 -+++ z-lock-gentoo/src/main.d 2007-09-26 20:22:34.000000000 +0200
78 -@@ -6,13 +6,12 @@
79 - 2003/11/28 jumpei isshiki
80 - */
81 -
82 --private import std.c.windows.windows;
83 -+//private import std.c.windows.windows;
84 - private import std.stdio;
85 - private import std.string;
86 - private import std.random;
87 - private import SDL;
88 - private import opengl;
89 --private import reflection;
90 - private import util_sdl;
91 - private import util_glbf;
92 - private import util_pad;
93 -@@ -64,8 +63,8 @@
94 - str_buf[i] = lpCmdLine[i];
95 - }
96 - split_buf = split(str_buf);
97 -- if(split_buf[0].length > 1) Reflection.init(split_buf[0]);
98 -- else Reflection.init("main.exe");
99 -+// if(split_buf[0].length > 1) Reflection.init(split_buf[0]);
100 -+// else Reflection.init("main.exe");
101 - }
102 -
103 - try{
104 -@@ -83,7 +82,7 @@
105 - }else{
106 - int main(char[][] argv)
107 - {
108 -- Reflection.init(argv[argv.length-1]);
109 -+// Reflection.init(argv[argv.length-1]);
110 - return boot();
111 - }
112 - }
113 -@@ -154,7 +153,7 @@
114 - setTSK(GROUP_00,&TSKgctrl);
115 -
116 - while(game_exec){
117 -- SDL_PollEvent(&event);
118 -+ SDL_PollEvent (&event);
119 - getPAD();
120 - if((game_exec == 1 && (trgs & PAD_BUTTON9)) || event.type == SDL_QUIT){
121 - game_exec = 0;
122 -@@ -238,7 +237,7 @@
123 - {
124 - int prev;
125 -
126 -- ship_level = 0.0f;
127 -+// ship_level = 0.0f;
128 -
129 - if(TskBuf[ship_id].tskid != 0 && TskBuf[ship_id].fp_int) collision_sub2(ship_id, GROUP_02);
130 - if(TskBuf[ship_id].tskid != 0 && TskBuf[ship_id].fp_int) collision_sub3(ship_id, GROUP_06);
131 -diff -Naur z-lock/src/task.d z-lock-gentoo/src/task.d
132 ---- z-lock/src/task.d 2006-09-08 19:11:52.000000000 +0200
133 -+++ z-lock-gentoo/src/task.d 2007-10-10 19:42:09.000000000 +0200
134 -@@ -135,7 +135,8 @@
135 - GROUP_06,
136 - GROUP_07,
137 - GROUP_08,
138 -- GROUP_MAX,
139 -+ GROUP_MAX,
140 -+ GROUP_SSHOT = GROUP_03,
141 -
142 - }
143 -
144 -@@ -184,7 +185,9 @@
145 - TskBuf[i].fp_exit = null;
146 - TskBuf[i].image = null;
147 - TskBuf[i].bullet_command = null;
148 -- TskBuf[i].bullet_state = null;
149 -+ TskBuf[i].bullet_state = null;
150 -+ TskBuf[i].bullet_accx = 0;
151 -+ TskBuf[i].bullet_accy = 0;
152 - }
153 - TskBuf[i].tskid = TSKID_NONE;
154 - TskBuf[i].entry = -1;
155 -diff -Naur z-lock/src/title.d z-lock-gentoo/src/title.d
156 ---- z-lock/src/title.d 2006-09-08 18:53:36.000000000 +0200
157 -+++ z-lock-gentoo/src/title.d 2007-09-07 13:00:04.000000000 +0200
158 -@@ -510,7 +510,8 @@
159 - str_buf.length = 0;
160 - clrTSK(id);
161 - break;
162 -- }
163 -+ }
164 -+ return;
165 - }
166 -
167 - void TSKtitleDraw(int id)
168 -diff -Naur z-lock/src/util_snd.d z-lock-gentoo/src/util_snd.d
169 ---- z-lock/src/util_snd.d 2005-08-24 17:11:26.000000000 +0200
170 -+++ z-lock-gentoo/src/util_snd.d 2007-10-10 19:43:24.000000000 +0200
171 -@@ -99,7 +99,7 @@
172 -
173 - char[] fileName = name ~ "\0";
174 -
175 -- music[ch] = Mix_LoadMUS(fileName);
176 -+ music[ch] = Mix_LoadMUS(fileName.ptr);
177 - if(!music[ch]){
178 - sound_use = false;
179 - }else{
180 -@@ -118,7 +118,7 @@
181 -
182 - char[] fileName = name ~ "\0";
183 -
184 -- chunk[bank] = Mix_LoadWAV(fileName);
185 -+ chunk[bank] = Mix_LoadWAV(fileName.ptr);
186 - if(!chunk[bank]){
187 - sound_use = false;
188 - }
189
190 diff --git a/games-action/zlock/files/zlock-0.20-homedir.diff b/games-action/zlock/files/zlock-0.20-homedir.diff
191 deleted file mode 100644
192 index c6d084d..0000000
193 --- a/games-action/zlock/files/zlock-0.20-homedir.diff
194 +++ /dev/null
195 @@ -1,87 +0,0 @@
196 -diff -Naur z-lock/src/init.d z-lock-p/src/init.d
197 ---- z-lock/src/init.d 2006-09-07 18:32:10.000000000 +0200
198 -+++ z-lock-p/src/init.d 2009-08-28 13:25:55.000000000 +0200
199 -@@ -5,7 +5,8 @@
200 -
201 - 2003/12/01 jumpei isshiki
202 - */
203 --
204 -+private import std.c.stdlib;
205 -+private import std.string;
206 - private import std.stdio;
207 - private import std.stream;
208 - private import std.file;
209 -@@ -16,6 +17,18 @@
210 - private import define;
211 - private import gctrl;
212 -
213 -+public static char[] pref_dir() {
214 -+ char * home = getenv("HOME");
215 -+ if (home is null)
216 -+ throw new Error("HOME environment variable undefined");
217 -+ char[] dir = std.string.toString(home) ~ "/.zlock";
218 -+ try {
219 -+ mkdir(dir);
220 -+ } catch (FileException e) {
221 -+ }
222 -+ return dir;
223 -+}
224 -+
225 - void grpINIT()
226 - {
227 - readSDLtexture("title.bmp", GRP_TITLE);
228 -@@ -80,9 +93,9 @@
229 - reptime_mode = 0;
230 -
231 - auto File fd = new File;
232 -- if(exists("config.dat")){
233 -+ if(exists(pref_dir() ~ "/" ~ "config.dat")){
234 - initialized = 0;
235 -- fd.open("config.dat");
236 -+ fd.open(pref_dir() ~ "/" ~ "config.dat");
237 - fd.read(game_ver);
238 - fd.read(game_level);
239 - fd.read(vol_se);
240 -@@ -96,7 +109,7 @@
241 - if(game_ver != GAME_NOWVER) game_ver = GAME_NOWVER;
242 - }else{
243 - initialized = 1;
244 -- fd.create("config.dat");
245 -+ fd.create(pref_dir() ~ "/" ~ "config.dat");
246 - fd.write(game_ver);
247 - fd.write(game_level);
248 - fd.write(vol_se);
249 -@@ -137,22 +150,22 @@
250 -
251 - int[] score_tmp;
252 -
253 -- if(exists("score.dat")){
254 -- score_tmp = cast(int[])read("score.dat");
255 -+ if(exists(pref_dir() ~ "/" ~ "score.dat")){
256 -+ score_tmp = cast(int[])read(pref_dir() ~ "/" ~ "score.dat");
257 - for(int i = 0; i < high_score.length; i++){
258 - for(int j = 0; j < high_score[i].length; j++){
259 - high_score[i][j] = score_tmp[i*high_score[i].length+j];
260 - }
261 - }
262 - }else{
263 -- write("score.dat", cast(void[])high_score);
264 -+ write(pref_dir() ~ "/" ~ "score.dat", cast(void[])high_score);
265 - }
266 - }
267 -
268 - void configSAVE()
269 - {
270 - auto File fd = new File;
271 -- fd.create("config.dat");
272 -+ fd.create(pref_dir() ~ "/" ~ "config.dat");
273 - fd.write(game_ver);
274 - fd.write(game_level);
275 - fd.write(vol_se);
276 -@@ -167,5 +180,5 @@
277 -
278 - void scoreSAVE()
279 - {
280 -- write("score.dat", cast(void[])high_score);
281 -+ write(pref_dir() ~ "/" ~ "score.dat", cast(void[])high_score);
282 - }
283
284 diff --git a/games-action/zlock/files/zlock-0.20-imports.diff b/games-action/zlock/files/zlock-0.20-imports.diff
285 deleted file mode 100644
286 index 1db3bd2..0000000
287 --- a/games-action/zlock/files/zlock-0.20-imports.diff
288 +++ /dev/null
289 @@ -1,209 +0,0 @@
290 -diff -Naur z-lock/import/opengl.d z-lock-p/import/opengl.d
291 ---- z-lock/import/opengl.d 2004-01-09 10:52:04.000000000 +0100
292 -+++ z-lock-p/import/opengl.d 2009-08-28 13:30:51.000000000 +0200
293 -@@ -1,10 +1,4 @@
294 --version (Win32) {
295 -- private import std.c.windows.windows;
296 -- extern(Windows):
297 --}
298 --version (linux) {
299 - extern(C):
300 --}
301 -
302 - alias uint GLenum;
303 - alias ubyte GLboolean;
304 -@@ -1116,7 +1110,7 @@
305 - /*************************************************************/
306 -
307 - void /*APIENTRY*/glAccum (GLenum op, GLfloat value);
308 --void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf ref);
309 -+void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf);
310 - GLboolean /*APIENTRY*/glAreTexturesResident (GLsizei n, GLuint *textures, GLboolean *residences);
311 - void /*APIENTRY*/glArrayElement (GLint i);
312 - void /*APIENTRY*/glBegin (GLenum mode);
313 -@@ -1369,7 +1363,7 @@
314 - void /*APIENTRY*/glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
315 - void /*APIENTRY*/glSelectBuffer (GLsizei size, GLuint *buffer);
316 - void /*APIENTRY*/glShadeModel (GLenum mode);
317 --void /*APIENTRY*/glStencilFunc (GLenum func, GLint ref, GLuint mask);
318 -+void /*APIENTRY*/glStencilFunc (GLenum func, GLint, GLuint mask);
319 - void /*APIENTRY*/glStencilMask (GLuint mask);
320 - void /*APIENTRY*/glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
321 - void /*APIENTRY*/glTexCoord1d (GLdouble s);
322 -diff -Naur z-lock/import/openglu.d z-lock-p/import/openglu.d
323 ---- z-lock/import/openglu.d 2003-12-04 04:15:26.000000000 +0100
324 -+++ z-lock-p/import/openglu.d 2009-08-28 13:30:51.000000000 +0200
325 -@@ -1,11 +1,6 @@
326 - import opengl;
327 -
328 --version (Win32) {
329 -- extern(Windows):
330 --}
331 --version (linux) {
332 - extern(C):
333 --}
334 -
335 - GLubyte* gluErrorString (
336 - GLenum errCode);
337 -diff -Naur z-lock/import/SDL.d z-lock-p/import/SDL.d
338 ---- z-lock/import/SDL.d 2004-05-08 14:14:14.000000000 +0200
339 -+++ z-lock-p/import/SDL.d 2009-08-28 13:30:51.000000000 +0200
340 -@@ -20,73 +20,76 @@
341 - slouken@××××××××××.com
342 - */
343 -
344 --import SDL_types;
345 --import SDL_getenv;
346 --import SDL_error;
347 --import SDL_rwops;
348 --import SDL_timer;
349 --import SDL_audio;
350 --import SDL_cdrom;
351 --import SDL_joystick;
352 --import SDL_events;
353 --import SDL_video;
354 --import SDL_byteorder;
355 --import SDL_Version;
356 --
357 --extern(C):
358 --
359 --/* As of version 0.5, SDL is loaded dynamically into the application */
360 --
361 --/* These are the flags which may be passed to SDL_Init() -- you should
362 -- specify the subsystems which you will be using in your application.
363 --*/
364 --const uint SDL_INIT_TIMER = 0x00000001;
365 --const uint SDL_INIT_AUDIO = 0x00000010;
366 --const uint SDL_INIT_VIDEO = 0x00000020;
367 --const uint SDL_INIT_CDROM = 0x00000100;
368 --const uint SDL_INIT_JOYSTICK = 0x00000200;
369 --const uint SDL_INIT_NOPARACHUTE = 0x00100000; /* Don't catch fatal signals */
370 --const uint SDL_INIT_EVENTTHREAD = 0x01000000; /* Not supported on all OS's */
371 --const uint SDL_INIT_EVERYTHING = 0x0000FFFF;
372 --
373 --/* This function loads the SDL dynamically linked library and initializes
374 -- * the subsystems specified by 'flags' (and those satisfying dependencies)
375 -- * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
376 -- * signal handlers for some commonly ignored fatal signals (like SIGSEGV)
377 -- */
378 --int SDL_Init(Uint32 flags);
379 --
380 --/* This function initializes specific SDL subsystems */
381 --int SDL_InitSubSystem(Uint32 flags);
382 --
383 --/* This function cleans up specific SDL subsystems */
384 --void SDL_QuitSubSystem(Uint32 flags);
385 --
386 --/* This function returns mask of the specified subsystems which have
387 -- been initialized.
388 -- If 'flags' is 0, it returns a mask of all initialized subsystems.
389 --*/
390 --Uint32 SDL_WasInit(Uint32 flags);
391 --
392 --/* This function cleans up all initialized subsystems and unloads the
393 -- * dynamically linked library. You should call it upon all exit conditions.
394 -- */
395 --void SDL_Quit();
396 --
397 --void SDL_SetModuleHandle(void *hInst);
398 --//extern(Windows) void* GetModuleHandle(char*);
399 --extern(Windows) void* GetModuleHandleA(char*);
400 --
401 --static this()
402 --{
403 -- /* Load SDL dynamic link library */
404 -- if (SDL_Init(SDL_INIT_NOPARACHUTE) < 0)
405 -- throw new Error("Error loading SDL");
406 --// SDL_SetModuleHandle(GetModuleHandle(null));
407 -- SDL_SetModuleHandle(GetModuleHandleA(null));
408 --}
409 --
410 --static ~this()
411 --{
412 -- SDL_Quit();
413 --}
414 -+public import SDL_types;
415 -+public import SDL_getenv;
416 -+public import SDL_error;
417 -+public import SDL_rwops;
418 -+public import SDL_timer;
419 -+public import SDL_audio;
420 -+public import SDL_cdrom;
421 -+public import SDL_joystick;
422 -+public import SDL_events;
423 -+public import SDL_video;
424 -+public import SDL_byteorder;
425 -+public import SDL_Version;
426 -+public import SDL_Keysym;
427 -+public import SDL_keyboard;
428 -+public import SDL_mouse;
429 -+
430 -+extern(C):
431 -+
432 -+/* As of version 0.5, SDL is loaded dynamically into the application */
433 -+
434 -+/* These are the flags which may be passed to SDL_Init() -- you should
435 -+ specify the subsystems which you will be using in your application.
436 -+*/
437 -+const uint SDL_INIT_TIMER = 0x00000001;
438 -+const uint SDL_INIT_AUDIO = 0x00000010;
439 -+const uint SDL_INIT_VIDEO = 0x00000020;
440 -+const uint SDL_INIT_CDROM = 0x00000100;
441 -+const uint SDL_INIT_JOYSTICK = 0x00000200;
442 -+const uint SDL_INIT_NOPARACHUTE = 0x00100000; /* Don't catch fatal signals */
443 -+const uint SDL_INIT_EVENTTHREAD = 0x01000000; /* Not supported on all OS's */
444 -+const uint SDL_INIT_EVERYTHING = 0x0000FFFF;
445 -+
446 -+/* This function loads the SDL dynamically linked library and initializes
447 -+ * the subsystems specified by 'flags' (and those satisfying dependencies)
448 -+ * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
449 -+ * signal handlers for some commonly ignored fatal signals (like SIGSEGV)
450 -+ */
451 -+int SDL_Init(Uint32 flags);
452 -+
453 -+/* This function initializes specific SDL subsystems */
454 -+int SDL_InitSubSystem(Uint32 flags);
455 -+
456 -+/* This function cleans up specific SDL subsystems */
457 -+void SDL_QuitSubSystem(Uint32 flags);
458 -+
459 -+/* This function returns mask of the specified subsystems which have
460 -+ been initialized.
461 -+ If 'flags' is 0, it returns a mask of all initialized subsystems.
462 -+*/
463 -+Uint32 SDL_WasInit(Uint32 flags);
464 -+
465 -+/* This function cleans up all initialized subsystems and unloads the
466 -+ * dynamically linked library. You should call it upon all exit conditions.
467 -+ */
468 -+void SDL_Quit();
469 -+
470 -+/+
471 -+void SDL_SetModuleHandle(void *hInst);
472 -+extern(Windows) void* GetModuleHandle(char*);
473 -+
474 -+static this()
475 -+{
476 -+ /* Load SDL dynamic link library */
477 -+ if (SDL_Init(SDL_INIT_NOPARACHUTE) < 0)
478 -+ throw new Error("Error loading SDL");
479 -+ SDL_SetModuleHandle(GetModuleHandle(null));
480 -+}
481 -+
482 -+static ~this()
483 -+{
484 -+ SDL_Quit();
485 -+}
486 -++/
487 -diff -Naur z-lock/import/SDL_events.d z-lock-p/import/SDL_events.d
488 ---- z-lock/import/SDL_events.d 2004-12-02 15:48:16.000000000 +0100
489 -+++ z-lock-p/import/SDL_events.d 2009-08-28 13:30:51.000000000 +0200
490 -@@ -304,7 +304,7 @@
491 - If 'state' is set to SDL_QUERY, SDL_EventState() will return the
492 - current processing state of the specified event.
493 - */
494 --const int SDL_QUERY = -1;
495 -+const uint SDL_QUERY = -1;
496 - const uint SDL_IGNORE = 0;
497 - const uint SDL_DISABLE = 0;
498 - const uint SDL_ENABLE = 1;
499
500 diff --git a/games-action/zlock/files/zlock-0.20-makefile.diff b/games-action/zlock/files/zlock-0.20-makefile.diff
501 deleted file mode 100644
502 index df45261..0000000
503 --- a/games-action/zlock/files/zlock-0.20-makefile.diff
504 +++ /dev/null
505 @@ -1,29 +0,0 @@
506 -diff -Naur Makefile Makefile
507 ---- Makefile 1970-01-01 01:00:00.000000000 +0100
508 -+++ Makefile 2007-08-04 18:21:16.000000000 +0200
509 -@@ -0,0 +1,25 @@
510 -+DC=gdmd
511 -+#DC=gdc
512 -+ifeq ($(DC), gdmd)
513 -+DFLAGS=-g -debug -O -d -release -Iimport -Isrc
514 -+#DFLAGS=-g -debug -Iimport -Isrc
515 -+DOUT=-of
516 -+else
517 -+DFLAGS=-O -frelease -Iimport -Isrc
518 -+#DFLAGS=-g -fdebug -Iimport -Isrc
519 -+DOUT=-o
520 -+endif
521 -+
522 -+DSRC=$(shell find src/ -name "*.d")
523 -+SOURCES=$(DSRC) import/SDL_video.d import/SDL_mixer.d
524 -+OBJS=$(SOURCES:.d=.o)
525 -+EXE=zlock
526 -+
527 -+all: $(EXE)
528 -+
529 -+$(EXE): $(OBJS)
530 -+ gcc -o $@ $(OBJS) -lbulletml -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer
531 -+
532 -+$(OBJS): %.o: %.d
533 -+ gdmd -d -c -of$@ $(DFLAGS) $<
534 -+
535
536 diff --git a/games-action/zlock/metadata.xml b/games-action/zlock/metadata.xml
537 deleted file mode 100644
538 index 5d0ede2..0000000
539 --- a/games-action/zlock/metadata.xml
540 +++ /dev/null
541 @@ -1,8 +0,0 @@
542 -<?xml version="1.0" encoding="UTF-8"?>
543 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
544 -<pkgmetadata>
545 -<maintainer>
546 - <email>frostworks@×××.de</email>
547 - <name>Marcel Unbehaun</name>
548 -</maintainer>
549 -</pkgmetadata>
550
551 diff --git a/games-action/zlock/zlock-0.20.ebuild b/games-action/zlock/zlock-0.20.ebuild
552 deleted file mode 100644
553 index 00c9c7a..0000000
554 --- a/games-action/zlock/zlock-0.20.ebuild
555 +++ /dev/null
556 @@ -1,59 +0,0 @@
557 -# Copyright 1999-2009 Gentoo Foundation
558 -# Distributed under the terms of the GNU General Public License v2
559 -# $Header: $
560 -
561 -EAPI="2"
562 -
563 -inherit d-games
564 -
565 -MY_PN=z-lock
566 -MY_PV=${PV//./_}
567 -
568 -DESCRIPTION="jumpei isshiki's HelloWorldProject (2006/09/09) "
569 -HOMEPAGE="http://homepage2.nifty.com/isshiki/prog_win_d.html"
570 -SRC_URI="http://homepage2.nifty.com/isshiki/${MY_PN}.zip"
571 -
572 -LICENSE="BSD"
573 -SLOT="0"
574 -KEYWORDS="~ppc ~x86"
575 -IUSE=""
576 -
577 -RDEPEND="media-libs/libsdl
578 - media-libs/mesa
579 - media-libs/sdl-mixer
580 - dev-libs/libbulletml"
581 -DEPEND="${RDEPEND}"
582 -
583 -S=${WORKDIR}/${MY_PN}
584 -
585 -src_prepare(){
586 - epatch "${FILESDIR}"/${P}-fixes.diff
587 - epatch "${FILESDIR}"/${P}-homedir.diff
588 - epatch "${FILESDIR}"/${P}-imports.diff
589 - epatch "${FILESDIR}"/${P}-makefile.diff
590 - mv src/reflection.d src/reflection.d-OFF
591 - mv import/SDL_keysym.d import/SDL_Keysym.d
592 - mv import/SDL_version.d import/SDL_Version.d
593 - sed -i \
594 - -e 's:"\(title.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \
595 - -e 's:"\(next.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \
596 - -e 's:"\(gameover.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \
597 - -e 's:"\(edificio.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/main.d \
598 - -e 's:"\(se_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \
599 - -e 's:"\(voice_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \
600 - -e 's:"\(zlock[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \
601 - -e 's:"\(bullet[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \
602 - || die "sed failed"
603 -}
604 -
605 -src_install() {
606 - dobin ${PN} || die "dobin failed"
607 -
608 - local datadir="${GAMES_DATADIR}"/${PN}
609 -
610 - dodir ${datadir}
611 - insinto "${GAMES_DATADIR}"/${PN}
612 - doins -r *.xml *.bmp *.ogg *.wav || die
613 - make_desktop_entry ${PN} ${PN}
614 - dodoc readme*
615 -}