diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-02-29 02:04:30 +0300 |
---|---|---|
committer | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-02-29 02:04:30 +0300 |
commit | 9c9a028994d8605df81c14d1fc3335ea5b57de26 (patch) | |
tree | 6deb16fe9e47cad364144bef56aae6ef1ba5257b | |
parent | games-arcade/gannatsu: remove package (diff) | |
download | gamerlay-9c9a028994d8605df81c14d1fc3335ea5b57de26.tar.gz gamerlay-9c9a028994d8605df81c14d1fc3335ea5b57de26.tar.bz2 gamerlay-9c9a028994d8605df81c14d1fc3335ea5b57de26.zip |
games-arcade/atomorun2008: remove package
Deprecated eclass.
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
-rw-r--r-- | games-arcade/atomorun2008/Manifest | 21 | ||||
-rw-r--r-- | games-arcade/atomorun2008/atomorun2008-1.0.ebuild | 65 | ||||
-rw-r--r-- | games-arcade/atomorun2008/files/atomorun2008-1.0-homedir.diff | 91 | ||||
-rwxr-xr-x | games-arcade/atomorun2008/files/atomorun2008.png | bin | 4003 -> 0 bytes | |||
-rw-r--r-- | games-arcade/atomorun2008/metadata.xml | 8 |
5 files changed, 0 insertions, 185 deletions
diff --git a/games-arcade/atomorun2008/Manifest b/games-arcade/atomorun2008/Manifest deleted file mode 100644 index 4cb3533..0000000 --- a/games-arcade/atomorun2008/Manifest +++ /dev/null @@ -1,21 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -DIST atomorun2008-1.0.tar.bz2 6874942 SHA256 2fb660cf062f15fdd90143af223246d6729c1528a08121d23e1ba73a79c7ba3a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAEBCAAGBQJQlghcAAoJECZQPTSbOzNLpJUP/iVYJexaGzvnoq/Q4suB+k3g -u3TOzs/MEP3nQ6zTvFZvtQue4l0T3XxKTIYwtksR5mnlvkNzoW4kzGcEn6rzSM/H -j4aglEOefBxUPTt/+ErhJ8dk52vndDwQjfNYXYAV4f/ZqLGoZ4qIjxkxyq6A4Q5a -jiI+RC5t+AtOASJqGw5XYk+wzkR9+oa2fdboYuNlx/0OeIQCcJIXG/oTb+8IELkQ -Dv37CLFmyQwa0BD6IJYxcdTzyLuiqbuuVyXiUcyGLL80A3Zz1epOXlxr+vguelc6 -hM0snUXradm/rkn4lB3X8bc7LazIRmXcf3hY4w4/kzUwiAT/UAXA4Gv+2w09IlFw -DqDBi6HtWntWmYlMTMfphFiN7gA0lbJb5s/1GA89EKRH1S1oWqlfMWHolsCKLuwE -xFMeyYAyQc6xSm/XTK5dxcchyHPXcjJnXp/j9ImU0G33VhFA4A3+5Zc+QZmky+uQ -M72yQq+wmiE34HZQNYHgy782DwYJg2qlnm8T+FxVKenDpKp5guxNGqjJ+MPfjUhf -QZPDg/CRqfGA12yBdmBGTGyANv4/Fp5Z0ZdWrICuEgVy2J61EDidaZk6azFjljpD -EYGLpePXqh2NUZWQPfSY6arbXWOoVvW3r1JVkJES+fSLVXCOLFCrZrkpXOgWr1V8 -8oUEHqIHHsR5q5VgyjIL -=FOew ------END PGP SIGNATURE----- diff --git a/games-arcade/atomorun2008/atomorun2008-1.0.ebuild b/games-arcade/atomorun2008/atomorun2008-1.0.ebuild deleted file mode 100644 index 515c1f2..0000000 --- a/games-arcade/atomorun2008/atomorun2008-1.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit d-games - -DESCRIPTION="Matthias Thurau's great OpenGL 3D platform-game Atomorun2008" -HOMEPAGE="http://atomorun2008.whosme.de/" -SRC_URI="http://atomorun2008.whosme.de/${PN}-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc ~x86" -IUSE="" - -RDEPEND="media-libs/libsdl - media-libs/mesa - media-libs/sdl-mixer" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_PN} - -src_unpack(){ - unpack ${A} -} - -src_prepare(){ - cd "${S}/${PN}-${PV}" - epatch ${FILESDIR}/"${P}-homedir.diff" - for i in `find src -name *.d`; do sed -i "$i" -e "s:resources/:"${GAMES_DATADIR}"/"${PN}"/resources/:g"; done - cd resources - for i in `find heightmaps -name *.txt`; do sed -i "$i" -e "s:resources/:"${GAMES_DATADIR}"/"${PN}"/resources/:g"; done - for i in `find lvls -name *.txt`; do sed -i "$i" -e "s:resources/:"${GAMES_DATADIR}"/"${PN}"/resources/:g"; done - for i in `find meshes -name *.zms`; do sed -i "$i" -e "s:resources/:"${GAMES_DATADIR}"/"${PN}"/resources/:g"; done - for i in `find meshes -name *.py`; do sed -i "$i" -e "s:resources/:"${GAMES_DATADIR}"/"${PN}"/resources/:g"; done -} - -src_compile() { - cd "${S}/${PN}-${PV}" - emake || die -} - -src_install() { - cd "${S}/${PN}-${PV}" - dogamesbin ${PN} - - local datadir="${GAMES_DATADIR}"/"${PN}" - dodir ${datadir} - insinto "${GAMES_DATADIR}"/"${PN}" - doins -r resources || die - - insinto "${GAMES_SYSCONFDIR}"/"${PN}" - doins resources/config.cfg || die "doins config.cfg failed" - - newicon "${FILESDIR}"/"${PN}.png" "${PN}.png" - make_desktop_entry "${PN}" "${PN}" - dodoc README* - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst -} diff --git a/games-arcade/atomorun2008/files/atomorun2008-1.0-homedir.diff b/games-arcade/atomorun2008/files/atomorun2008-1.0-homedir.diff deleted file mode 100644 index b04ee58..0000000 --- a/games-arcade/atomorun2008/files/atomorun2008-1.0-homedir.diff +++ /dev/null @@ -1,91 +0,0 @@ -diff -Naur atomorun2008-1.0/src/application.d atomorun2008-1.0-p/src/application.d ---- atomorun2008-1.0/src/application.d 2008-03-13 16:33:20.000000000 +0100 -+++ atomorun2008-1.0-p/src/application.d 2009-08-28 18:16:49.000000000 +0200 -@@ -24,6 +24,8 @@ -
- import std.stdio;
- import std.stream;
-+import std.c.stdlib;
-+import std.string;
-
- class Application : Task, ActionListener {
- public:
-@@ -138,17 +140,28 @@ - };
- };
-
-+
-+ static const char[] PREF_FILE = ".atomorun2008/savegame";
-+
-+public char[] pref_file() {
-+ char * home = getenv("HOME");
-+ if (home is null)
-+ throw new Error("HOME environment variable is not defined");
-+ return std.string.toString(home) ~ "/" ~ PREF_FILE;
-+ }
-+
-+
- private:
- void addPrize(int p) {
- File savegame = new File();
-- savegame.open("resources/savegame", FileMode.In);
-+ savegame.open(pref_file(), FileMode.In);
- int[] savegameData;
- while (!savegame.eof) {
- savegameData ~= 0;
- savegame.readf(&savegameData[length-1]);
- };
- savegame.close();
-- savegame.open("resources/savegame", FileMode.Out);
-+ savegame.open(pref_file(), FileMode.Out);
- if (p>savegameData[0] && attribute == "resources/lvls/lvl1.txt") savegame.writef(p, " ");
- else savegame.writef(savegameData[0], " ");
- if (p>savegameData[1] && attribute == "resources/lvls/lvl2.txt") savegame.writef(p, " ");
-diff -Naur atomorun2008-1.0/src/dengine.d atomorun2008-1.0-p/src/dengine.d ---- atomorun2008-1.0/src/dengine.d 2008-03-11 11:44:54.000000000 +0100 -+++ atomorun2008-1.0-p/src/dengine.d 2009-08-28 18:17:09.000000000 +0200 -@@ -12,7 +12,7 @@ -
- class DEngine : Task {
- void init() {
-- Config.load("resources/config.cfg");
-+ Config.load("/etc/games/atomorun2008/config.cfg");
-
- myTasks ~= Window.getInstance();
- myTasks ~= Input.getInstance();
-diff -Naur atomorun2008-1.0/src/menuelvl.d atomorun2008-1.0-p/src/menuelvl.d ---- atomorun2008-1.0/src/menuelvl.d 2008-03-13 16:35:20.000000000 +0100 -+++ atomorun2008-1.0-p/src/menuelvl.d 2009-08-28 18:18:20.000000000 +0200 -@@ -16,11 +16,23 @@ - import texture2d;
-
- import std.stream;
-+import std.c.stdlib;
-+import std.string;
-
- import std.stdio;
-
- class MenueLVL : MenueImpl {
- public:
-+
-+ static const char[] PREF_FILE = ".atomorun2008/savegame";
-+
-+public char[] pref_file() {
-+ char * home = getenv("HOME");
-+ if (home is null)
-+ throw new Error("HOME environment variable is not defined");
-+ return std.string.toString(home) ~ "/" ~ PREF_FILE;
-+ }
-+
- override void init(Menue theMenue) {
- myButtons.length = 1;
- myButtons[0] = new Button;
-@@ -57,7 +69,7 @@ - myImageButtons[6].addActionListener(theMenue, "Game", "resources/lvls/lvl3b.txt");
-
- File hm = new File();
-- hm.open("resources/savegame", FileMode.In);
-+ hm.open(pref_file(), FileMode.In);
- int data;
- while (!hm.eof) {
- hm.readf(&data);
diff --git a/games-arcade/atomorun2008/files/atomorun2008.png b/games-arcade/atomorun2008/files/atomorun2008.png Binary files differdeleted file mode 100755 index ce18ef9..0000000 --- a/games-arcade/atomorun2008/files/atomorun2008.png +++ /dev/null diff --git a/games-arcade/atomorun2008/metadata.xml b/games-arcade/atomorun2008/metadata.xml deleted file mode 100644 index 1811bf7..0000000 --- a/games-arcade/atomorun2008/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 type="person"> - <email>frostworks@gmx.de</email> - <name>Marcel Unbehaun</name> -</maintainer> -</pkgmetadata> |