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/openmortal
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/openmortal')
-rw-r--r--games-arcade/openmortal/Manifest1
-rw-r--r--games-arcade/openmortal/files/openmortal-0.7-freetype.patch15
-rw-r--r--games-arcade/openmortal/files/openmortal-0.7-gcc41.patch11
-rw-r--r--games-arcade/openmortal/metadata.xml8
-rw-r--r--games-arcade/openmortal/openmortal-0.7-r1.ebuild40
5 files changed, 75 insertions, 0 deletions
diff --git a/games-arcade/openmortal/Manifest b/games-arcade/openmortal/Manifest
new file mode 100644
index 000000000000..5dbf862b3c8a
--- /dev/null
+++ b/games-arcade/openmortal/Manifest
@@ -0,0 +1 @@
+DIST openmortal-0.7.tar.bz2 51197736 SHA256 9c302560d71ddcd3473ba2a1022fd118cbce87a4cd4b3080cb46288a410bb710 SHA512 8af0b64a3d894dfdbdddafdbdc4c853dc2bfc9b52fd507db2818e67af5ad6cdbbb45f2e42e32103e841759225b1b8c4f33ac5a8ad70e4763698c54803fb81fce WHIRLPOOL caaad653fda58fb5ee741ab06042a5c6c94bb14414202515085ddc4a821948734cdabebb38f0a98e00f3b9ce19cb0e1761656843061a244334199fb62e400bc4
diff --git a/games-arcade/openmortal/files/openmortal-0.7-freetype.patch b/games-arcade/openmortal/files/openmortal-0.7-freetype.patch
new file mode 100644
index 000000000000..4000ca30f9b8
--- /dev/null
+++ b/games-arcade/openmortal/files/openmortal-0.7-freetype.patch
@@ -0,0 +1,15 @@
+--- openmortal-0.7/src/sge_tt_text.cpp.old 2014-04-04 21:35:37.275483286 +0300
++++ openmortal-0.7/src/sge_tt_text.cpp 2014-04-04 21:36:08.065359870 +0300
+@@ -37,9 +37,9 @@
+
+ #ifndef _SGE_NOTTF
+ #include <ft2build.h>
+-#include <freetype/freetype.h>
+-#include <freetype/ftoutln.h>
+-#include <freetype/ttnameid.h>
++#include <freetype.h>
++#include <ftoutln.h>
++#include <ttnameid.h>
+
+ /* The structure used to hold glyph information (cached) */
+ struct glyph {
diff --git a/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch b/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch
new file mode 100644
index 000000000000..fdba61c6b008
--- /dev/null
+++ b/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch
@@ -0,0 +1,11 @@
+--- src/OnlineChat.cpp.old 2006-01-28 14:34:42.000000000 -0700
++++ src/OnlineChat.cpp 2006-01-28 14:34:53.000000000 -0700
+@@ -56,7 +56,7 @@
+ class CChallengeMenu: public Menu
+ {
+ public:
+- CChallengeMenu::CChallengeMenu( std::string a_sChallenger )
++ CChallengeMenu( std::string a_sChallenger )
+ : Menu( "You have been challenged!" ),
+ m_sChallenger( a_sChallenger )
+ {
diff --git a/games-arcade/openmortal/metadata.xml b/games-arcade/openmortal/metadata.xml
new file mode 100644
index 000000000000..663665f4c371
--- /dev/null
+++ b/games-arcade/openmortal/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">openmortal</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-arcade/openmortal/openmortal-0.7-r1.ebuild b/games-arcade/openmortal/openmortal-0.7-r1.ebuild
new file mode 100644
index 000000000000..c24d9f4a932b
--- /dev/null
+++ b/games-arcade/openmortal/openmortal-0.7-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="A spoof of the famous Mortal Kombat game"
+HOMEPAGE="http://openmortal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf
+ media-libs/sdl-net
+ >=media-libs/freetype-2.4.0
+ dev-lang/perl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${P}"-gcc41.patch \
+ "${FILESDIR}/${P}"-freetype.patch
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ newicon data/gfx/icon.png ${PN}.png
+ make_desktop_entry ${PN} OpenMortal
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}