summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-06-26 16:43:45 +0200
committerChristoph Mende <angelos@gentoo.org>2011-06-26 16:43:45 +0200
commit725163e0e8238fa9e5f841d96f275fef555d01cd (patch)
tree1e751149af9d7bf03f0c3a5de28a7701fd38db95
parentvimpc: Update live ebuild (diff)
downloadangelos-725163e0e8238fa9e5f841d96f275fef555d01cd.tar.gz
angelos-725163e0e8238fa9e5f841d96f275fef555d01cd.tar.bz2
angelos-725163e0e8238fa9e5f841d96f275fef555d01cd.zip
supertux: Initial import
(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 84F20B43)
-rw-r--r--games-arcade/supertux/Manifest15
-rw-r--r--games-arcade/supertux/files/supertux-0.3.3-desktop.patch21
-rw-r--r--games-arcade/supertux/files/supertux-0.3.3-gcc46.patch12
-rw-r--r--games-arcade/supertux/metadata.xml5
-rw-r--r--games-arcade/supertux/supertux-0.3.3.ebuild39
5 files changed, 92 insertions, 0 deletions
diff --git a/games-arcade/supertux/Manifest b/games-arcade/supertux/Manifest
new file mode 100644
index 0000000..4833c6f
--- /dev/null
+++ b/games-arcade/supertux/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX supertux-0.3.3-desktop.patch 637 RMD160 27b22c48ea9e5db7f30b6a96fbd2e8295cc17373 SHA1 0a1638f2b2bc21d308726f95c0aaf153e4c8beba SHA256 30df661b2640ea068c1d6c6ea663dcdf78e66e4e03533fae42cfe4ad766ac257
+AUX supertux-0.3.3-gcc46.patch 379 RMD160 8dd2f8ef71363a8fb2d757b092c7e59e246c4084 SHA1 e4ebac676ba572e200c58c00ec25a8fbf7cc39b5 SHA256 d791628713b6482657c8f082aa73232edc8b5f0452b70f67c7a7670b46cbae51
+DIST supertux-0.3.3.tar.bz2 58636270 RMD160 8e10125f687980cae17d7d8c9dfdc9a4dc10a58d SHA1 f89214fd5d997b62753fbba7e1d089d81513f2de SHA256 fceaf95251092d5698211ff0f51f1c50237fa5e2a6690464e9835a66e18301d0
+EBUILD supertux-0.3.3.ebuild 885 RMD160 ae6b41cae33cb9c0384a58da8b028d7a45ae714d SHA1 8f873d32c5b941d7657b88515292646fee1aa31a SHA256 5bebeb3917c7741abef1d212feae015755766e5460c40f16d8a7ad5390cafe57
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk4HRaEACgkQmWq1bYTyC0PXBgD/eoYMFZPw9jLD/qJBoNiMrsoE
+5BBft5hGzOAIdBRBgGABAJQHKKeg2PB40inD787Q3Po5WfN//az3uGLLkA7IH0Tj
+=cxYO
+-----END PGP SIGNATURE-----
diff --git a/games-arcade/supertux/files/supertux-0.3.3-desktop.patch b/games-arcade/supertux/files/supertux-0.3.3-desktop.patch
new file mode 100644
index 0000000..89a45f9
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.3.3-desktop.patch
@@ -0,0 +1,21 @@
+diff --git a/supertux2.desktop b/supertux2.desktop
+index 7261994..eb472c7 100644
+--- a/supertux2.desktop
++++ b/supertux2.desktop
+@@ -1,7 +1,6 @@
+ [Desktop Entry]
+ Type=Application
+ Version=1.0
+-Encoding=UTF-8
+ Name=SuperTux 2
+ Name[en]=SuperTux 2
+ GenericName=Platform Game
+@@ -35,7 +34,7 @@ Comment[nn]=Eit klassisk todimensjonalt plattformspel.
+ Comment[sv]=Ett klassiskt tvådimensionellt plattformsspel
+ Comment[pt_BR]=Encarne o pinguin Tux neste jogo inspirado em clássicos de Pular&Correr
+ Comment[hu]=Egy klasszikus 2D-s oldalnézeti játék
+-Icon=supertux.png
++Icon=supertux
+ Exec=supertux2
+ Terminal=false
+ StartupNotify=false
diff --git a/games-arcade/supertux/files/supertux-0.3.3-gcc46.patch b/games-arcade/supertux/files/supertux-0.3.3-gcc46.patch
new file mode 100644
index 0000000..c151e9d
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.3.3-gcc46.patch
@@ -0,0 +1,12 @@
+diff --git a/src/supertux/screen_manager.hpp b/src/supertux/screen_manager.hpp
+index 0751365..4c2a733 100644
+--- a/src/supertux/screen_manager.hpp
++++ b/src/supertux/screen_manager.hpp
+@@ -17,6 +17,7 @@
+ #ifndef HEADER_SUPERTUX_SUPERTUX_MAINLOOP_HPP
+ #define HEADER_SUPERTUX_SUPERTUX_MAINLOOP_HPP
+
++#include <cstddef>
+ #include <memory>
+
+ #include "scripting/thread_queue.hpp"
diff --git a/games-arcade/supertux/metadata.xml b/games-arcade/supertux/metadata.xml
new file mode 100644
index 0000000..d3c2cc9
--- /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.3.3.ebuild b/games-arcade/supertux/supertux-0.3.3.ebuild
new file mode 100644
index 0000000..78b5376
--- /dev/null
+++ b/games-arcade/supertux/supertux-0.3.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertux/supertux-0.1.3.ebuild,v 1.16 2011/04/06 21:50:56 mr_bones_ Exp $
+
+EAPI=3
+inherit games cmake-utils
+
+DESCRIPTION="A game similar to Super Mario Bros."
+HOMEPAGE="http://super-tux.sourceforge.net"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+# TODO: opengl/glew optional
+RDEPEND="dev-games/physfs
+ dev-libs/boost
+ media-libs/glew
+ media-libs/libogg
+ media-libs/libsdl
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-image
+ net-misc/curl"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc46.patch
+ "${FILESDIR}"/${P}-desktop.patch
+ )
+
+DOCS=( README WHATSNEW.txt )
+
+src_install() {
+ cmake-utils_src_install
+ prepgamesdirs
+}