1 |
commit: e081c86b86aacfe2d69d2b2aae7ed01ba37cf5a7 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 28 23:00:04 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Fri Feb 28 23:00:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=e081c86b |
7 |
|
8 |
games-arcade/smw: remove package |
9 |
|
10 |
Unavailable sources, deprecated eclass. |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
|
13 |
games-arcade/smw/files/smw-1.7-gcc43.patch | 25 ----------- |
14 |
games-arcade/smw/files/smw-1.7-makefile.patch | 11 ----- |
15 |
games-arcade/smw/metadata.xml | 11 ----- |
16 |
games-arcade/smw/smw-1.7.ebuild | 64 --------------------------- |
17 |
4 files changed, 111 deletions(-) |
18 |
|
19 |
diff --git a/games-arcade/smw/files/smw-1.7-gcc43.patch b/games-arcade/smw/files/smw-1.7-gcc43.patch |
20 |
deleted file mode 100644 |
21 |
index 8ea1b4d..0000000 |
22 |
--- a/games-arcade/smw/files/smw-1.7-gcc43.patch |
23 |
+++ /dev/null |
24 |
@@ -1,25 +0,0 @@ |
25 |
-diff -Naur smw1.7/_src/leveleditor.cpp smw1.7/_src-p/leveleditor.cpp |
26 |
---- smw1.7/_src/leveleditor.cpp 2007-12-29 21:54:50.000000000 +0100 |
27 |
-+++ smw1.7/_src-p/leveleditor.cpp 2009-09-01 13:25:38.000000000 +0200 |
28 |
-@@ -454,8 +454,8 @@ |
29 |
- done = true; |
30 |
- } |
31 |
- |
32 |
-- if(event.key.keysym.sym == SDLK_INSERT) |
33 |
-- takescreenshot(); |
34 |
-+ // if(event.key.keysym.sym == SDLK_INSERT) |
35 |
-+ // takescreenshot(); |
36 |
- |
37 |
- if(event.key.keysym.sym == SDLK_t) |
38 |
- return EDITOR_TILES; |
39 |
-diff -Naur smw1.7/_src/path.cpp smw1.7/_src-p/path.cpp |
40 |
---- smw1.7/_src/path.cpp 2007-12-29 21:54:50.000000000 +0100 |
41 |
-+++ smw1.7/_src-p/path.cpp 2009-09-01 13:22:25.000000000 +0200 |
42 |
-@@ -1,6 +1,7 @@ |
43 |
- #include <string> |
44 |
- #include <iostream> |
45 |
- #include <sys/stat.h> |
46 |
-+#include <cstring> |
47 |
- |
48 |
- #ifdef _WIN32 |
49 |
- #ifndef _XBOX |
50 |
|
51 |
diff --git a/games-arcade/smw/files/smw-1.7-makefile.patch b/games-arcade/smw/files/smw-1.7-makefile.patch |
52 |
deleted file mode 100644 |
53 |
index 08c1b76..0000000 |
54 |
--- a/games-arcade/smw/files/smw-1.7-makefile.patch |
55 |
+++ /dev/null |
56 |
@@ -1,11 +0,0 @@ |
57 |
-diff -Naur smw1.7/Makefile smw1.7-p/Makefile |
58 |
---- smw1.7/Makefile 2007-12-29 21:56:04.000000000 +0100 |
59 |
-+++ smw1.7-p/Makefile 2009-09-01 14:33:55.000000000 +0200 |
60 |
-@@ -62,7 +62,6 @@ |
61 |
- rm -rf $(DESTDIR)/usr/share/smw/*/*/.cvsignore |
62 |
- rm -rf $(DESTDIR)/usr/share/smw/*/*/*/.cvsignore |
63 |
- rm -rf $(DESTDIR)/usr/share/smw/*/*/*/*/.cvsignore |
64 |
-- chmod a+w $(DESTDIR)/usr/share/smw/maps -R |
65 |
- |
66 |
- install-bin : all |
67 |
- #assume DESTDIR is the prefix for installing |
68 |
|
69 |
diff --git a/games-arcade/smw/metadata.xml b/games-arcade/smw/metadata.xml |
70 |
deleted file mode 100644 |
71 |
index cdcf202..0000000 |
72 |
--- a/games-arcade/smw/metadata.xml |
73 |
+++ /dev/null |
74 |
@@ -1,11 +0,0 @@ |
75 |
-<?xml version="1.0" encoding="UTF-8"?> |
76 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
77 |
-<pkgmetadata> |
78 |
-<maintainer type="person"> |
79 |
- <email>frostworks@×××.de</email> |
80 |
- <name>Marcel Unbehaun</name> |
81 |
-</maintainer> |
82 |
-<use> |
83 |
- <flag name="editor">useflag for the optional leveleditor</flag> |
84 |
-</use> |
85 |
-</pkgmetadata> |
86 |
|
87 |
diff --git a/games-arcade/smw/smw-1.7.ebuild b/games-arcade/smw/smw-1.7.ebuild |
88 |
deleted file mode 100644 |
89 |
index 6189280..0000000 |
90 |
--- a/games-arcade/smw/smw-1.7.ebuild |
91 |
+++ /dev/null |
92 |
@@ -1,64 +0,0 @@ |
93 |
-# Copyright 1999-2009 Gentoo Foundation |
94 |
-# Distributed under the terms of the GNU General Public License v2 |
95 |
-# $Header: $ |
96 |
- |
97 |
-EAPI="2" |
98 |
- |
99 |
-inherit games |
100 |
- |
101 |
-DESCRIPTION="Super Mario War is a Super Mario multiplayer game." |
102 |
-HOMEPAGE="http://smw.72dpiarmy.com" |
103 |
-SRC_URI="http://www.fileden.com/files/2007/9/11/1425938/${PN}-${PV}-src.zip" |
104 |
- |
105 |
-LICENSE="GPL-2" |
106 |
-SLOT="0" |
107 |
-KEYWORDS="~x86" |
108 |
-IUSE="editor" |
109 |
- |
110 |
-RDEPEND="media-libs/sdl-mixer |
111 |
- media-libs/sdl-image" |
112 |
-DEPEND="${RDEPEND}" |
113 |
- |
114 |
-S="${WORKDIR}/${PN}${PV}" |
115 |
- |
116 |
-src_prepare(){ |
117 |
- epatch "${FILESDIR}"/${P}-gcc43.patch |
118 |
- epatch "${FILESDIR}"/${P}-makefile.patch |
119 |
- chmod +x configure |
120 |
- dos2unix configure |
121 |
- sed -s \ |
122 |
- -e 's/\-lSDL_mixer/-lSDL_mixer -lpng/g' -i configure \ |
123 |
- -e 's/\/usr\/share/${GAMES_DATADIR}/g' -i configure \ |
124 |
- -e 's/$(DESTDIR)\/usr\/share\/smw/${GAMES_DATADIR}/g' -i Makefile \ |
125 |
- || die "sed failed" |
126 |
-} |
127 |
- |
128 |
-src_configure() { |
129 |
- econf || die "Configuration failed!" |
130 |
-} |
131 |
- |
132 |
-src_compile() { |
133 |
- |
134 |
- emake smw || die "Make failed!" |
135 |
- if use editor; then |
136 |
- emake leveledit || die "Make editor failed!" |
137 |
- fi |
138 |
-} |
139 |
- |
140 |
-src_install() { |
141 |
- dogamesbin ${PN} |
142 |
- if use editor; then |
143 |
- mv leveledit ${PN}-leveledit |
144 |
- dogamesbin ${PN}-leveledit |
145 |
- fi |
146 |
- local datadir="${GAMES_DATADIR}"/"${PN}" |
147 |
- dodir ${datadir} |
148 |
- insinto "${GAMES_DATADIR}"/"${PN}" |
149 |
- doins -r sfx gfx music maps tours || die |
150 |
- make_desktop_entry "${PN}" "${PN}" |
151 |
- prepgamesdirs |
152 |
-} |
153 |
- |
154 |
-pkg_postinst() { |
155 |
- games_pkg_postinst |
156 |
-} |