summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-arcade/supertux
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-arcade/supertux')
-rw-r--r--games-arcade/supertux/Manifest1
-rw-r--r--games-arcade/supertux/files/supertux-0.1.3-desktop.patch21
-rw-r--r--games-arcade/supertux/files/supertux-0.1.3-gcc41.patch12
-rw-r--r--games-arcade/supertux/files/supertux-0.1.3-ndebug.patch16
-rw-r--r--games-arcade/supertux/metadata.xml5
-rw-r--r--games-arcade/supertux/supertux-0.1.3.ebuild43
6 files changed, 98 insertions, 0 deletions
diff --git a/games-arcade/supertux/Manifest b/games-arcade/supertux/Manifest
new file mode 100644
index 000000000000..f487be04d720
--- /dev/null
+++ b/games-arcade/supertux/Manifest
@@ -0,0 +1 @@
+DIST supertux-0.1.3.tar.bz2 6715265 SHA256 0092588351776626955339caaa62d12ce5954bb80c5f6952f60a122f53c2ad97 SHA512 75848583f9f9b9d0f36fec77812501875420fde8befe1ff9ac4ea7613f4d9464b2eb460c2ed89b4dc31e697fbb449a5431c72675e2820d13f5c42653dc07ad98 WHIRLPOOL bb8998845bee7f33a7aff94109d9767d000c89df6c670a1ccb85c4e9158a8ce6c4064f89587b9ea40d9ba1a854b9f5bba82ccc7dcac6dedcdb337cfaa1777898
diff --git a/games-arcade/supertux/files/supertux-0.1.3-desktop.patch b/games-arcade/supertux/files/supertux-0.1.3-desktop.patch
new file mode 100644
index 000000000000..440881dc25f8
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.1.3-desktop.patch
@@ -0,0 +1,21 @@
+--- supertux.desktop.orig 2010-11-07 23:29:26.058571005 -0500
++++ supertux.desktop 2010-11-07 23:30:09.457350053 -0500
+@@ -1,7 +1,6 @@
+ [Desktop Entry]
+ Type=Application
+ Version=1.0
+-Encoding=UTF-8
+ Name=SuperTux
+ Name[en]=SuperTux
+ Name[de]=SuperTux
+@@ -14,8 +13,8 @@
+ Comment[en]=A Super Mario inspired penguin platform game
+ Comment[de]=Ein von Super Mario inspiriertes Pinguin Jump&Run Spiel
+ Comment[cs]=Plošinovka inspirovaná SuperMariem s tučňákem Tuxem v hlavní roli
+-Icon=supertux.png
++Icon=supertux
+ Exec=supertux
+ Terminal=false
+ StartupNotify=false
+-Categories=Application;Game;ArcadeGame
++Categories=Game;ArcadeGame;
diff --git a/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch b/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch
new file mode 100644
index 000000000000..5bcf53704fab
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch
@@ -0,0 +1,12 @@
+diff -uNr supertux-0.1.3.orig/src/menu.h supertux-0.1.3/src/menu.h
+--- supertux-0.1.3.orig/src/menu.h 2005-06-21 23:16:07.000000000 +0200
++++ supertux-0.1.3/src/menu.h 2006-03-19 15:49:55.277266712 +0100
+@@ -207,7 +207,7 @@
+
+ bool isToggled(int id);
+
+- void Menu::get_controlfield_key_into_input(MenuItem *item);
++ void get_controlfield_key_into_input(MenuItem *item);
+
+ void draw ();
+ void draw_item(int index, int menu_width, int menu_height);
diff --git a/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch b/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch
new file mode 100644
index 000000000000..3a302d5ecf5a
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch
@@ -0,0 +1,16 @@
+Index: supertux-0.1.3/src/tile.cpp
+===================================================================
+--- supertux-0.1.3.orig/src/tile.cpp
++++ supertux-0.1.3/src/tile.cpp
+@@ -99,7 +99,11 @@ void TileManager::load_tileset(std::stri
+ tile->anim_speed = 25;
+
+ LispReader reader(lisp_cdr(element));
++ #ifdef NDEBUG
++ void(reader.read_int("id", &tile->id));
++ #else
+ assert(reader.read_int("id", &tile->id));
++ #endif
+ reader.read_bool("solid", &tile->solid);
+ reader.read_bool("brick", &tile->brick);
+ reader.read_bool("ice", &tile->ice);
diff --git a/games-arcade/supertux/metadata.xml b/games-arcade/supertux/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/supertux/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-arcade/supertux/supertux-0.1.3.ebuild b/games-arcade/supertux/supertux-0.1.3.ebuild
new file mode 100644
index 000000000000..632c953c1182
--- /dev/null
+++ b/games-arcade/supertux/supertux-0.1.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A game similar to Super Mario Bros"
+HOMEPAGE="http://super-tux.sourceforge.net"
+SRC_URI="https://supertux.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
+IUSE="opengl"
+
+DEPEND="media-libs/libsdl[joystick]
+ media-libs/sdl-image[png,jpeg]
+ media-libs/sdl-mixer[mod,vorbis]
+ x11-libs/libXt"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc41.patch \
+ "${FILESDIR}"/${P}-ndebug.patch \
+ "${FILESDIR}"/${P}-desktop.patch
+}
+
+src_configure() {
+ egamesconf \
+ --disable-debug \
+ $(use_enable opengl)
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ desktopdir=/usr/share/applications \
+ icondir=/usr/share/pixmaps \
+ install
+ dodoc AUTHORS ChangeLog LEVELDESIGN README TODO
+ prepgamesdirs
+}