commit:     4083da268d0b225ec5c0dc4cf6953a74fe33c3f7
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Feb 28 22:04:44 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri Feb 28 22:06:00 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=4083da26

games-arcade/megamario: remove package

Unbuildable, deprecated eclass.
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 games-arcade/megamario/files/1.6-gcc43.patch   | 23 ------------
 games-arcade/megamario/files/1.6-hqmusic.patch | 24 ------------
 games-arcade/megamario/files/1.6-logpath.patch | 12 ------
 games-arcade/megamario/megamario-1.6.ebuild    | 51 --------------------------
 4 files changed, 110 deletions(-)

diff --git a/games-arcade/megamario/files/1.6-gcc43.patch 
b/games-arcade/megamario/files/1.6-gcc43.patch
deleted file mode 100644
index 2aa1d84..0000000
--- a/games-arcade/megamario/files/1.6-gcc43.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -Naur src/global.cpp src-p/global.cpp
---- src/global.cpp     2007-03-07 10:34:56.000000000 +0100
-+++ src-p/global.cpp   2009-08-21 15:00:08.000000000 +0200
-@@ -9,6 +9,7 @@
- 
- #include "Global.h"
- #include "unixutils.h"
-+#include <limits.h>
- 
- 
- 
-diff -Naur src/levels.h src-p/levels.h
---- src/levels.h       2007-03-07 10:35:04.000000000 +0100
-+++ src-p/levels.h     2009-08-21 15:00:34.000000000 +0200
-@@ -8,7 +8,7 @@
- 
- #ifndef __LEVELS_H__
- #define __LEVELS_H__
--
-+#include <limits.h>
- 
- class cScene
- {

diff --git a/games-arcade/megamario/files/1.6-hqmusic.patch 
b/games-arcade/megamario/files/1.6-hqmusic.patch
deleted file mode 100644
index f10a834..0000000
--- a/games-arcade/megamario/files/1.6-hqmusic.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur src/functions.cpp src-p/functions.cpp
---- src/functions.cpp  2007-03-07 10:34:56.000000000 +0100
-+++ src-p/functions.cpp        2009-08-21 16:17:42.000000000 +0200
-@@ -447,7 +447,7 @@
-       }
-       else
-       {
--              sprintf(tmp, "mp3music/%s",filename);
-+              sprintf(tmp, DATADIR "mp3music/%s",filename);
-               tmp[strlen(tmp)-3]='m';
-               tmp[strlen(tmp)-2]='p';
-               tmp[strlen(tmp)-1]='3';
-diff -Naur src/main.cpp src-p/main.cpp
---- src/main.cpp       2007-03-07 10:35:04.000000000 +0100
-+++ src-p/main.cpp     2009-08-21 16:18:09.000000000 +0200
-@@ -413,7 +413,7 @@
- 
- 
- fstream fin;
--fin.open("mp3music/music_available.dat",ios::in);
-+fin.open( DATADIR "mp3music/music_available.dat",ios::in);
- if( fin.is_open() )
- {
-       HighQualityMusicFound=1;

diff --git a/games-arcade/megamario/files/1.6-logpath.patch 
b/games-arcade/megamario/files/1.6-logpath.patch
deleted file mode 100644
index ac6c5e0..0000000
--- a/games-arcade/megamario/files/1.6-logpath.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur src/main.cpp src-p/main.cpp
---- src/main.cpp       2007-03-07 10:35:04.000000000 +0100
-+++ src-p/main.cpp     2009-08-21 16:22:38.000000000 +0200
-@@ -61,7 +61,7 @@
- 
- #endif /* defined __unix__ */
- 
--      out_logfile.open ("log.txt");
-+      out_logfile.open ("%s/.megamario/log.txt");
- 
-       dictionary * d = iniparser_new(szIniFile);
-       pixelation = iniparser_getboolean (d, "Mario:Pixelation", 1);

diff --git a/games-arcade/megamario/megamario-1.6.ebuild 
b/games-arcade/megamario/megamario-1.6.ebuild
deleted file mode 100644
index e8ba586..0000000
--- a/games-arcade/megamario/megamario-1.6.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit games
-
-MY_PN=MegaMario
-
-DESCRIPTION="Mario remake"
-HOMEPAGE="http://mmario.sourceforge.net/";
-SRC_URI="mirror://sourceforge/mmario/${MY_PN}_v${PV}c_full.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-RDEPEND="media-libs/libsdl
-       media-libs/mesa
-       media-libs/sdl-ttf
-       media-libs/sdl-image
-       media-libs/sdl-mixer"
-DEPEND="${RDEPEND}"
-
-src_prepare(){
-       epatch "${FILESDIR}"/${PV}-gcc43.patch
-       epatch "${FILESDIR}"/${PV}-hqmusic.patch
-       epatch "${FILESDIR}"/${PV}-logpath.patch
-        sed -s \
-           -e 's/\/home\/opt/${GAMES_DATADIR}/g' -i Makefile \
-           -e 's/\/share//g' -i Makefile \
-               || die "sed failed"
-}
-
-src_install() {
-       local datadir="${GAMES_DATADIR}"/${PN}
-       dogamesbin ${PN}
-       chmod 755 ${WORKDIR}/data/gfx/tiles/pipes/left
-       for i in `find ${WORKDIR}/data -name "*.PNG"`; do \
-               mv $i `echo $i|sed s/PNG/png/`; \
-       done
-       for i in `find ${WORKDIR}/data -name "*.JPG"`; do \
-               mv $i `echo $i|sed s/JPG/jpg/`; \
-       done
-       insinto "${datadir}"
-       doins -r data/* mp3music  || die "data install failed"
-       doicon ${PN}.png
-       domenu ${PN}.desktop
-}

Reply via email to