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

games-arcade/smw: remove package

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

 games-arcade/smw/files/smw-1.7-gcc43.patch    | 25 -----------
 games-arcade/smw/files/smw-1.7-makefile.patch | 11 -----
 games-arcade/smw/metadata.xml                 | 11 -----
 games-arcade/smw/smw-1.7.ebuild               | 64 ---------------------------
 4 files changed, 111 deletions(-)

diff --git a/games-arcade/smw/files/smw-1.7-gcc43.patch 
b/games-arcade/smw/files/smw-1.7-gcc43.patch
deleted file mode 100644
index 8ea1b4d..0000000
--- a/games-arcade/smw/files/smw-1.7-gcc43.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -Naur smw1.7/_src/leveleditor.cpp smw1.7/_src-p/leveleditor.cpp
---- smw1.7/_src/leveleditor.cpp        2007-12-29 21:54:50.000000000 +0100
-+++ smw1.7/_src-p/leveleditor.cpp      2009-09-01 13:25:38.000000000 +0200
-@@ -454,8 +454,8 @@
-                                                       done = true;
-                                       }
- 
--                                      if(event.key.keysym.sym == SDLK_INSERT)
--                                              takescreenshot();
-+                      //              if(event.key.keysym.sym == SDLK_INSERT)
-+                      //                      takescreenshot();
- 
-                                       if(event.key.keysym.sym == SDLK_t)
-                                               return EDITOR_TILES;
-diff -Naur smw1.7/_src/path.cpp smw1.7/_src-p/path.cpp
---- smw1.7/_src/path.cpp       2007-12-29 21:54:50.000000000 +0100
-+++ smw1.7/_src-p/path.cpp     2009-09-01 13:22:25.000000000 +0200
-@@ -1,6 +1,7 @@
- #include <string>
- #include <iostream>
- #include <sys/stat.h>
-+#include <cstring>
- 
- #ifdef _WIN32
-       #ifndef _XBOX

diff --git a/games-arcade/smw/files/smw-1.7-makefile.patch 
b/games-arcade/smw/files/smw-1.7-makefile.patch
deleted file mode 100644
index 08c1b76..0000000
--- a/games-arcade/smw/files/smw-1.7-makefile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur smw1.7/Makefile smw1.7-p/Makefile
---- smw1.7/Makefile    2007-12-29 21:56:04.000000000 +0100
-+++ smw1.7-p/Makefile  2009-09-01 14:33:55.000000000 +0200
-@@ -62,7 +62,6 @@
-       rm -rf $(DESTDIR)/usr/share/smw/*/*/.cvsignore
-       rm -rf $(DESTDIR)/usr/share/smw/*/*/*/.cvsignore
-       rm -rf $(DESTDIR)/usr/share/smw/*/*/*/*/.cvsignore
--      chmod a+w $(DESTDIR)/usr/share/smw/maps -R
- 
- install-bin : all
-       #assume DESTDIR is the prefix for installing

diff --git a/games-arcade/smw/metadata.xml b/games-arcade/smw/metadata.xml
deleted file mode 100644
index cdcf202..0000000
--- a/games-arcade/smw/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<maintainer type="person">
-  <email>frostwo...@gmx.de</email>
-  <name>Marcel Unbehaun</name>
-</maintainer>
-<use>
-  <flag name="editor">useflag for the optional leveleditor</flag>
-</use>
-</pkgmetadata>

diff --git a/games-arcade/smw/smw-1.7.ebuild b/games-arcade/smw/smw-1.7.ebuild
deleted file mode 100644
index 6189280..0000000
--- a/games-arcade/smw/smw-1.7.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit games
-
-DESCRIPTION="Super Mario War is a Super Mario multiplayer game."
-HOMEPAGE="http://smw.72dpiarmy.com";
-SRC_URI="http://www.fileden.com/files/2007/9/11/1425938/${PN}-${PV}-src.zip";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="editor"
-
-RDEPEND="media-libs/sdl-mixer
-       media-libs/sdl-image"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}${PV}"
-
-src_prepare(){
-       epatch "${FILESDIR}"/${P}-gcc43.patch
-       epatch "${FILESDIR}"/${P}-makefile.patch
-       chmod +x configure
-       dos2unix configure
-       sed -s \
-       -e 's/\-lSDL_mixer/-lSDL_mixer -lpng/g' -i configure \
-       -e 's/\/usr\/share/${GAMES_DATADIR}/g' -i configure \
-       -e 's/$(DESTDIR)\/usr\/share\/smw/${GAMES_DATADIR}/g' -i Makefile \
-       || die "sed failed"
-}
-
-src_configure() {
-       econf || die "Configuration failed!"
-}
-
-src_compile() {
-
-       emake smw || die "Make failed!"
-       if use editor; then
-       emake leveledit || die "Make editor failed!"
-       fi
-}
-
-src_install() {
-       dogamesbin ${PN}
-       if use editor; then
-       mv leveledit ${PN}-leveledit
-       dogamesbin ${PN}-leveledit
-       fi
-       local datadir="${GAMES_DATADIR}"/"${PN}"
-       dodir ${datadir}
-       insinto "${GAMES_DATADIR}"/"${PN}"
-       doins -r sfx gfx music maps tours || die
-       make_desktop_entry "${PN}" "${PN}"
-       prepgamesdirs
-}
-
-pkg_postinst() {
-       games_pkg_postinst
-}

Reply via email to