diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-06-02 16:25:34 +0700 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-06-02 16:25:34 +0700 |
commit | 93c9a5193582daa0fda225ef362fe2974d356c6f (patch) | |
tree | 628eb2fba047684fb6ed307a85d0a571f2543f00 /games-arcade | |
parent | typhon: cooglecode is dead (diff) | |
download | gamerlay-93c9a5193582daa0fda225ef362fe2974d356c6f.tar.gz gamerlay-93c9a5193582daa0fda225ef362fe2974d356c6f.tar.bz2 gamerlay-93c9a5193582daa0fda225ef362fe2974d356c6f.zip |
frostworks upstream disappeared. Author (and maintainer) last seen long time ago. Packages looks dead.
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/mytoy-se/Manifest | 21 | ||||
-rw-r--r-- | games-arcade/mytoy-se/files/mytoy-se-1.0.0-best.patch | 140 | ||||
-rw-r--r-- | games-arcade/mytoy-se/files/mytoy-se-1.0.0-homeandvideo.patch | 229 | ||||
-rw-r--r-- | games-arcade/mytoy-se/metadata.xml | 8 | ||||
-rw-r--r-- | games-arcade/mytoy-se/mytoy-se-1.0.0.ebuild | 57 |
5 files changed, 0 insertions, 455 deletions
diff --git a/games-arcade/mytoy-se/Manifest b/games-arcade/mytoy-se/Manifest deleted file mode 100644 index 39fe4c7..0000000 --- a/games-arcade/mytoy-se/Manifest +++ /dev/null @@ -1,21 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -DIST mytoy-se-1.0.0.tar.bz2 22150628 SHA256 9b0f2423b8336efd23f6aa0004057293361f50aa9a9df92a641c4712626c7f4c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAEBCAAGBQJQlghdAAoJECZQPTSbOzNLO0kP/Rul9g9H1V14OIUNRmfxalqt -KnNuwEHYm48DcoKNJRZIcEjxLSqGa+0uX4l4SsabJRFboGQZ/8poo73awZUoo9fF -9WzPhA0LWQnfudn5nqEeGEVKODNJMEp/503LQgVlorU4km4+4KOT1sOZ+f2qL3BD -Ky07ff9b+gyJbAgkM04Q1cJ+V4ZxhSNYwAQrL6HPFfovRoAMVzmsjdWbNotL8mTA -QSwmH7Agwii3SKKFKWNfayZfv4ETDG9vyZOu+YE1BuAzzaUsLeQGrg0BwZNTKtfw -Gc6tkTriq7rWjFnE+LPkr4YgHZ3UUfi7NPyu/pVl5nsywCga0VudCN0fnQ3ENpsV -Y3i7miF4gKy8Gt+eOyr6emN1v98U13+3Za3ryiVyTdSYJ5TpuMKSegilcgarfrUB -7hMIWrd6BIDwRR6KC4N2nB7Nn816XIX3ngQEqfY+mrIxE4MjiBerIj6wIrAJmyZc -ls1tHUMzlM47jIF1OST0ej8JNJbjfcrXXiMV13eJ2VhM7Yl4wcFRemJEzeRqzZFF -n1EMdWDqltIUs9a4VZxaCURBnHTANNY6iy4vPueNdhSW17wM3YewTn9fpZP96NjV -CC01p6ETOnlHOCNXKECOeJEtVcKdGm+yoZzOtmDyWrgznN2UrNp8cGght+kjS7iO -kGFcHOAqPpMVUIXYAv2D -=tG7p ------END PGP SIGNATURE----- diff --git a/games-arcade/mytoy-se/files/mytoy-se-1.0.0-best.patch b/games-arcade/mytoy-se/files/mytoy-se-1.0.0-best.patch deleted file mode 100644 index 359bf5e..0000000 --- a/games-arcade/mytoy-se/files/mytoy-se-1.0.0-best.patch +++ /dev/null @@ -1,140 +0,0 @@ -diff -Naur mytoy-se-1.0.0/ccrazy.cpp mytoy-se-1.0.0-home-best/ccrazy.cpp ---- mytoy-se-1.0.0/ccrazy.cpp 2009-11-24 12:30:45.000000000 +0100 -+++ mytoy-se-1.0.0-home-best/ccrazy.cpp 2009-11-24 13:45:24.000000000 +0100 -@@ -179,7 +179,11 @@ - - // legjobb fotója - case 20: -- MakeTheBestPhoto("data/crazybubbles/pictures/the_best"); -+ char best_path[300]; -+ sprintf(best_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(best_path, 0755); -+ sprintf(best_path, "%s/.mytoyse/crazybubbles-the_best", getenv("HOME")); -+ MakeTheBestPhoto(best_path); - gamestatus = 0; - - break; -@@ -225,6 +229,8 @@ - // Textúrák, hangok betöltése - // =========================== - int CCrazy::LoadItems() { -+ char best_path[300]; -+ sprintf(best_path, "%s/.mytoyse/crazybubbles-the_best_0.png", getenv("HOME")); - - // panel - if ( !(TexPanel = CORE->TEXMAN->CreateTexture("data/crazybubbles/pictures/panel.png") ) ) { -@@ -259,7 +265,7 @@ - } - - // Legjobb fényképének, pontszámának betöltése (512*512*3) -- if ( !(TexTheBest = LoadTheBestPlayer("data/crazybubbles/pictures/the_best_0.png") ) ) -+ if ( !(TexTheBest = LoadTheBestPlayer(best_path) ) ) - if ( !(TexTheBest = CORE->TEXMAN->CreateTexture("data/misc/pictures/thebest_default.png") ) ) - if ( !(TexTheBest = CORE->TEXMAN->CreateEmptyTexture(512,512,3) ) ) { - -diff -Naur mytoy-se-1.0.0/cdogcatcher.cpp mytoy-se-1.0.0-home-best/cdogcatcher.cpp ---- mytoy-se-1.0.0/cdogcatcher.cpp 2009-11-24 12:30:45.000000000 +0100 -+++ mytoy-se-1.0.0-home-best/cdogcatcher.cpp 2009-11-24 13:44:36.000000000 +0100 -@@ -173,7 +173,11 @@ - - // Legjobb játékos fotója - case 20: -- MakeTheBestPhoto("data/dogcatcher/pictures/the_best"); -+ char best_path[300]; -+ sprintf(best_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(best_path, 0755); -+ sprintf(best_path, "%s/.mytoyse/dogcatcher-the_best", getenv("HOME")); -+ MakeTheBestPhoto(best_path); - gamestatus = 0; - - break; -@@ -216,6 +220,8 @@ - // ======================= - - int CDogCatcher::LoadItems() { -+ char best_path[300]; -+ sprintf(best_path, "%s/.mytoyse/dogcatcher-the_best_0.png", getenv("HOME")); - - // Menü képe - if ( !(TexDogMenu = CORE->TEXMAN->CreateTexture("data/dogcatcher/pictures/dogcatchmenu.png") ) ) { -@@ -287,7 +293,7 @@ - } - - // Legjobb fényképének, pontszámának betöltése (512*512*3) -- if ( !(TexTheBest = LoadTheBestPlayer("data/dogcatcher/pictures/the_best_0.png") ) ) -+ if ( !(TexTheBest = LoadTheBestPlayer(best_path) ) ) - if ( !(TexTheBest = CORE->TEXMAN->CreateTexture("data/misc/pictures/thebest_default.png") ) ) - if ( !(TexTheBest = CORE->TEXMAN->CreateEmptyTexture(512,512,3) ) ) { - -diff -Naur mytoy-se-1.0.0/cmeteorfly.cpp mytoy-se-1.0.0-home-best/cmeteorfly.cpp ---- mytoy-se-1.0.0/cmeteorfly.cpp 2009-11-24 12:30:45.000000000 +0100 -+++ mytoy-se-1.0.0-home-best/cmeteorfly.cpp 2009-11-24 13:45:47.000000000 +0100 -@@ -187,7 +187,11 @@ - - // legjobb fotója - case 20: -- MakeTheBestPhoto("data/meteorfly/pictures/the_best"); -+ char best_path[300]; -+ sprintf(best_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(best_path, 0755); -+ sprintf(best_path, "%s/.mytoyse/meteorfly-the_best", getenv("HOME")); -+ MakeTheBestPhoto(best_path); - gamestatus = 0; - - break; -@@ -235,7 +239,8 @@ - // Meteorfly hangok, képek betöltése - // ==================================== - int CMeteorfly::LoadItems() { -- -+ char best_path[300]; -+ sprintf(best_path, "%s/.mytoyse/meteorfly-the_best_0.png", getenv("HOME")); - - // panel - if ( !(TexPanel = CORE->TEXMAN->CreateTexture("data/meteorfly/pictures/panel.png") ) ) { -@@ -293,8 +298,8 @@ - return 0; - } - -- // Legjobb fényképének, pontszámának betöltése (512*512*3) -- if ( !(TexTheBest = LoadTheBestPlayer("data/meteorfly/pictures/the_best_0.png") ) ) -+ // Legjobb fényképének, pontszámának betöltése (512*512*3) -+ if ( !(TexTheBest = LoadTheBestPlayer(best_path) ) ) - if ( !(TexTheBest = CORE->TEXMAN->CreateTexture("data/misc/pictures/thebest_default.png") ) ) - if ( !(TexTheBest = CORE->TEXMAN->CreateEmptyTexture(512,512,3) ) ) { - -diff -Naur mytoy-se-1.0.0/cwindow.cpp mytoy-se-1.0.0-home-best/cwindow.cpp ---- mytoy-se-1.0.0/cwindow.cpp 2009-11-24 12:30:45.000000000 +0100 -+++ mytoy-se-1.0.0-home-best/cwindow.cpp 2009-11-24 13:46:04.000000000 +0100 -@@ -159,7 +159,11 @@ - - // Legjobb játékos fotója - case 20: -- MakeTheBestPhoto("data/windowcleaner/pictures/the_best"); -+ char best_path[300]; -+ sprintf(best_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(best_path, 0755); -+ sprintf(best_path, "%s/.mytoyse/windowcleaner-the_best", getenv("HOME")); -+ MakeTheBestPhoto(best_path); - gamestatus = 0; - #ifdef PLAY_SOUNDS - windowmenumusic.PlayMusic(-1); -@@ -202,7 +206,8 @@ - // Képek, hangok betöltése - // ======================= - int CWindow::LoadItems() { -- -+ char best_path[300]; -+ sprintf(best_path, "%s/.mytoyse/windowcleaner-the_best_0.png", getenv("HOME")); - - if ( !(TexPanel = CORE->TEXMAN->CreateTexture("data/windowcleaner/pictures/panel.png") ) ) { - printf("I can't load the Panel!\n"); -@@ -246,7 +251,7 @@ - } - - // Legjobb fényképének, pontszámának betöltése (512*512*3) -- if ( !(TexTheBest = LoadTheBestPlayer("data/windowcleaner/pictures/the_best_0.png") ) ) -+ if ( !(TexTheBest = LoadTheBestPlayer(best_path) ) ) - if ( !(TexTheBest = CORE->TEXMAN->CreateTexture("data/misc/pictures/thebest_default.png") ) ) - if ( !(TexTheBest = CORE->TEXMAN->CreateEmptyTexture(512,512,3) ) ) { - diff --git a/games-arcade/mytoy-se/files/mytoy-se-1.0.0-homeandvideo.patch b/games-arcade/mytoy-se/files/mytoy-se-1.0.0-homeandvideo.patch deleted file mode 100644 index d40300e..0000000 --- a/games-arcade/mytoy-se/files/mytoy-se-1.0.0-homeandvideo.patch +++ /dev/null @@ -1,229 +0,0 @@ -diff -Naur mytoy-se-1.0.0/ccore.cpp mytoy-se-1.0.0-home/ccore.cpp ---- mytoy-se-1.0.0/ccore.cpp 2008-06-13 18:48:43.000000000 +0200 -+++ mytoy-se-1.0.0-home/ccore.cpp 2009-11-24 12:34:51.000000000 +0100 -@@ -181,8 +181,48 @@ - // Kamera megnyitása - // ================== - int CCore::OpenCamera() { -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/configuration", getenv("HOME")); -+ FILE *f = fopen(cfg_path, "r"); - -- device = cvCaptureFromCAM( camdesc.number ); -+ if ( !f ) -+ device = cvCaptureFromCAM( camdesc.number ); -+ else -+ { -+ char line[80]; -+ char *token; -+ int param; -+ while ( fgets(line, 80, f ) ) { -+ -+ // megjegyzés vagy üres sor -+ if ( line[0] == '#' ) -+ continue; -+ -+ token = strtok(line, "= \t"); -+ -+ param = -1; -+ if ( strstr( token, "video_device" ) ) param = 4; -+ -+ token = strtok( NULL, "= \t\n" ); -+ -+ switch ( param ) { -+ -+ case -1: -+ break; -+ case 4: -+ video_device = atoi( token ); -+ device = cvCaptureFromCAM( video_device ); -+ break; -+ } -+ } -+ -+ fclose(f); -+ } -+ -+ -+// device = cvCaptureFromCAM( camdesc.number ); - - if (!device) - return 0; -@@ -361,7 +401,11 @@ - - - // config file feldolgozása -- FILE *f = fopen("configuration", "r"); -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/configuration", getenv("HOME")); -+ FILE *f = fopen(cfg_path, "r"); - - if ( !f ) - return 1; -@@ -591,7 +635,11 @@ - break; - - case SDLK_s: -- ScreenShot("screenshots/TestMode", ++screenshot, 0, 0, GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/TestMode", getenv("HOME")); -+ ScreenShot(cfg_path, ++screenshot, 0, 0, GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); - break; - default: ; - } -diff -Naur mytoy-se-1.0.0/ccore.h mytoy-se-1.0.0-home/ccore.h ---- mytoy-se-1.0.0/ccore.h 2005-02-21 21:16:18.000000000 +0100 -+++ mytoy-se-1.0.0-home/ccore.h 2009-11-24 12:32:21.000000000 +0100 -@@ -101,6 +101,8 @@ - int time_stamp_period; // időbélyeg - int vertical_mirror; // legyen-e vertikális/horizontális tükrözés - int horizontal_mirror; -+ int video_device; -+ - - public: - CCore(); -diff -Naur mytoy-se-1.0.0/ccrazy.cpp mytoy-se-1.0.0-home/ccrazy.cpp ---- mytoy-se-1.0.0/ccrazy.cpp 2008-06-13 18:59:26.000000000 +0200 -+++ mytoy-se-1.0.0-home/ccrazy.cpp 2009-11-24 12:30:45.000000000 +0100 -@@ -131,7 +131,11 @@ - break; - - case SDLK_s: -- CORE->ScreenShot( "screenshots/Crazy",++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/Crazy", getenv("HOME")); -+ CORE->ScreenShot( cfg_path,++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); - break; - - case SDLK_ESCAPE: -@@ -1427,8 +1431,12 @@ - switch ( event.key.keysym.sym ) { - - // screenshot -- case SDLK_s: -- CORE->ScreenShot("screenshots/Crazy",++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); -+ case SDLK_s: -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/Crazy", getenv("HOME")); -+ CORE->ScreenShot(cfg_path,++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); - break; - default: ; - } // switch -diff -Naur mytoy-se-1.0.0/cdogcatcher.cpp mytoy-se-1.0.0-home/cdogcatcher.cpp ---- mytoy-se-1.0.0/cdogcatcher.cpp 2008-06-13 19:04:29.000000000 +0200 -+++ mytoy-se-1.0.0-home/cdogcatcher.cpp 2009-11-24 12:30:45.000000000 +0100 -@@ -115,7 +115,11 @@ - break; - - case SDLK_s: -- CORE->ScreenShot( "screenshots/Dog",++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/Dog", getenv("HOME")); -+ CORE->ScreenShot( cfg_path,++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); - break; - - case SDLK_ESCAPE: -diff -Naur mytoy-se-1.0.0/cmenu.cpp mytoy-se-1.0.0-home/cmenu.cpp ---- mytoy-se-1.0.0/cmenu.cpp 2005-02-21 21:16:18.000000000 +0100 -+++ mytoy-se-1.0.0-home/cmenu.cpp 2009-11-24 12:30:45.000000000 +0100 -@@ -131,7 +131,11 @@ - - // képernyő mentése - case SDLK_s: -- CORE->ScreenShot( "screenshots/Menu",scrshotnr++,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/Menu", getenv("HOME")); -+ CORE->ScreenShot( cfg_path,scrshotnr++,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); - break; - - default: -diff -Naur mytoy-se-1.0.0/cmeteorfly.cpp mytoy-se-1.0.0-home/cmeteorfly.cpp ---- mytoy-se-1.0.0/cmeteorfly.cpp 2008-06-13 19:02:00.000000000 +0200 -+++ mytoy-se-1.0.0-home/cmeteorfly.cpp 2009-11-24 12:30:45.000000000 +0100 -@@ -130,7 +130,11 @@ - break; - - case SDLK_s: -- CORE->ScreenShot( "screenshots/Meteor",++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/Meteor", getenv("HOME")); -+ CORE->ScreenShot( cfg_path,++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); - break; - - case SDLK_ESCAPE: -diff -Naur mytoy-se-1.0.0/configuration mytoy-se-1.0.0-home/configuration ---- mytoy-se-1.0.0/configuration 2005-02-21 21:16:30.000000000 +0100 -+++ mytoy-se-1.0.0-home/configuration 2009-11-24 12:32:21.000000000 +0100 -@@ -12,3 +12,4 @@ - time_stamp_period=1000 - vertical_mirror=1 - horizontal_mirror=1 -+video_device=0 -diff -Naur mytoy-se-1.0.0/coreheaders.h mytoy-se-1.0.0-home/coreheaders.h ---- mytoy-se-1.0.0/coreheaders.h 2008-06-13 19:17:59.000000000 +0200 -+++ mytoy-se-1.0.0-home/coreheaders.h 2009-11-24 12:30:45.000000000 +0100 -@@ -32,6 +32,10 @@ - - */ - -+#include <stdlib.h> -+#include <fcntl.h> -+#include <unistd.h> -+ - #ifdef _WIN32 - #include <windows.h> - #endif -diff -Naur mytoy-se-1.0.0/cwindow.cpp mytoy-se-1.0.0-home/cwindow.cpp ---- mytoy-se-1.0.0/cwindow.cpp 2008-06-13 19:02:19.000000000 +0200 -+++ mytoy-se-1.0.0-home/cwindow.cpp 2009-11-24 12:30:45.000000000 +0100 -@@ -91,7 +91,11 @@ - break; - - case SDLK_s: -- CORE->ScreenShot( "screenshots/Window",++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); -+ char cfg_path[300]; -+ sprintf(cfg_path, "%s/.mytoyse", getenv("HOME")); -+ mkdir(cfg_path, 0755); -+ sprintf(cfg_path, "%s/.mytoyse/Window", getenv("HOME")); -+ CORE->ScreenShot( cfg_path,++scrshotnr,0,0,GL_SCREEN_WIDTH,GL_SCREEN_HEIGHT); - break; - - case SDLK_ESCAPE: -diff -Naur mytoy-se-1.0.0/mytoy_se.cpp mytoy-se-1.0.0-home/mytoy_se.cpp ---- mytoy-se-1.0.0/mytoy_se.cpp 2005-02-21 21:16:18.000000000 +0100 -+++ mytoy-se-1.0.0-home/mytoy_se.cpp 2009-11-24 12:32:21.000000000 +0100 -@@ -74,7 +74,7 @@ - } - - // 2. Core "inicializálása" -- if ( (started = GameCore->DetectCamera() ) ) { // Kamera detektálása -+// if ( (started = GameCore->DetectCamera() ) ) { // Kamera detektálása - - if ( (started = GameCore->CreateSDLGLWindow() ) ) { // SDLGL ablak létrehozása - -@@ -116,7 +116,7 @@ - // 3/b. Menu (játék) indítása - Menu->Start(); - } -- } -+// } - - // ha valmilyen okból (kameradetektálás, OpenGL ablak) nem sikerült elindítani a CORE-t - if ( !started ) diff --git a/games-arcade/mytoy-se/metadata.xml b/games-arcade/mytoy-se/metadata.xml deleted file mode 100644 index 5d0ede2..0000000 --- a/games-arcade/mytoy-se/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer> - <email>frostworks@gmx.de</email> - <name>Marcel Unbehaun</name> -</maintainer> -</pkgmetadata> diff --git a/games-arcade/mytoy-se/mytoy-se-1.0.0.ebuild b/games-arcade/mytoy-se/mytoy-se-1.0.0.ebuild deleted file mode 100644 index 463ffda..0000000 --- a/games-arcade/mytoy-se/mytoy-se-1.0.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: games-arcade/mytoy-se-1.0.0,v 0.5 2008/06/13 18:00:00 frostwork Exp $ - -inherit eutils games - -DESCRIPTION="Goldberg's EyeToy clone with several sub-games" -HOMEPAGE="http://www.happypenguin.org/show?MyToy" -SRC_URI="http://frostworx.de/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -RDEPEND="media-libs/libsdl - media-libs/opencv - media-libs/mesa - media-libs/sdl-image - media-libs/sdl-mixer" -DEPEND="${RDEPEND}" - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/${P}-homeandvideo.patch - epatch "${FILESDIR}"/${P}-best.patch - sed -i \ - -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i ${P}/ccore.cpp \ - -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i ${P}/cmeteorfly.cpp \ - -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i ${P}/ccrazy.cpp \ - -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i ${P}/cdogcatcher.cpp \ - -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i ${P}/cwindow.cpp \ - -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i ${P}/cmenu.cpp \ - -e 's:"\(data/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i ${P}/cintro.cpp \ - || die "sed failed" -} - -src_compile() { - emake MORE_CFLAGS="${CFLAGS}" || die "emake failed" -} - -src_install() { - dogamesbin ${PN} - dodir "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}" - insinto "${GAMES_DATADIR}/${PN}" - doins -r data || die - dodoc configuration || die - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - ewarn "For the first run you need to extract /usr/share/doc/mytoy-se-1.0.0/configuration.bz2" - ewarn "into ~/.mytoy-se/" - elog "The author Goldberg no longer has time to maintain this game" - elog "Would be great to see further new development on this" -} |