summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-09-02 21:50:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-09-02 21:50:25 +0000
commitb8c5088b4cce416e86be3613bb29905d4a5021df (patch)
tree9bcd1194b916da16305284b3adefee727d38a06b /games-arcade/openmortal
parentFix circular dependency, bug 521794 (diff)
downloadgentoo-2-b8c5088b4cce416e86be3613bb29905d4a5021df.tar.gz
gentoo-2-b8c5088b4cce416e86be3613bb29905d4a5021df.tar.bz2
gentoo-2-b8c5088b4cce416e86be3613bb29905d4a5021df.zip
add freetype patch from Andrei Slavoiu (bug #506762); EAPI=5
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-arcade/openmortal')
-rw-r--r--games-arcade/openmortal/ChangeLog10
-rw-r--r--games-arcade/openmortal/files/openmortal-0.7-freetype.patch15
-rw-r--r--games-arcade/openmortal/openmortal-0.7-r1.ebuild40
3 files changed, 63 insertions, 2 deletions
diff --git a/games-arcade/openmortal/ChangeLog b/games-arcade/openmortal/ChangeLog
index eec8b5221439..cdb69a0393e2 100644
--- a/games-arcade/openmortal/ChangeLog
+++ b/games-arcade/openmortal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/openmortal
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/openmortal/ChangeLog,v 1.15 2007/02/07 06:40:28 nyhm Exp $
+# Copyright 2000-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/openmortal/ChangeLog,v 1.16 2014/09/02 21:50:25 mr_bones_ Exp $
+
+*openmortal-0.7-r1 (02 Sep 2014)
+
+ 02 Sep 2014; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/openmortal-0.7-freetype.patch, +openmortal-0.7-r1.ebuild:
+ add freetype patch from Andrei Slavoiu (bug #506762); EAPI=5
07 Feb 2007; Tristan Heaven <nyhm@gentoo.org> openmortal-0.7.ebuild:
Install menu entry, bug #160239
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/openmortal-0.7-r1.ebuild b/games-arcade/openmortal/openmortal-0.7-r1.ebuild
new file mode 100644
index 000000000000..dd0076cc97a1
--- /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
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/openmortal/openmortal-0.7-r1.ebuild,v 1.1 2014/09/02 21:50:25 mr_bones_ Exp $
+
+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
+}